Function at 0x140005950
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, [0x14005bbce]
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.1400053e0
cmp qword [rsp + 0x198], rax
jbe 0x1400059de
call fcn.140001560
cmp qword [rsp + 0x198], 8
jb 0x140005baf
mov rcx, qword [rsp + 0x180]
call fcn.1400053e0
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.1400057d0
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
inc rax
mov rdx, rax
mov rcx, qword [rsp + 0xb0]
call fcn.1400054d0
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 0x140005aac
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 0x140005ae9
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 0x140005baf
mov qword [rsp + 0x40], 0
jmp 0x140005b3e
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 0x140005baf
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 0x140005b31
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x68], rax
jmp 0x140005bd1
mov rax, qword [rsp + 0x188]
inc rax
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x190]
cmp qword [rsp + 0x188], rax
je 0x140005d10
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x18], 8
jb 0x140005c0a
mov dword [rsp + 0x38], 1
jmp 0x140005c12
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x140005c44
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 0x140005ce9
mov byte [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x140005cda
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 0x140005ce7
mov rax, qword [rsp + 0x58]
movzx ecx, word [rsp + 0x28]
mov word [rax], cx
jmp 0x140005cf6
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 0x140005bbe
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x18], 8
jb 0x140005d33
mov dword [rsp + 0x3c], 1
jmp 0x140005d3b
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x25], al
movzx eax, byte [rsp + 0x25]
test eax, eax
je 0x140005d6d
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 0x140005e08
mov byte [rsp + 0x27], 0
movzx eax, byte [rsp + 0x27]
test eax, eax
je 0x140005df9
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 0x140005e06
mov rax, qword [rsp + 0x60]
movzx ecx, word [rsp + 0x2a]
mov word [rax], cx
jmp 0x140005e15
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 0x140005e30
mov rcx, qword [rsp + 0x68]
call fcn.1400025c0
add rsp, 0x170
pop rdi
ret