Function at 0x140031c70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x118
cmp qword [rsp + 0x120], 0
je 0x140031c97
cmp qword [rsp + 0x128], 0
jne 0x140031c9e
xor eax, eax
jmp 0x140031f66
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x120]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x8c]
mov dword [rsp + 0x100], eax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x100], 0
jne 0x140031cf7
xor eax, eax
jmp 0x140031f66
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x88], 0
jne 0x140031d0c
xor eax, eax
jmp 0x140031f66
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x88]
add rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x20], 0
je 0x140031d42
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x24], 0
je 0x140031d42
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x1c], 0
jne 0x140031d49
xor eax, eax
jmp 0x140031f66
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x18], 0
jne 0x140031da3
xor eax, eax
jmp 0x140031f66
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x3c], 0
jmp 0x140031dc4
mov eax, dword [rsp + 0x3c]
add eax, 1
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x3c], eax
jae 0x140031e16
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x128]
call fcn.14002e660
test eax, eax
jne 0x140031e14
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x68]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x48]
add eax, dword [rcx + 0x10]
mov dword [rsp + 0x38], eax
jmp 0x140031e16
jmp 0x140031db9
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x3c], eax
jne 0x140031e27
xor eax, eax
jmp 0x140031f66
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x10]
mov ecx, dword [rsp + 0x38]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x48]
cmp dword [rcx + 0x14], eax
ja 0x140031e48
xor eax, eax
jmp 0x140031f66
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x10]
mov ecx, dword [rsp + 0x38]
sub ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax*4]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140031e84
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0x30], rax
jb 0x140031f61
mov eax, dword [rsp + 0x100]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x30], rax
jae 0x140031f61
mov r8d, 0x64
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x80]
call fcn.14004d050
mov rcx, qword [rsp + 0x30]
call fcn.14004cd40
mov eax, eax
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax + 1]
mov qword [rsp + 0x60], rax
mov rax, qword [0x14005f008]
mov qword [rsp + 0x108], rax
lea rcx, [rsp + 0x80]
call qword [rsp + pe_nt_image_headers64]
mov qword [rsp + 0xf0], rax
cmp qword [rsp + 0xf0], 0
jne 0x140031f4a
mov rax, qword [0x14005f000]
mov qword [rsp + 0xf8], rax
lea rcx, [rsp + 0x80]
call qword [rsp + 0xf8]
mov qword [rsp + 0xf0], rax
cmp qword [rsp + 0xf0], 0
jne 0x140031f4a
xor eax, eax
jmp 0x140031f66
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xf0]
call fcn.140031c70
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
add rsp, 0x118
ret