Function at 0x140005cd0
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
push rdi
sub rsp, 0x170
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xb0], rax
lea rax, [0x140068df2]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x10], 0
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x18], 7
mov rcx, qword [rsp + 0x180]
call fcn.140005710
cmp qword [rsp + 0x198], rax
jbe 0x140005d5e
call fcn.1400015a0
cmp qword [rsp + 0x198], 8
jb 0x140005f2f
mov rcx, qword [rsp + 0x180]
call fcn.140005710
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x180]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xa8], rax
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x198]
call fcn.140005b50
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
inc rax
mov rdx, rax
mov rcx, qword [rsp + 0xb0]
call fcn.140005850
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140005e2c
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x48]
mov qword [rax], rcx
jmp 0x140005e69
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x48]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xf0], rax
mov byte [rsp + 0x21], 0
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x140005f2f
mov qword [rsp + 0x40], 0
jmp 0x140005ebe
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x50]
inc rax
cmp qword [rsp + 0x40], rax
jae 0x140005f2f
mov qword [rsp + 0x80], 2
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x40]
lea rax, [rax + rcx*2]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xf8], rax
mov rdi, qword [rsp + 0xf8]
xor eax, eax
mov rcx, qword [rsp + 0x80]
rep stosb byte [rdi], al
jmp 0x140005eb1
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x68], rax
jmp 0x140005f51
mov rax, qword [rsp + 0x188]
inc rax
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x190]
cmp qword [rsp + 0x188], rax
je 0x140006090
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x18], 8
jb 0x140005f8a
mov dword [rsp + 0x38], 1
jmp 0x140005f92
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x140005fc4
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x188]
movsx ax, byte [rax]
mov word [rsp + 0x28], ax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x108]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x23], 0
movzx eax, byte [rsp + 0x23]
test eax, eax
je 0x140006069
mov byte [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x14000605a
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
movzx ecx, word [rsp + 0x28]
mov word [rax], cx
jmp 0x140006067
mov rax, qword [rsp + 0x58]
movzx ecx, word [rsp + 0x28]
mov word [rax], cx
jmp 0x140006076
mov rax, qword [rsp + 0x58]
movzx ecx, word [rsp + 0x28]
mov word [rax], cx
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x10]
inc rax
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x10], rax
jmp 0x140005f3e
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x18], 8
jb 0x1400060b3
mov dword [rsp + 0x3c], 1
jmp 0x1400060bb
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x25], al
movzx eax, byte [rsp + 0x25]
test eax, eax
je 0x1400060ed
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x130], rax
xor eax, eax
mov word [rsp + 0x2a], ax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x130]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x26], 0
movzx eax, byte [rsp + 0x26]
test eax, eax
je 0x140006188
mov byte [rsp + 0x27], 0
movzx eax, byte [rsp + 0x27]
test eax, eax
je 0x140006179
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
movzx ecx, word [rsp + 0x2a]
mov word [rax], cx
jmp 0x140006186
mov rax, qword [rsp + 0x60]
movzx ecx, word [rsp + 0x2a]
mov word [rax], cx
jmp 0x140006195
mov rax, qword [rsp + 0x60]
movzx ecx, word [rsp + 0x2a]
mov word [rax], cx
mov qword [rsp + 0x68], 0
cmp qword [rsp + 0x68], 0
je 0x1400061b0
mov rcx, qword [rsp + 0x68]
call fcn.140002770
add rsp, 0x170
pop rdi
ret