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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1c8
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x200]
test eax, eax
je 0x140059dd0
cmp qword [rsp + 0x1f0], 0
je 0x140059dd0
lea rdx, [rsp + 0x1f0]
mov rcx, qword [rsp + 0x1d0]
call fcn.14005e940
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jge 0x140059dd0
mov eax, dword [rsp + 0x24]
jmp 0x14005a39f
mov rax, qword [rsp + 0x1d0]
add rax, 0x18
mov qword [rsp + 0x60], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x1d8]
lea rcx, [rsp + 0x140]
call fcn.14005cfc0
lea r8, [rsp + 0x140]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
call fcn.14005c920
mov rax, qword [rsp + 0x1d0]
add rax, 0x18
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x68]
call fcn.14005c9c0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14005c810
movzx eax, al
test eax, eax
je 0x140059f8f
movzx eax, byte [rsp + 0x200]
test eax, eax
je 0x140059e80
lea rdx, [rsp + 0x1d8]
mov rcx, qword [rsp + 0x1d0]
call fcn.14005e940
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jge 0x140059e80
mov eax, dword [rsp + 0x24]
jmp 0x14005a39f
mov rax, qword [rsp + 0x1d0]
mov eax, dword [rax + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x1d0]
mov ecx, dword [rsp + 0x3c]
mov dword [rax + 0x3c], ecx
mov rax, qword [rsp + 0x1d8]
mov qword [rsp + 0x70], rax
mov r8d, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x110]
call fcn.14005cfc0
cmp qword [rsp + 0x1f0], 0
je 0x140059ef5
cmp qword [rsp + 0x1e0], 0
je 0x140059ee5
cmp qword [rsp + 0x1e8], 0
jne 0x140059ef5
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x118], rax
lea rcx, [rsp + 0xf0]
call fcn.14005c890
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov r8, qword [rsp + 0x80]
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x170]
call fcn.14005eda0
nop
lea rcx, [rsp + 0xf0]
call fcn.14005c5f0
mov rax, qword [rsp + 0x1d0]
add rax, 0x18
mov qword [rsp + 0x88], rax
lea r8, [rsp + 0x170]
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0x88]
call fcn.14005ee00
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x170]
call fcn.14005c610
cmp qword [rsp + 0x1e0], 0
je 0x140059fa5
cmp qword [rsp + 0x1e8], 0
jne 0x140059fc9
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140059fb8
mov dword [rsp + 0x40], 2
jmp 0x140059fc0
mov dword [rsp + 0x40], 1
mov eax, dword [rsp + 0x40]
jmp 0x14005a39f
lea rcx, [rsp + 0x50]
call fcn.14005c6d0
add rax, 0x18
mov qword [rsp + 0x30], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x1e0]
lea rcx, [rsp + 0x158]
call fcn.14005cfc0
lea r8, [rsp + 0x158]
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
call fcn.14005c920
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x30]
call fcn.14005c9c0
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14005c810
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x1d0]
mov eax, dword [rax + 0x3c]
inc eax
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x1d0]
mov ecx, dword [rsp + 0x44]
mov dword [rax + 0x3c], ecx
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x38], eax
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x30]
call fcn.14005c9c0
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14005c7d0
movzx eax, al
test eax, eax
je 0x14005a1df
mov rax, qword [rsp + 0x1d0]
movzx eax, byte [rax + 0x39]
test eax, eax
je 0x14005a1df
movzx eax, byte [rsp + 0x1f8]
test eax, eax
je 0x14005a1df
mov qword [rsp + 0x58], 0
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x30]
call fcn.14005c9c0
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14005c7d0
movzx eax, al
test eax, eax
je 0x14005a166
lea rcx, [rsp + 0x28]
call fcn.14005c6d0
mov rax, qword [rax]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x98], rax
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x1d0]
call fcn.14005cf50
movzx eax, al
test eax, eax
jne 0x14005a166
lea rcx, [rsp + 0x28]
call fcn.14005c6d0
mov ecx, dword [rsp + 0x38]
cmp dword [rax + 0x10], ecx
jge 0x14005a157
lea rcx, [rsp + 0x28]
call fcn.14005c6d0
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x28]
call fcn.14005c6d0
mov rax, qword [rax + 8]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.14005c6b0
jmp 0x14005a0ad
cmp qword [rsp + 0x58], 0
je 0x14005a1a5
mov rdx, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x1d0]
call fcn.14005eab0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x1f0], rax
lea rdx, [rsp + 0x1f0]
mov rcx, qword [rsp + 0x1d0]
call fcn.14005e940
xor r9d, r9d
mov r8, qword [rsp + 0x1e0]
mov rdx, qword [rsp + 0x1d8]
mov rcx, qword [rsp + 0x1d0]
call fcn.14005e900
lea rdx, [rsp + 0xd0]
mov rcx, qword [rsp + 0x30]
call fcn.14005c9c0
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x1d0]
movzx eax, byte [rax + 0x39]
test eax, eax
je 0x14005a205
movzx eax, byte [rsp + 0x1f8]
test eax, eax
jne 0x14005a205
mov dword [rsp + 0x48], 1
jmp 0x14005a20d
mov dword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x48]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x200]
test eax, eax
je 0x14005a2a7
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x14005a255
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0x30]
call fcn.14005c9c0
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14005c810
movzx eax, al
test eax, eax
je 0x14005a27e
lea rdx, [rsp + 0x1e0]
mov rcx, qword [rsp + 0x1d0]
call fcn.14005e940
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jge 0x14005a27e
mov eax, dword [rsp + 0x24]
jmp 0x14005a39f
lea rdx, [rsp + 0x1e8]
mov rcx, qword [rsp + 0x1d0]
call fcn.14005e940
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jge 0x14005a2a7
mov eax, dword [rsp + 0x24]
jmp 0x14005a39f
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x30]
call fcn.14005c9c0
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14005c810
movzx eax, al
test eax, eax
jne 0x14005a2da
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14005a35a
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x1e0]
lea rcx, [rsp + 0x128]
call fcn.14005cfc0
cmp qword [rsp + 0x1f0], 0
je 0x14005a30f
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x130], rax
mov qword [rsp + 0xa0], 0
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x128]
lea rcx, [rsp + 0x198]
call fcn.14005ee40
lea r8, [rsp + 0x198]
lea rdx, [rsp + 0xe8]
mov rcx, qword [rsp + 0x30]
call fcn.14005ee90
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x28]
call fcn.14005c6d0
mov rcx, qword [rsp + 0xa8]
mov qword [rax + 0x18], rcx
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14005a393
mov dword [rsp + 0x4c], 2
jmp 0x14005a39b
mov dword [rsp + 0x4c], 1
mov eax, dword [rsp + 0x4c]
add rsp, 0x1c8
ret