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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x10]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x80], 7
jg 0x1401ee781
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x78]
movsx eax, byte [rcx + rax]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x44], 1
jmp 0x1401ee570
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x44], eax
jge 0x1401ee598
imul eax, dword [rsp + 0x20], 0xa
movsxd rcx, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x78]
movsx ecx, byte [rdx + rcx]
add eax, ecx
mov dword [rsp + 0x20], eax
jmp 0x1401ee566
mov dword [rsp + 0x2c], 2
mov dword [rsp + 0x28], 0x4a
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x20], eax
jge 0x1401ee5f4
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
shl eax, 0x10
mov ecx, dword [rsp + 0x40]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x50], eax
mov ecx, dword [rsp + 0x50]
call fcn.1401ef1e0
mov rcx, qword [rsp + 0x70]
add rcx, 0x18
mov r8, qword [rsp + 0x88]
mov rdx, rax
call fcn.1401ed530
jmp 0x1401ee95d
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x28], 0x28
imul eax, dword [rsp + 0x28], 0xfe
cmp dword [rsp + 0x20], eax
jge 0x1401ee694
mov eax, dword [rsp + 0x20]
cdq
mov ecx, 0xfe
idiv ecx
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
shl eax, 0x10
mov ecx, dword [rsp + 0x40]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x20]
cdq
mov ecx, 0xfe
idiv ecx
mov eax, edx
add eax, 2
shl eax, 8
mov ecx, dword [rsp + 0x48]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x4c], eax
mov ecx, dword [rsp + 0x4c]
call fcn.1401ef1e0
mov rcx, qword [rsp + 0x70]
add rcx, 0x18
mov r8, qword [rsp + 0x88]
mov rdx, rax
call fcn.1401ed530
jmp 0x1401ee95d
imul eax, dword [rsp + 0x28], 0xfe
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x28], 0x10
imul eax, dword [rsp + 0x28], 0xfe
imul eax, eax, 0xfe
cmp dword [rsp + 0x20], eax
jge 0x1401ee781
mov eax, dword [rsp + 0x20]
cdq
mov ecx, 0xfe
idiv ecx
mov eax, edx
add eax, 2
mov ecx, dword [rsp + 0x40]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x20]
cdq
mov ecx, 0xfe
idiv ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cdq
mov ecx, 0xfe
idiv ecx
mov eax, edx
add eax, 2
shl eax, 8
mov ecx, dword [rsp + 0x3c]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x20]
cdq
mov ecx, 0xfe
idiv ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cdq
mov ecx, 0xfe
idiv ecx
mov eax, edx
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
shl eax, 0x10
mov ecx, dword [rsp + 0x3c]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
mov ecx, dword [rsp + 0x3c]
call fcn.1401ef1e0
mov rcx, qword [rsp + 0x70]
add rcx, 0x18
mov r8, qword [rsp + 0x88]
mov rdx, rax
call fcn.1401ed530
jmp 0x1401ee95d
mov eax, dword [rsp + 0x80]
inc eax
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
add eax, 0x80
shl eax, 0x10
mov ecx, dword [rsp + 0x40]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x80]
dec eax
cdqe
mov rcx, qword [rsp + 0x78]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x1401ee7ef
mov eax, dword [rsp + 0x80]
sub eax, 2
cdqe
mov rcx, qword [rsp + 0x78]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x1401ee7ef
mov eax, dword [rsp + 0x80]
sub eax, 2
mov dword [rsp + 0x80], eax
jmp 0x1401ee7ab
mov eax, dword [rsp + 0x80]
and eax, 1
test eax, eax
je 0x1401ee81d
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x78]
movsx eax, byte [rcx + rax]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x38], 1
jmp 0x1401ee852
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x78]
movsx eax, byte [rcx + rax]
imul eax, eax, 0xa
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x78]
movsx ecx, byte [rdx + rcx]
add eax, ecx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x38], 2
mov eax, dword [rsp + 0x30]
lea eax, [rax + rax + 0xb]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x34], 8
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x38], eax
jge 0x1401ee923
cmp dword [rsp + 0x34], 0
jne 0x1401ee8c2
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x24]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov ecx, dword [rsp + 0x24]
call fcn.1401ef1e0
mov rcx, qword [rsp + 0x70]
add rcx, 0x18
mov r8, qword [rsp + 0x88]
mov rdx, rax
call fcn.1401ed530
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x34], 0x10
jmp 0x1401ee8e6
mov eax, dword [rsp + 0x34]
movzx ecx, al
mov eax, dword [rsp + 0x30]
shl eax, cl
mov ecx, dword [rsp + 0x24]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x34]
sub eax, 8
mov dword [rsp + 0x34], eax
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
movsx eax, byte [rcx + rax]
imul eax, eax, 0xa
mov ecx, dword [rsp + 0x38]
inc ecx
movsxd rcx, ecx
mov rdx, qword [rsp + 0x78]
movsx ecx, byte [rdx + rcx]
add eax, ecx
lea eax, [rax + rax + 0xb]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x38]
add eax, 2
mov dword [rsp + 0x38], eax
jmp 0x1401ee866
mov eax, dword [rsp + 0x30]
dec eax
mov ecx, dword [rsp + 0x34]
shl eax, cl
mov ecx, dword [rsp + 0x24]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov ecx, dword [rsp + 0x24]
call fcn.1401ef1e0
mov rcx, qword [rsp + 0x70]
add rcx, 0x18
mov r8, qword [rsp + 0x88]
mov rdx, rax
call fcn.1401ed530
add rsp, 0x68
ret