Function at 0x140005960
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, [0x14005ca3b]
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.1400053f0
cmp qword [rsp + 0x198], rax
jbe 0x1400059ee
call fcn.140001560
cmp qword [rsp + 0x198], 8
jb 0x140005bbf
mov rcx, qword [rsp + 0x180]
call fcn.1400053f0
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.1400057e0
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
inc rax
mov rdx, rax
mov rcx, qword [rsp + 0xb0]
call fcn.1400054e0
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 0x140005abc
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 0x140005af9
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 0x140005bbf
mov qword [rsp + 0x40], 0
jmp 0x140005b4e
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 0x140005bbf
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 0x140005b41
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x68], rax
jmp 0x140005be1
mov rax, qword [rsp + 0x188]
inc rax
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x190]
cmp qword [rsp + 0x188], rax
je 0x140005d20
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x18], 8
jb 0x140005c1a
mov dword [rsp + 0x38], 1
jmp 0x140005c22
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x140005c54
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 0x140005cf9
mov byte [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x140005cea
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 0x140005cf7
mov rax, qword [rsp + 0x58]
movzx ecx, word [rsp + 0x28]
mov word [rax], cx
jmp 0x140005d06
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 0x140005bce
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x18], 8
jb 0x140005d43
mov dword [rsp + 0x3c], 1
jmp 0x140005d4b
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x25], al
movzx eax, byte [rsp + 0x25]
test eax, eax
je 0x140005d7d
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 0x140005e18
mov byte [rsp + 0x27], 0
movzx eax, byte [rsp + 0x27]
test eax, eax
je 0x140005e09
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 0x140005e16
mov rax, qword [rsp + 0x60]
movzx ecx, word [rsp + 0x2a]
mov word [rax], cx
jmp 0x140005e25
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 0x140005e40
mov rcx, qword [rsp + 0x68]
call fcn.1400025d0
add rsp, 0x170
pop rdi
ret