Function at 0x140206bd0
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 0x140206c0d
mov rax, 0xffffffffffffffb8
jmp 0x140206fd3
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 0x140206d63
cmp qword [rsp + 0x30], 0xf2
jb 0x140206c7c
lea rax, [0x14030bde8]
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 0x140206d61
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 0x140206cbf
mov rax, 0xffffffffffffffb8
jmp 0x140206fd3
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x28], rax
jb 0x140206cda
mov rax, 0xffffffffffffffec
jmp 0x140206fd3
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 0
jmp 0x140206cfc
mov eax, dword [rsp + 0x20]
add eax, 2
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp rax, qword [rsp + 0x28]
jae 0x140206d61
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 0x140206cf1
jmp 0x140206dc9
mov rax, qword [rsp + 0x30]
inc rax
cmp rax, qword [rsp + 0xb0]
jbe 0x140206d81
mov rax, 0xffffffffffffffb8
jmp 0x140206fd3
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.140204060
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call fcn.1401be700
test eax, eax
je 0x140206dc9
mov rax, qword [rsp + 0x28]
jmp 0x140206fd3
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 0x140206df6
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp rax, qword [rsp + 0x28]
jae 0x140206e93
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
cmp eax, 0x10
jl 0x140206e26
mov rax, 0xffffffffffffffec
jmp 0x140206fd3
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 0x140206dec
cmp dword [rsp + 0x24], 0
jne 0x140206ea6
mov rax, 0xffffffffffffffec
jmp 0x140206fd3
mov ecx, dword [rsp + 0x24]
call fcn.1401fc5f0
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x10
jbe 0x140206ec8
mov rax, 0xffffffffffffffec
jmp 0x140206fd3
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 0x140206f36
mov rax, 0xffffffffffffffec
jmp 0x140206fd3
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 0x140206fa2
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
je 0x140206fab
mov rax, 0xffffffffffffffec
jmp 0x140206fd3
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