Function at 0x140099380
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, 0x148
mov rax, qword [rsp + 0x150]
add rax, 0xb8
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x150]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 4]
mov ecx, 1
mov dword [rsp + 0xc8], ecx
movzx ecx, al
mov eax, dword [rsp + 0xc8]
shl eax, cl
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
dec eax
mov dword [rsp + 0xac], eax
mov rax, qword [rsp + 0x150]
mov rax, qword [rax + 8]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x150]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x150]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0xe0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x110], rax
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0xf0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x158]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x90]
mov eax, dword [rax]
mov ecx, 1
mov dword [rsp + 0xcc], ecx
movzx ecx, al
mov eax, dword [rsp + 0xcc]
shl eax, cl
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x150]
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x38]
sub ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x60]
jbe 0x1400994d7
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x38]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x64], eax
jmp 0x1400994df
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0xd4], eax
mov rax, qword [rsp + 0x150]
cmp dword [rax + 0x20], 0
je 0x140099502
mov dword [rsp + 0x68], 1
jmp 0x14009950a
mov dword [rsp + 0x68], 0
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0xd0], eax
cmp dword [rsp + 0xd0], 0
je 0x140099529
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x6c], eax
jmp 0x140099534
mov eax, dword [rsp + 0xd4]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0xa0], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x38], eax
jbe 0x14009955b
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x38]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x70], eax
jmp 0x140099563
mov dword [rsp + 0x70], 0
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0xa8], eax
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0xc]
mov ecx, 1
mov dword [rsp + 0xd8], ecx
movzx ecx, al
mov eax, dword [rsp + 0xd8]
shl eax, cl
mov dword [rsp + 0x34], eax
mov qword [rsp + 0x58], 3
mov r9d, dword [rsp + 0x170]
mov r8, qword [rsp + 0x158]
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x150]
call fcn.14009c6b0
mov dword [rsp + 0x30], eax
jmp 0x1400995d3
mov eax, dword [rsp + 0x34]
dec eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0x30], eax
jbe 0x1400995ea
mov dword [rsp + 0x78], 1
jmp 0x1400995f2
mov dword [rsp + 0x78], 0
cmp dword [rsp + 0x34], 0
jbe 0x140099603
mov dword [rsp + 0x74], 1
jmp 0x14009960b
mov dword [rsp + 0x74], 0
mov eax, dword [rsp + 0x74]
mov ecx, dword [rsp + 0x78]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x1400997d0
mov qword [rsp + 0x88], 0
cmp dword [rsp + 0x178], 1
jne 0x14009963f
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x30], eax
jb 0x1400996b3
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0xe0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xe8]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x158]
add rdx, rcx
mov rcx, rdx
movzx ecx, byte [rcx]
cmp eax, ecx
jne 0x1400996ae
mov r8, qword [rsp + 0x160]
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x158]
call fcn.140094760
mov qword [rsp + 0x88], rax
jmp 0x140099742
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0xf0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xf8], rax
mov rcx, qword [rsp + 0xf8]
call fcn.140090110
mov dword [rsp + 0xa4], eax
mov rcx, qword [rsp + 0x158]
call fcn.140090110
mov ecx, dword [rsp + 0xa4]
cmp ecx, eax
jne 0x140099742
mov rax, qword [rsp + 0xf8]
add rax, 4
mov rcx, qword [rsp + 0x158]
add rcx, 4
mov rdx, qword [rsp + 0x110]
mov qword [rsp + 0x20], rdx
mov r9, qword [rsp + 0x120]
mov r8, qword [rsp + 0x160]
mov rdx, rax
call fcn.140094990
add rax, 4
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x88], rax
jbe 0x14009979c
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x38]
sub ecx, eax
mov eax, ecx
add eax, 2
mov eax, eax
mov rcx, qword [rsp + 0x168]
mov qword [rcx], rax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x158]
add rcx, rax
mov rax, rcx
cmp rax, qword [rsp + 0x160]
jne 0x14009979c
jmp 0x1400997d0
mov eax, dword [rsp + 0xa8]
cmp dword [rsp + 0x30], eax
ja 0x1400997ab
jmp 0x1400997d0
mov eax, dword [rsp + 0xac]
mov ecx, dword [rsp + 0x30]
and ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x128]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x30], eax
jmp 0x1400995c9
cmp dword [rsp + 0x178], 2
jne 0x140099a91
mov rax, qword [rsp + 0x150]
mov rax, qword [rax + 0xb0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0xbc]
mov ecx, 1
mov dword [rsp + 0xb0], ecx
movzx ecx, al
mov eax, dword [rsp + 0xb0]
shl eax, cl
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
dec eax
mov dword [rsp + 0xc4], eax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0xb4], eax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 8]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x118]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x3c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0xbc], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x4c], eax
jbe 0x1400998b0
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x4c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x7c], eax
jmp 0x1400998b8
mov dword [rsp + 0x7c], 0
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0xc0], eax
mov r8d, dword [rsp + 0x170]
mov rax, qword [rsp + 0x50]
mov edx, dword [rax + 0xc0]
mov rcx, qword [rsp + 0x158]
call fcn.14009c5e0
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x30]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x30], eax
jmp 0x1400998ff
mov eax, dword [rsp + 0x34]
dec eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0xb4]
cmp dword [rsp + 0x30], eax
jbe 0x140099919
mov dword [rsp + 0x84], 1
jmp 0x140099924
mov dword [rsp + 0x84], 0
cmp dword [rsp + 0x34], 0
jbe 0x140099938
mov dword [rsp + 0x80], 1
jmp 0x140099943
mov dword [rsp + 0x80], 0
mov eax, dword [rsp + 0x80]
mov ecx, dword [rsp + 0x84]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x140099a91
mov qword [rsp + 0x98], 0
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x100]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x108], rax
mov rcx, qword [rsp + 0x108]
call fcn.140090110
mov dword [rsp + 0xb8], eax
mov rcx, qword [rsp + 0x158]
call fcn.140090110
mov ecx, dword [rsp + 0xb8]
cmp ecx, eax
jne 0x1400999f8
mov rax, qword [rsp + 0x108]
add rax, 4
mov rcx, qword [rsp + 0x158]
add rcx, 4
mov rdx, qword [rsp + 0x110]
mov qword [rsp + 0x20], rdx
mov r9, qword [rsp + 0x118]
mov r8, qword [rsp + 0x160]
mov rdx, rax
call fcn.140094990
add rax, 4
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x98], rax
jbe 0x140099a5d
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0xbc]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x38]
sub ecx, eax
mov eax, ecx
add eax, 2
mov eax, eax
mov rcx, qword [rsp + 0x168]
mov qword [rcx], rax
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x158]
add rcx, rax
mov rax, rcx
cmp rax, qword [rsp + 0x160]
jne 0x140099a5d
jmp 0x140099a91
mov eax, dword [rsp + 0xc0]
cmp dword [rsp + 0x30], eax
ja 0x140099a6c
jmp 0x140099a91
mov eax, dword [rsp + 0xc4]
mov ecx, dword [rsp + 0x30]
and ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x130]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x30], eax
jmp 0x1400998f5
mov rax, qword [rsp + 0x58]
add rsp, 0x148
ret