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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x198
mov qword [rsp + 0x38], 0
cmp qword [rsp + 0x1a0], 0
je 0x140059795
cmp qword [rsp + 0x1b0], 0
jne 0x14005979c
xor eax, eax
jmp 0x1400599dc
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x1a0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
add rax, 0x88
mov qword [rsp + 0x40], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x1400597f8
xor eax, eax
jmp 0x1400599dc
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x1a0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140059829
xor eax, eax
jmp 0x1400599dc
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x1a0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x1a0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x1a0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x1a0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x24], 0
jmp 0x1400598a9
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x1400598d7
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
or eax, 0x20
mov ecx, dword [rsp + 0x24]
mov byte [rsp + rcx + 0x80], al
jmp 0x14005989f
mov eax, dword [rsp + 0x24]
mov byte [rsp + rax + 0x80], 0
cmp qword [rsp + 0x1a8], 0
je 0x14005990e
mov rdx, qword [rsp + 0x1a8]
lea rcx, [rsp + 0x80]
call fcn.140059060
test eax, eax
je 0x14005990e
xor eax, eax
jmp 0x1400599dc
mov eax, dword [rsp + 0x20]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x1a0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x20]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x58]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x1a0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x38], rax
jb 0x14005998f
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax + 4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x38], rax
jae 0x14005998f
jmp 0x1400599c5
mov rdx, qword [rsp + 0x1a8]
lea rcx, [rsp + 0x80]
call fcn.140059060
test eax, eax
jne 0x1400599c5
mov rdx, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x70]
call fcn.140059060
test eax, eax
jne 0x1400599c5
mov rax, qword [rsp + 0x38]
jmp 0x1400599dc
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x14005990e
xor eax, eax
add rsp, 0x198
ret