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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 8]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x38], 0
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov ecx, 8
imul rcx, rcx, 0
lea rax, [rax + rcx + 0x88]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp dword [rax + 4], 0
jne 0x140047a07
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140047c87
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x14], 0
jne 0x140047a3b
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140047c87
mov rax, qword [rsp + 0x98]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
test eax, eax
jne 0x140047aa3
mov rax, qword [rsp + 0x98]
and rax, 0xffff
movzx eax, ax
mov rcx, qword [rsp + 0x30]
cmp eax, dword [rcx + 0x10]
jae 0x140047a81
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140047c87
mov rax, qword [rsp + 0x98]
and rax, 0xffff
movzx eax, ax
mov rcx, qword [rsp + 0x30]
sub eax, dword [rcx + 0x10]
mov dword [rsp + 0x38], eax
jmp 0x140047c40
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x18], 0
jne 0x140047ac5
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140047c87
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x50], 0
jne 0x140047be4
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
imul rax, rax, 0x10
mov rcx, rax
call fcn.14023f00c
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x50], rcx
cmp qword [rsp + 0x40], 0
jne 0x140047b46
mov ecx, 0xe
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140047c87
mov dword [rsp + 0x3c], 0
jmp 0x140047b84
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x58]
add rax, 4
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x60]
add rax, 2
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x40]
add rax, 0x10
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x3c], eax
jae 0x140047bbf
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x40]
mov qword [rcx], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
movzx ecx, word [rcx]
mov word [rax + 8], cx
jmp 0x140047b50
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
lea r9, [0x14004795c]
mov r8d, 0x10
mov edx, eax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x50]
call fcn.14023f240
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
lea rcx, [0x14004795c]
mov qword [rsp + 0x20], rcx
mov r9d, 0x10
mov r8d, eax
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax + 0x50]
lea rcx, [rsp + 0x98]
call fcn.14023f574
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x140047c33
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140047c87
mov rax, qword [rsp + 0x70]
movzx eax, word [rax + 8]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x38], eax
jbe 0x140047c5d
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140047c87
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x38]
shl ecx, 2
mov ecx, ecx
mov eax, dword [rax + rcx]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
add rsp, 0x88
ret