Function at 0x140005880
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, [0x140057a55]
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.140005310
cmp qword [rsp + 0x198], rax
jbe 0x14000590e
call fcn.140001560
cmp qword [rsp + 0x198], 8
jb 0x140005adf
mov rcx, qword [rsp + 0x180]
call fcn.140005310
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.140005700
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
inc rax
mov rdx, rax
mov rcx, qword [rsp + 0xb0]
call fcn.140005400
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 0x1400059dc
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 0x140005a19
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 0x140005adf
mov qword [rsp + 0x40], 0
jmp 0x140005a6e
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 0x140005adf
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 0x140005a61
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x68], rax
jmp 0x140005b01
mov rax, qword [rsp + 0x188]
inc rax
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x190]
cmp qword [rsp + 0x188], rax
je 0x140005c40
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x18], 8
jb 0x140005b3a
mov dword [rsp + 0x38], 1
jmp 0x140005b42
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x140005b74
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 0x140005c19
mov byte [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x140005c0a
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 0x140005c17
mov rax, qword [rsp + 0x58]
movzx ecx, word [rsp + 0x28]
mov word [rax], cx
jmp 0x140005c26
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 0x140005aee
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x18], 8
jb 0x140005c63
mov dword [rsp + 0x3c], 1
jmp 0x140005c6b
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x25], al
movzx eax, byte [rsp + 0x25]
test eax, eax
je 0x140005c9d
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 0x140005d38
mov byte [rsp + 0x27], 0
movzx eax, byte [rsp + 0x27]
test eax, eax
je 0x140005d29
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 0x140005d36
mov rax, qword [rsp + 0x60]
movzx ecx, word [rsp + 0x2a]
mov word [rax], cx
jmp 0x140005d45
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 0x140005d60
mov rcx, qword [rsp + 0x68]
call fcn.140002410
add rsp, 0x170
pop rdi
ret