Function at 0x140002e58
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
cmp dword [rsp + 0x80], 0
jge 0x140002e7f
mov eax, 0xffffffff
jmp 0x1400032b8
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0xf4], 0
je 0x1400030bd
mov rax, qword [rsp + 0x70]
add rax, 0x88
mov rcx, qword [rsp + 0x70]
cmp rax, qword [rcx + 0x88]
je 0x1400030ac
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x90]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx + 8]
cmp dword [rax + 0x2c], ecx
jae 0x1400030ac
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x2c]
mov eax, dword [rax + 8]
sub eax, ecx
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x80], eax
jge 0x140002f05
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x44], eax
jmp 0x140002f0d
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x2c]
add eax, dword [rsp + 0x38]
mov edx, eax
mov rcx, qword [rsp + 0x70]
call fcn.1400032c0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140002f44
mov eax, 0xfffffffe
jmp 0x1400032b8
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x90]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x70]
add rax, 0x88
mov rcx, qword [rsp + 0x28]
mov qword [rcx], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x90]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x90], rcx
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x2c]
mov rcx, qword [rsp + 0x30]
add rcx, 0x40
mov rdx, qword [rsp + 0x28]
add rdx, 0x40
mov qword [rsp + 0x48], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x48]
mov rcx, rax
call fcn.1401c1c40
cmp qword [rsp + 0x78], 0
je 0x140003004
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x2c]
mov rdx, qword [rsp + 0x28]
lea rcx, [rdx + rcx + 0x40]
mov r8, rax
mov rdx, qword [rsp + 0x78]
call fcn.1401c1c40
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x2c]
add eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 0x2c], eax
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x18], 0
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x80]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov qword [rax], 0
mov rax, qword [rsp + 0x30]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov qword [rax + 8], rcx
xor eax, eax
test eax, eax
jne 0x14000303a
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
call fcn.1400029b8
cmp dword [rsp + 0x80], 0
jg 0x1400030bd
xor eax, eax
jmp 0x1400032b8
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 8]
cmp dword [rsp + 0x80], eax
jg 0x1400030d8
mov dword [rsp + 0x20], 1
jmp 0x1400030f9
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 8]
mov ecx, dword [rsp + 0x80]
lea eax, [rcx + rax - 1]
xor edx, edx
mov rcx, qword [rsp + 0x70]
div dword [rcx + 8]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x80
jl 0x14000310d
mov eax, 0xfffffffe
jmp 0x1400032b8
cmp dword [rsp + 0x20], 0
jne 0x14000311c
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x24], 0
jmp 0x140003130
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x24], eax
jge 0x1400032b6
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 8]
cmp dword [rsp + 0x80], eax
jle 0x14000315d
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 8]
mov dword [rsp + 0x50], eax
jmp 0x140003168
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x40], eax
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
call fcn.1400032c0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140003195
mov eax, 0xfffffffe
jmp 0x1400032b8
cmp qword [rsp + 0x78], 0
je 0x1400031c2
cmp dword [rsp + 0x80], 0
jle 0x1400031c2
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
add rcx, 0x40
mov r8, rax
mov rdx, qword [rsp + 0x78]
call fcn.1401c1c40
mov rax, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x40]
mov dword [rax + 0x2c], ecx
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0xf4], 0
jne 0x1400031f0
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
dec eax
mov dword [rsp + 0x54], eax
jmp 0x1400031f8
mov dword [rsp + 0x54], 0
mov rax, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x54]
mov dword [rax + 0x18], ecx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x28]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x90]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x70]
add rax, 0x88
mov rcx, qword [rsp + 0x28]
mov qword [rcx], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x90]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x90], rcx
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x68]
inc eax
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0x68], eax
cmp qword [rsp + 0x78], 0
je 0x14000329b
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x80]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x80], eax
jmp 0x140003126
xor eax, eax
add rsp, 0x68
ret