Function at 0x140207370
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 0x1402073ad
mov rax, 0xffffffffffffffb8
jmp 0x140207773
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 0x140207503
cmp qword [rsp + 0x30], 0xf2
jb 0x14020741c
lea rax, [0x14030cde8]
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 0x140207501
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 0x14020745f
mov rax, 0xffffffffffffffb8
jmp 0x140207773
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x28], rax
jb 0x14020747a
mov rax, 0xffffffffffffffec
jmp 0x140207773
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 0
jmp 0x14020749c
mov eax, dword [rsp + 0x20]
add eax, 2
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp rax, qword [rsp + 0x28]
jae 0x140207501
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 0x140207491
jmp 0x140207569
mov rax, qword [rsp + 0x30]
inc rax
cmp rax, qword [rsp + 0xb0]
jbe 0x140207521
mov rax, 0xffffffffffffffb8
jmp 0x140207773
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.140204800
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call fcn.1401beea0
test eax, eax
je 0x140207569
mov rax, qword [rsp + 0x28]
jmp 0x140207773
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 0x140207596
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp rax, qword [rsp + 0x28]
jae 0x140207633
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
cmp eax, 0x10
jl 0x1402075c6
mov rax, 0xffffffffffffffec
jmp 0x140207773
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 0x14020758c
cmp dword [rsp + 0x24], 0
jne 0x140207646
mov rax, 0xffffffffffffffec
jmp 0x140207773
mov ecx, dword [rsp + 0x24]
call fcn.1401fcd90
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x10
jbe 0x140207668
mov rax, 0xffffffffffffffec
jmp 0x140207773
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.1401fcd90
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.1401fcd90
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x60], eax
je 0x1402076d6
mov rax, 0xffffffffffffffec
jmp 0x140207773
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 0x140207742
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
je 0x14020774b
mov rax, 0xffffffffffffffec
jmp 0x140207773
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