Function at 0x1401e7d40
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 0x1401e7d7d
mov rax, 0xffffffffffffffb8
jmp 0x1401e8143
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 0x1401e7ed3
cmp qword [rsp + 0x30], 0xf2
jb 0x1401e7dec
lea rax, [0x1402e0d18]
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 0x1401e7ed1
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 0x1401e7e2f
mov rax, 0xffffffffffffffb8
jmp 0x1401e8143
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x28], rax
jb 0x1401e7e4a
mov rax, 0xffffffffffffffec
jmp 0x1401e8143
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 0
jmp 0x1401e7e6c
mov eax, dword [rsp + 0x20]
add eax, 2
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp rax, qword [rsp + 0x28]
jae 0x1401e7ed1
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 0x1401e7e61
jmp 0x1401e7f39
mov rax, qword [rsp + 0x30]
inc rax
cmp rax, qword [rsp + 0xb0]
jbe 0x1401e7ef1
mov rax, 0xffffffffffffffb8
jmp 0x1401e8143
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.1401e2a30
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call fcn.1401e30e0
test eax, eax
je 0x1401e7f39
mov rax, qword [rsp + 0x28]
jmp 0x1401e8143
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 0x1401e7f66
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp rax, qword [rsp + 0x28]
jae 0x1401e8003
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
cmp eax, 0x10
jl 0x1401e7f96
mov rax, 0xffffffffffffffec
jmp 0x1401e8143
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 0x1401e7f5c
cmp dword [rsp + 0x24], 0
jne 0x1401e8016
mov rax, 0xffffffffffffffec
jmp 0x1401e8143
mov ecx, dword [rsp + 0x24]
call fcn.1401e2180
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x10
jbe 0x1401e8038
mov rax, 0xffffffffffffffec
jmp 0x1401e8143
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.1401e2180
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.1401e2180
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x60], eax
je 0x1401e80a6
mov rax, 0xffffffffffffffec
jmp 0x1401e8143
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 0x1401e8112
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
je 0x1401e811b
mov rax, 0xffffffffffffffec
jmp 0x1401e8143
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