Function at 0x1402032f0
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, 0x70
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0xb0], 0
jne 0x14020332d
mov rax, 0xffffffffffffffb8
jmp 0x1402036f3
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
movzx eax, byte [rcx + rax]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0x80
jb 0x140203483
cmp qword [rsp + 0x30], 0xf2
jb 0x14020339c
lea rax, [0x14030bdb0]
mov rcx, qword [rsp + 0x30]
movsxd rax, dword [rax + rcx*4 - 0x3c8]
mov qword [rsp + 0x28], rax
mov rdi, qword [rsp + 0x80]
mov eax, 1
mov rcx, qword [rsp + 0x88]
rep stosb byte [rdi], al
mov qword [rsp + 0x30], 0
jmp 0x140203481
mov rax, qword [rsp + 0x30]
sub rax, 0x7f
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
inc rax
xor edx, edx
mov ecx, 2
div rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
inc rax
cmp rax, qword [rsp + 0xb0]
jbe 0x1402033df
mov rax, 0xffffffffffffffb8
jmp 0x1402036f3
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x28], rax
jb 0x1402033fa
mov rax, 0xffffffffffffffec
jmp 0x1402036f3
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 0
jmp 0x14020341c
mov eax, dword [rsp + 0x20]
add eax, 2
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp rax, qword [rsp + 0x28]
jae 0x140203481
xor edx, edx
mov eax, dword [rsp + 0x20]
mov ecx, 2
div ecx
mov eax, eax
mov rcx, qword [rsp + 0x48]
movzx eax, byte [rcx + rax]
sar eax, 4
mov ecx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x80]
mov byte [rdx + rcx], al
xor edx, edx
mov eax, dword [rsp + 0x20]
mov ecx, 2
div ecx
mov eax, eax
mov rcx, qword [rsp + 0x48]
movzx eax, byte [rcx + rax]
and eax, 0xf
mov ecx, dword [rsp + 0x20]
inc ecx
mov ecx, ecx
mov rdx, qword [rsp + 0x80]
mov byte [rdx + rcx], al
jmp 0x140203411
jmp 0x1402034e9
mov rax, qword [rsp + 0x30]
inc rax
cmp rax, qword [rsp + 0xb0]
jbe 0x1402034a1
mov rax, 0xffffffffffffffb8
jmp 0x1402036f3
mov rax, qword [rsp + 0x48]
inc rax
mov rcx, qword [rsp + 0x88]
dec rcx
mov r9, qword [rsp + 0x30]
mov r8, rax
mov rdx, rcx
mov rcx, qword [rsp + 0x80]
call fcn.140202af0
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call fcn.1401fd550
test eax, eax
je 0x1402034e9
mov rax, qword [rsp + 0x28]
jmp 0x1402036f3
mov rdi, qword [rsp + 0x90]
xor eax, eax
mov ecx, 0x44
rep stosb byte [rdi], al
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x20], 0
jmp 0x140203516
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp rax, qword [rsp + 0x28]
jae 0x1402035b3
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
cmp eax, 0x10
jl 0x140203546
mov rax, 0xffffffffffffffec
jmp 0x1402036f3
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx + rax*4]
inc eax
mov ecx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx]
mov rdx, qword [rsp + 0x90]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
mov ecx, 1
mov dword [rsp + 0x50], ecx
movzx ecx, al
mov eax, dword [rsp + 0x50]
shl eax, cl
sar eax, 1
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
jmp 0x14020350c
cmp dword [rsp + 0x24], 0
jne 0x1402035c6
mov rax, 0xffffffffffffffec
jmp 0x1402036f3
mov ecx, dword [rsp + 0x24]
call fcn.1401fc5f0
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x10
jbe 0x1402035e8
mov rax, 0xffffffffffffffec
jmp 0x1402036f3
mov eax, dword [rsp + 0x40]
mov ecx, 1
mov dword [rsp + 0x54], ecx
movzx ecx, al
mov eax, dword [rsp + 0x54]
shl eax, cl
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x58]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
mov ecx, dword [rsp + 0x38]
call fcn.1401fc5f0
mov ecx, 1
mov dword [rsp + 0x5c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x5c]
shl eax, cl
mov dword [rsp + 0x60], eax
mov ecx, dword [rsp + 0x38]
call fcn.1401fc5f0
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x60], eax
je 0x140203656
mov rax, 0xffffffffffffffec
jmp 0x1402036f3
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
movzx ecx, byte [rsp + 0x3c]
mov byte [rax], cl
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx + rax*4]
inc eax
mov ecx, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0x90]
mov dword [rdx + rcx*4], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x90]
cmp dword [rcx + rax], 2
jb 0x1402036c2
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
je 0x1402036cb
mov rax, 0xffffffffffffffec
jmp 0x1402036f3
mov rax, qword [rsp + 0x28]
inc rax
mov rcx, qword [rsp + 0x98]
mov dword [rcx], eax
mov rax, qword [rsp + 0xa0]
mov ecx, dword [rsp + 0x40]
mov dword [rax], ecx
mov rax, qword [rsp + 0x30]
inc rax
add rsp, 0x70
pop rdi
ret