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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x58
cmp dword [rsp + 0x80], 0
jge 0x140003205
mov eax, 0xffffffff
jmp 0x140003630
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0xf4], 0
je 0x140003435
mov rax, qword [rsp + 0x70]
add rax, 0x88
mov rcx, qword [rsp + 0x70]
cmp rax, qword [rcx + 0x88]
je 0x140003424
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 0x140003424
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 0x14000328b
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x44], eax
jmp 0x140003293
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.140002590
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400032ca
mov eax, 0xfffffffe
jmp 0x140003630
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 rdi, rdx
mov rsi, rcx
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
cmp qword [rsp + 0x78], 0
je 0x14000337c
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 rdi, rcx
mov rsi, qword [rsp + 0x78]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
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 0x1400033b2
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
call fcn.1400025b4
cmp dword [rsp + 0x80], 0
jg 0x140003435
xor eax, eax
jmp 0x140003630
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 8]
cmp dword [rsp + 0x80], eax
jg 0x140003450
mov dword [rsp + 0x20], 1
jmp 0x140003471
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 0x140003485
mov eax, 0xfffffffe
jmp 0x140003630
cmp dword [rsp + 0x20], 0
jne 0x140003494
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x24], 0
jmp 0x1400034a8
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x24], eax
jge 0x14000362e
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 8]
cmp dword [rsp + 0x80], eax
jle 0x1400034d5
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 8]
mov dword [rsp + 0x48], eax
jmp 0x1400034e0
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x40], eax
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
call fcn.140002590
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14000350d
mov eax, 0xfffffffe
jmp 0x140003630
cmp qword [rsp + 0x78], 0
je 0x14000353a
cmp dword [rsp + 0x80], 0
jle 0x14000353a
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
add rcx, 0x40
mov rdi, rcx
mov rsi, qword [rsp + 0x78]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
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 0x140003568
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
dec eax
mov dword [rsp + 0x4c], eax
jmp 0x140003570
mov dword [rsp + 0x4c], 0
mov rax, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x4c]
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 0x140003613
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 0x14000349e
xor eax, eax
add rsp, 0x58
pop rdi
pop rsi
ret