Function at 0x140029dd0
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov qword [rsp + 0x30], r8
mov rsi, rdx
mov rbx, rcx
mov rax, qword [0x140062030]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movzx edx, word [rcx]
cmp rdx, 0x20
jae 0x140029f1d
mov qword [rsp + 0x40], rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x58], 0
test rsi, rsi
je 0x140029f94
movzx eax, word [rsi]
cmp eax, 0x5a4d
jne 0x140029fa2
movsxd rax, dword [rsi + 0x3c]
lea r13, [rsi + rax]
mov qword [rsp + 0x48], r13
cmp dword [rsi + rax], 0x4550
jne 0x140029fa5
movzx eax, word [r13 + 0x18]
cmp eax, 0x20b
jne 0x140029fa5
mov eax, dword [r13 + 0x50]
cmp eax, 0x148
jb 0x140029fa5
lea ecx, [rax - 1]
lea rbp, [rsi + rcx]
mov qword [rsp + 0x50], rbp
mov r8d, dword [r13 + 0x84]
cmp r8d, 0x10
mov edx, 0x10
cmovb edx, r8d
cmp edx, 1
jbe 0x140029ea0
cmp dword [r13 + 0x90], eax
setae byte [rsp + 0x58]
mov qword [rsp + 0x38], 0
cmp dword [r13 + 0x58], 0
mov qword [rsp + 0x28], rbp
jne 0x140029fb5
cmp edx, 7
jb 0x140029ede
mov edx, dword [r13 + 0xb8]
cmp edx, ecx
ja 0x140029ede
mov edx, dword [rsi + rdx + 0x14]
cmp edx, ecx
ja 0x140029ede
cmp dword [rsi + rdx], 0x53445352
je 0x140029fb5
mov ecx, dword [r13 + 8]
cmp ecx, 0x57a725ab
jle 0x14002a384
cmp ecx, 0x57a725ac
je 0x14002a3a0
cmp ecx, 0x5a115d81
je 0x14002a3a8
cmp ecx, 0x5cff88b8
jne 0x140029fb5
mov r15d, 4
jmp 0x14002a3b3
mov ecx, edx
shr ecx, 1
mov rax, qword [rbx + 8]
movzx r8d, word [rax]
cmp r8w, 0x2e
jne 0x14002a114
xor r9d, r9d
inc r9d
cmp cx, r9w
jbe 0x14002a2dd
movzx r10d, r9w
cmp word [rax + r10*2], 0x2e
mov r11d, r9d
je 0x14002a281
movzx r11d, cx
neg r11d
movsxd rdi, r11d
add rdi, 2
mov r14, r10
lea r11, [r14 + 1]
lea ebp, [rdi + r14]
cmp bp, 1
je 0x14002a27c
cmp word [rax + r14*2 + 2], 0x2e
mov r14, r11
jne 0x140029f68
cmp r11, rcx
jb 0x14002a281
jmp 0x14002a2dd
mov qword [rsp + 0x38], 0
xor r13d, r13d
jmp 0x140029fae
xor r13d, r13d
mov qword [rsp + 0x38], 0
xor eax, eax
mov qword [rsp + 0x28], rax
mov r15d, 0x9f
xor r12d, r12d
lea r14, [0x140053840]
mov rdi, r15
sub rdi, r12
shr rdi, 1
lea rbp, [rdi + r12]
mov rdx, rbp
shl rdx, 5
add rdx, r14
mov rcx, rbx
mov r8b, 1
call sub.ntdll.dll_RtlCompareUnicodeString
test eax, eax
jle 0x140029ff3
add r12, rdi
inc r12
jmp 0x140029ff6
mov r15, rbp
cmp r15, r12
jne 0x140029fc5
cmp r15, 0x9e
ja 0x14002a04d
lea rdi, [r15 - 0x9f]
shl r15, 5
add r14, r15
lea r15, [rsp + 0x40]
lea r12, [rsp + 0x38]
mov rcx, rbx
mov rdx, r14
mov r8b, 1
call sub.ntdll.dll_RtlCompareUnicodeString
test eax, eax
jne 0x14002a04d
mov rcx, r14
mov rdx, r15
mov r8, r12
call fcn.14002ad50
test eax, eax
jne 0x14002a142
add r14, 0x20
inc rdi
jne 0x14002a01c
lea rcx, [0x140062d90]
lea rdx, [0x1400283d0]
xor r8d, r8d
xor r9d, r9d
call fcn.140051a60
mov rax, qword [0x140062d88]
test rax, rax
je 0x14002a084
cmp dword [rax], 2
jl 0x14002a084
xor r14d, r14d
cmp dword [rax + 0x28], 0
jne 0x14002a255
lea rcx, [0x140062d90]
lea rdx, [0x1400283d0]
xor r8d, r8d
xor r9d, r9d
call fcn.140051a60
mov r15, qword [0x140062d88]
test r15, r15
je 0x14002a252
cmp dword [r15], 2
jl 0x14002a252
mov r12d, dword [r15 + 0x30]
mov r14d, 0
test r12, r12
je 0x14002a255
xor edi, edi
mov rbp, r12
sub rbp, rdi
shr rbp, 1
add rbp, rdi
mov rax, rbp
shl rax, 5
lea r14, [r15 + rax]
add r14, 0x38
mov rcx, rbx
mov rdx, r14
mov r8b, 1
call sub.ntdll.dll_RtlCompareUnicodeString
test eax, eax
je 0x14002a236
js 0x14002a107
inc rbp
mov rdi, rbp
jmp 0x14002a10a
mov r12, rbp
cmp r12, rdi
jne 0x14002a0cc
jmp 0x14002a252
lea r10, [rcx - 1]
xor r11d, r11d
cmp r10, r11
je 0x14002a2dd
lea r9, [r11 + 1]
cmp word [rax + r11*2 + 2], 0x2e
mov r11, r9
jne 0x14002a11b
cmp r9, rcx
jb 0x140029f37
jmp 0x14002a2dd
mov ebp, eax
mov r15, qword [rsp + 0x38]
lea rcx, [0x140062d58]
call sub.ntdll.dll_RtlAcquireSRWLockExclusive
mov rbx, qword [0x140062d50]
test rbx, rbx
je 0x14002a18b
mov rcx, rbx
mov rdx, r14
mov r8b, 1
call sub.ntdll.dll_RtlEqualUnicodeString
test al, al
je 0x14002a179
cmp qword [rbx + 0x10], r15
je 0x14002a1cb
mov rbx, qword [rbx + 0x18]
test rbx, rbx
jne 0x14002a161
mov rdi, qword [0x140062d50]
jmp 0x14002a18d
xor edi, edi
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rcx, qword [rax + 0x30]
test rcx, rcx
je 0x14002a1cb
mov r8d, 0x20
xor edx, edx
call sub.ntdll.dll_RtlAllocateHeap
test rax, rax
je 0x14002a1cb
movups xmm0, xmmword [r14]
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], rdi
mov qword [0x140062d50], rax
lea rcx, [0x140062d58]
call sub.ntdll.dll_RtlReleaseSRWLockExclusive
cmp qword [rsp + 0x30], 0
je 0x14002a231
mov eax, dword [r14 + 0x18]
and eax, 8
je 0x14002a231
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov rax, qword [rax + 0x10]
lea rdi, [rsp + 0x70]
mov rcx, rdi
call qword [0x140068010]
mov eax, dword [rdi + 4]
mov dword [rsp + 0x68], eax
cmp qword [rsp + 0x28], 0
je 0x14002a231
mov eax, dword [r13 + 0x28]
add rsi, rax
lea rcx, [rsp + 0x60]
mov rdx, rsi
call fcn.14002a4a0
mov r14d, 4
test al, al
jne 0x14002a255
mov r14d, ebp
jmp 0x14002a255
lea rdx, [rsp + 0x40]
lea r8, [rsp + 0x38]
mov rcx, r14
call fcn.14002ad50
mov ebp, eax
test eax, eax
jne 0x14002a144
xor r14d, r14d
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14002ef70
mov eax, r14d
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp r11, rcx
jae 0x14002a2dd
movzx edi, r11w
sub edi, r10d
cmp edi, 0xc
jne 0x14002a2dd
sub r11d, r9d
mov r14d, 3
and r11d, 0x7fff
je 0x14002a255
lea r9, [rax + r10*2]
lea r10, [r9 + r11*2]
movabs r11, 0x3f0000003f
movzx edi, word [r9]
lea ebp, [rdi - 0x30]
cmp bp, 0xa
jb 0x14002a2cf
movzx edi, di
add edi, 0xffffffbf
cmp edi, 0x25
ja 0x14002a2dd
bt r11, rdi
jae 0x14002a2dd
add r9, 2
cmp r9, r10
jb 0x14002a2b1
jmp 0x14002a255
cmp dx, 0x28
jb 0x140029e0d
cmp r8w, 0x2e
je 0x140029e0d
lea r8, [rcx - 1]
xor r9d, r9d
cmp r8, r9
je 0x140029e0d
lea rdx, [r9 + 1]
cmp word [rax + r9*2 + 2], 0x2e
mov r9, rdx
jne 0x14002a2f9
cmp rdx, rcx
jae 0x140029e0d
cmp dx, 0x10
jb 0x140029e0d
mov r14d, 3
test edx, 0x7fff
je 0x14002a255
and edx, 0x7fff
lea rcx, [rax + rdx*2]
movabs rdx, 0x3f0000003f
movzx r8d, word [rax]
lea r9d, [r8 - 0x30]
cmp r9w, 0xa
jb 0x14002a376
movzx r8d, r8w
add r8d, 0xffffffbf
cmp r8d, 0x25
ja 0x140029e0d
bt rdx, r8
jae 0x140029e0d
add rax, 2
cmp rax, rcx
jb 0x14002a34b
jmp 0x14002a255
cmp ecx, 0x570b8a90
je 0x14002a3b0
cmp ecx, 0x572b4ce4
jne 0x140029fb5
mov r15d, 1
jmp 0x14002a3b3
mov r15d, 2
jmp 0x14002a3b3
mov r15d, 3
jmp 0x14002a3b3
xor r15d, r15d
shl r15, 4
lea r12, [0x1400537f0]
cmp dword [r15 + r12 + 0xc], eax
jne 0x140029fb5
lea rcx, [rsp + 0x40]
call fcn.14002abe0
test rax, rax
je 0x140029fb5
mov r14, rax
movzx edi, word [rax]
cmp di, 0x26
jb 0x140029fb5
movaps xmm0, xmmword [0x140054c50]
lea rdx, [rsp + 0x70]
movaps xmmword [rdx + 0x10], xmm0
movaps xmm0, xmmword [0x140054c40]
movaps xmmword [rdx], xmm0
mov rcx, r14
add rcx, 6
mov r8d, 0x10
call qword [sym.imp.ntdll.dll_RtlCompareMemory]
cmp rax, 0x10
jne 0x140029fb5
cmp word [r14 + 2], 0x34
jne 0x140029fb5
mov eax, 2
sub eax, r14d
and eax, 3
add rax, 0x26
cmp ax, di
jae 0x140029fb5
cmp dword [rax + r14], 0xfeef04bd
jne 0x140029fb5
add r12, r15
mov ecx, dword [r14 + rax + 8]
mov eax, dword [r14 + rax + 0xc]
shl rcx, 0x20
or rax, rcx
mov qword [rsp + 0x38], rax
mov r14d, 3
cmp qword [r12], rax
jne 0x140029fb5
jmp 0x14002a255