Function at 0x140031700
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x140076100]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rax, qword gs:[0x58]
movabs rsi, 0x7047d9d265f8de43
mov ebx, 4
mov edi, 1
movabs r14, 0x8abf8c1ff7c0e9b4
add rbx, qword [rax]
mov eax, dword [rbx]
cmp dword [0x140079774], eax
jle 0x1400317cc
lea rcx, [0x140079774]
call fcn.1400385d8
cmp dword [0x140079774], 0xffffffff
jne 0x1400317cc
movabs rax, 0x1c29abb91697aa2d
mov qword [rbp + 0x37], rsi
mov qword [rbp - 0x49], rax
lea rcx, [rbp - 0x49]
movabs rax, 0x8abf8c1f92b88c9a
mov qword [rbp + 0x3f], r14
mov qword [rbp - 0x41], rax
mov r8d, edi
movdqa xmm0, xmmword [rbp - 0x49]
xor edx, edx
xorps xmm0, xmmword [rbp + 0x37]
movdqa xmmword [rbp - 0x49], xmm0
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
lea rcx, [0x140079774]
mov qword [0x140079690], rax
call fcn.14003856c
mov eax, dword [rbx]
cmp dword [0x1400796c0], eax
jle 0x140031805
lea rcx, [0x1400796c0]
call fcn.1400385d8
cmp dword [0x1400796c0], 0xffffffff
jne 0x140031805
mov rax, qword [0x140079690]
lea rcx, [0x1400796c0]
mov qword [0x140079730], rax
call fcn.14003856c
mov rax, qword [0x140079730]
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140031ac4
mov eax, dword [rbx]
cmp dword [0x140079578], eax
jle 0x14003185e
lea rcx, [0x140079578]
call fcn.1400385d8
cmp dword [0x140079578], 0xffffffff
jne 0x14003185e
mov rax, qword [0x140079730]
lea rcx, [0x140079578]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x140079690]
mov qword [0x1400796d8], rdx
call fcn.14003856c
mov rax, qword [0x1400796d8]
cmp dword [rax], 0x4550
jne 0x140031ac4
mov eax, dword [rbx]
cmp dword [0x1400795f8], eax
jle 0x1400318b0
lea rcx, [0x1400795f8]
call fcn.1400385d8
cmp dword [0x1400795f8], 0xffffffff
jne 0x1400318b0
mov rax, qword [0x1400796d8]
lea rcx, [0x1400795f8]
add rax, 0x108
mov qword [0x140079540], rax
call fcn.14003856c
mov eax, dword [rbx]
cmp dword [0x1400797a4], eax
jle 0x1400318e9
lea rcx, [0x1400797a4]
call fcn.1400385d8
cmp dword [0x1400797a4], 0xffffffff
jne 0x1400318e9
mov rax, qword [0x140079540]
lea rcx, [0x1400797a4]
mov qword [0x1400796c8], rax
call fcn.14003856c
mov eax, dword [rbx]
cmp dword [0x14007968c], eax
jle 0x140031926
lea rcx, [0x14007968c]
call fcn.1400385d8
cmp dword [0x14007968c], 0xffffffff
jne 0x140031926
mov rax, qword [0x1400796d8]
lea rcx, [0x14007968c]
movzx edx, word [rax + 6]
mov word [0x140079588], dx
call fcn.14003856c
xchg byte [0x1400794d8], dil
mov r8, qword [0x140079540]
test dil, dil
jne 0x1400319b7
movzx eax, word [0x140079588]
lea rcx, [rax + rax*4]
mov rax, qword [0x1400796c8]
lea r10, [rax + rcx*8]
cmp r8, r10
jae 0x1400319b7
mov qword [rbp + 0x37], rsi
movabs r11, 0x7047d9d220bf9f13
mov qword [rbp + 0x3f], r14
movdqa xmm1, xmmword [rbp + 0x37]
nop
mov qword [rbp - 0x39], r11
lea r9, [rbp - 0x39]
mov qword [rbp - 0x31], r14
mov rax, r8
movdqa xmm0, xmmword [rbp - 0x39]
sub r9, r8
xorps xmm0, xmm1
movdqa xmmword [rbp - 0x39], xmm0
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r9]
sub edx, ecx
jne 0x1400319a3
inc rax
test ecx, ecx
jne 0x140031990
test edx, edx
je 0x1400319b7
add r8, 0x28
mov qword [0x140079540], r8
cmp r8, r10
jb 0x140031970
mov eax, dword [rbx]
cmp dword [0x140079808], eax
jle 0x140031a01
lea rcx, [0x140079808]
call fcn.1400385d8
cmp dword [0x140079808], 0xffffffff
jne 0x1400319fa
mov rax, qword [0x140079540]
lea rcx, [0x140079808]
mov edx, dword [rax + 0xc]
add rdx, qword [0x140079690]
mov qword [0x1400797b8], rdx
call fcn.14003856c
mov r8, qword [0x140079540]
mov ecx, dword [r8 + 0x10]
movdqa xmm0, xmmword [0x14006e290]
movdqa xmm1, xmmword [0x14006e2c0]
mov r9, qword [0x1400797b8]
movdqu xmmword [rbp - 0x29], xmm0
movdqa xmm0, xmmword [0x14006e2a0]
movdqu xmmword [rbp - 9], xmm0
movdqa xmm0, xmmword [0x14006e280]
lea r10, [r9 + rcx]
movdqu xmmword [rbp - 0x19], xmm1
mov rax, r10
movdqa xmm1, xmmword [0x14006e2b0]
movdqu xmmword [rbp + 0x17], xmm0
movdqu xmmword [rbp + 7], xmm1
mov dword [rbp + 0x27], 0x788b784c
mov dword [rbp + 0x2b], 0x78243f00
cmp rcx, 0x2c
jb 0x140031aa9
lea r11, [r10 - 0x2c]
nop dword [rax]
mov rdx, r9
lea rax, [rbp - 0x29]
nop word [rax + rax]
movzx r8d, word [rax]
movzx ecx, r8w
shr cx, 8
cmp cl, 0x3f
je 0x140031a96
cmp byte [rdx], r8b
jne 0x140031ab7
inc rdx
lea rcx, [rbp + 0x2f]
add rax, 2
cmp rax, rcx
jne 0x140031a80
mov rax, r9
xor ecx, ecx
cmp rax, r10
cmovne rcx, rax
mov rax, rcx
jmp 0x140031ac6
mov rax, r10
cmp r9, r11
je 0x140031aa9
inc r9
jmp 0x140031a70
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400384a0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret