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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov eax, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x88]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x80]
mov ecx, dword [rsp + 0x90]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jle 0x1801ece68
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x90], eax
jl 0x1801ece68
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0x80], eax
jle 0x1801ece6f
xor al, al
jmp 0x1801ed187
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x80], eax
jge 0x1801ecece
mov eax, dword [rsp + 0x80]
mov ecx, dword [rsp + 0x98]
sub ecx, eax
mov eax, ecx
mov r8d, dword [rsp + 0x24]
mov edx, eax
mov ecx, dword [rsp + 0x20]
call fcn.1801609e0
mov ecx, dword [rsp + 0x78]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax]
movzx ecx, al
mov eax, dword [rsp + 0x98]
sar eax, cl
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x30], 0
jmp 0x1801ecefe
mov rax, qword [rsp + 0x70]
mov eax, dword [rax]
movzx ecx, al
mov eax, dword [rsp + 0x80]
sar eax, cl
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 4]
dec eax
mov ecx, dword [rsp + 0x80]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0x90], eax
jle 0x1801ecf2f
mov rax, qword [rsp + 0x70]
mov eax, dword [rax]
movzx ecx, al
mov eax, dword [rsp + 0xa0]
sar eax, cl
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x34], 0
jmp 0x1801ecf5f
mov rax, qword [rsp + 0x70]
mov eax, dword [rax]
movzx ecx, al
mov eax, dword [rsp + 0x90]
sar eax, cl
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 4]
dec eax
mov ecx, dword [rsp + 0x90]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x30], 0
jle 0x1801ecfaf
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
jne 0x1801ecf79
xor al, al
jmp 0x1801ed187
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x30]
mov eax, dword [rax + 4]
sub eax, ecx
mov r8d, dword [rsp + 0x24]
mov edx, eax
mov ecx, dword [rsp + 0x20]
call fcn.1801609e0
mov ecx, dword [rsp + 0x78]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
jmp 0x1801ecfdb
mov rax, qword [rsp + 0x70]
movsx eax, byte [rax + 0x6b]
test eax, eax
je 0x1801ecfdb
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x30]
sub rax, 4
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x30], rax
mov rax, qword [rsp + 0x70]
mov byte [rax + 0x6b], 0
cmp dword [rsp + 0x34], 0
jne 0x1801ecfe9
mov byte [rsp + 0x50], 1
jmp 0x1801ecfee
mov byte [rsp + 0x50], 0
mov rax, qword [rsp + 0x70]
movzx ecx, byte [rsp + 0x50]
mov byte [rax + 0x6b], cl
mov rax, qword [rsp + 0x70]
movsx eax, byte [rax + 0x6a]
test eax, eax
je 0x1801ed021
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x70]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0x20], ecx
mov rax, qword [rsp + 0x70]
mov byte [rax + 0x6a], 0
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
inc eax
mov dword [rsp + 0x38], eax
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x30]
lea rax, [rcx + rax*4]
mov rcx, qword [rsp + 0x70]
cmp rax, qword [rcx + 0x28]
jb 0x1801ed063
mov rax, qword [rsp + 0x70]
mov dword [rax + 0x38], 0x62
mov al, 1
jmp 0x1801ed187
cmp dword [rsp + 0x20], 0
jle 0x1801ed0a6
mov r8d, dword [rsp + 0x24]
mov edx, dword [rsp + 0x20]
mov rax, qword [rsp + 0x70]
mov ecx, dword [rax + 4]
call fcn.180163280
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 4]
imul eax, dword [rsp + 0x20]
cdq
idiv dword [rsp + 0x24]
mov eax, edx
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x20], 1
jmp 0x1801ed0ec
mov eax, dword [rsp + 0x20]
neg eax
mov r8d, dword [rsp + 0x24]
mov edx, eax
mov rax, qword [rsp + 0x70]
mov ecx, dword [rax + 4]
call fcn.180163280
neg eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x20]
neg eax
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx + 4]
imul ecx, eax
mov eax, ecx
cdq
idiv dword [rsp + 0x24]
mov eax, edx
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x20], 0xffffffff
mov eax, dword [rsp + 0x24]
neg eax
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x48], rax
cmp dword [rsp + 0x38], 0
jle 0x1801ed177
mov rax, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x78]
mov dword [rax], ecx
mov rax, qword [rsp + 0x48]
add rax, 4
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x78]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x44]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jl 0x1801ed16b
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x44]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x78]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x38]
dec eax
mov dword [rsp + 0x38], eax
jmp 0x1801ed104
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
mov qword [rax + 0x30], rcx
xor al, al
add rsp, 0x60
pop rdi
ret