Function at 0x1802262f0
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 0x180226358
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x90], eax
jl 0x180226358
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0x80], eax
jle 0x18022635f
xor al, al
jmp 0x180226677
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x80], eax
jge 0x1802263be
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.180199ed0
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 0x1802263ee
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 0x18022641f
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 0x18022644f
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 0x18022649f
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
jne 0x180226469
xor al, al
jmp 0x180226677
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.180199ed0
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 0x1802264cb
mov rax, qword [rsp + 0x70]
movsx eax, byte [rax + 0x6b]
test eax, eax
je 0x1802264cb
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 0x1802264d9
mov byte [rsp + 0x50], 1
jmp 0x1802264de
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 0x180226511
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 0x180226553
mov rax, qword [rsp + 0x70]
mov dword [rax + 0x38], 0x62
mov al, 1
jmp 0x180226677
cmp dword [rsp + 0x20], 0
jle 0x180226596
mov r8d, dword [rsp + 0x24]
mov edx, dword [rsp + 0x20]
mov rax, qword [rsp + 0x70]
mov ecx, dword [rax + 4]
call fcn.18019c770
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 0x1802265dc
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.18019c770
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 0x180226667
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 0x18022665b
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 0x1802265f4
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
mov qword [rax + 0x30], rcx
xor al, al
add rsp, 0x60
pop rdi
ret