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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rcx, [0x1805d8c29]
call fcn.18024f670
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x18]
sub eax, 5
mov rcx, qword [rsp + 0x80]
cmp eax, dword [rcx + 0x44]
jbe 0x1803a6bd6
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x44]
mov dword [rsp + 0x38], eax
jmp 0x1803a6be8
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x18]
sub eax, 5
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov eax, dword [rax + 8]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x24], 0xffff
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x1710]
add eax, 0x2a
sar eax, 3
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x2c]
cmp dword [rax + 0x18], ecx
jae 0x1803a6c43
jmp 0x1803a6fa0
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x2c]
mov eax, dword [rax + 0x18]
sub eax, ecx
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x84]
mov eax, dword [rax + 0x94]
sub eax, ecx
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov eax, dword [rax + 8]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
cmp dword [rsp + 0x24], eax
jbe 0x1803a6cb3
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov eax, dword [rax + 8]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x24], eax
jbe 0x1803a6cc5
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x24], eax
jae 0x1803a6d0b
cmp dword [rsp + 0x24], 0
jne 0x1803a6ce0
cmp dword [rsp + 0x88], 4
jne 0x1803a6d06
cmp dword [rsp + 0x88], 0
je 0x1803a6d06
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov eax, dword [rax + 8]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
cmp dword [rsp + 0x24], eax
je 0x1803a6d0b
jmp 0x1803a6fa0
cmp dword [rsp + 0x88], 4
jne 0x1803a6d3b
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov eax, dword [rax + 8]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
cmp dword [rsp + 0x24], eax
jne 0x1803a6d3b
mov dword [rsp + 0x3c], 1
jmp 0x1803a6d43
mov dword [rsp + 0x3c], 0
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x30], eax
mov r9d, dword [rsp + 0x30]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x80]
call fcn.1803ae720
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x28]
sub eax, 4
mov eax, eax
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x10]
movzx edx, byte [rsp + 0x24]
mov byte [rcx + rax], dl
mov eax, dword [rsp + 0x24]
shr eax, 8
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x28]
sub ecx, 3
mov ecx, ecx
mov rdx, qword [rsp + 0x80]
mov rdx, qword [rdx + 0x10]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x24]
not eax
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x28]
sub ecx, 2
mov ecx, ecx
mov rdx, qword [rsp + 0x80]
mov rdx, qword [rdx + 0x10]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x24]
not eax
shr eax, 8
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x28]
dec ecx
mov ecx, ecx
mov rdx, qword [rsp + 0x80]
mov rdx, qword [rdx + 0x10]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax]
call fcn.1803aa010
cmp dword [rsp + 0x28], 0
je 0x1803a6eff
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x28], eax
jbe 0x1803a6e25
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
movsxd rcx, dword [rcx + 0x84]
mov rdx, qword [rsp + 0x80]
add rcx, qword [rdx + 0x50]
mov rdx, qword [rsp + 0x80]
mov rdx, qword [rdx]
mov qword [rsp + 0x40], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x10]
call fcn.1803c2230
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x28]
add rcx, qword [rax + 0x10]
mov rax, rcx
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x28]
mov eax, dword [rax + 0x18]
sub eax, ecx
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx]
mov dword [rcx + 0x18], eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov eax, dword [rax + 0x1c]
add eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx]
mov dword [rcx + 0x1c], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x84]
add eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x84], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x1803a6f95
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rax + 0x10]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax]
call fcn.1803aa130
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x24]
add rcx, qword [rax + 0x10]
mov rax, rcx
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x24]
mov eax, dword [rax + 0x18]
sub eax, ecx
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx]
mov dword [rcx + 0x18], eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov eax, dword [rax + 0x1c]
add eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx]
mov dword [rcx + 0x1c], eax
cmp dword [rsp + 0x30], 0
je 0x1803a6c0a
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov eax, dword [rax + 8]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x1803a7248
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x44]
cmp dword [rsp + 0x34], eax
jb 0x1803a7064
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x1704], 2
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x44]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0x80]
mov edx, dword [rdx + 0x44]
mov rcx, qword [rcx]
sub rcx, rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x50]
call fcn.1803c2230
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x44]
mov dword [rax + 0x94], ecx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x94]
mov dword [rax + 0x1708], ecx
jmp 0x1803a722c
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x94]
mov eax, dword [rax + 0x58]
sub eax, ecx
cmp eax, dword [rsp + 0x34]
ja 0x1803a7157
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x44]
mov eax, dword [rax + 0x94]
sub eax, ecx
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x94], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x94]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x44]
mov rdx, qword [rsp + 0x80]
add rcx, qword [rdx + 0x50]
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x50]
call fcn.1803c2230
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x1704], 2
jae 0x1803a711d
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x1704]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x1704], eax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x94]
cmp dword [rax + 0x1708], ecx
jbe 0x1803a7157
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x94]
mov dword [rax + 0x1708], ecx
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx]
mov edx, dword [rsp + 0x34]
mov rcx, qword [rcx]
sub rcx, rdx
mov rdx, qword [rsp + 0x80]
mov edx, dword [rdx + 0x94]
mov r8, qword [rsp + 0x80]
add rdx, qword [r8 + 0x50]
mov qword [rsp + 0x48], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x48]
mov rcx, rax
call fcn.1803c2230
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x94]
add eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x94], eax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x1708]
mov eax, dword [rax + 0x44]
sub eax, ecx
cmp dword [rsp + 0x34], eax
jbe 0x1803a7204
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x1708]
mov eax, dword [rax + 0x44]
sub eax, ecx
mov dword [rsp + 0x50], eax
jmp 0x1803a720c
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x1708]
add eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x1708], eax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x94]
mov dword [rax + 0x84], ecx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x94]
cmp dword [rax + 0x1714], ecx
jae 0x1803a7282
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x94]
mov dword [rax + 0x1714], ecx
cmp dword [rsp + 0x30], 0
je 0x1803a7293
mov eax, 3
jmp 0x1803a774b
cmp dword [rsp + 0x88], 0
je 0x1803a72e0
cmp dword [rsp + 0x88], 4
je 0x1803a72e0
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
cmp dword [rax + 8], 0
jne 0x1803a72e0
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x84]
cmp dword [rax + 0x94], ecx
jne 0x1803a72e0
mov eax, 1
jmp 0x1803a774b
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x94]
mov eax, dword [rax + 0x58]
sub eax, ecx
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x2c]
cmp dword [rax + 8], ecx
jbe 0x1803a7444
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x44]
cmp dword [rax + 0x84], ecx
jl 0x1803a7444
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x44]
mov eax, dword [rax + 0x84]
sub eax, ecx
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x84], eax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x44]
mov eax, dword [rax + 0x94]
sub eax, ecx
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x94], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x94]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x44]
mov rdx, qword [rsp + 0x80]
add rcx, qword [rdx + 0x50]
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x50]
call fcn.1803c2230
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x1704], 2
jae 0x1803a73f3
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x1704]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x1704], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x44]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x94]
cmp dword [rax + 0x1708], ecx
jbe 0x1803a7444
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x94]
mov dword [rax + 0x1708], ecx
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov eax, dword [rax + 8]
cmp dword [rsp + 0x2c], eax
jbe 0x1803a746a
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov eax, dword [rax + 8]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
je 0x1803a7531
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x94]
mov rcx, qword [rsp + 0x80]
add rax, qword [rcx + 0x50]
mov r8d, dword [rsp + 0x2c]
mov rdx, rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax]
call fcn.1803aa130
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x94]
add eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x94], eax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x1708]
mov eax, dword [rax + 0x44]
sub eax, ecx
cmp dword [rsp + 0x2c], eax
jbe 0x1803a7509
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x1708]
mov eax, dword [rax + 0x44]
sub eax, ecx
mov dword [rsp + 0x54], eax
jmp 0x1803a7511
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x1708]
add eax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x1708], eax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x94]
cmp dword [rax + 0x1714], ecx
jae 0x1803a756b
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x94]
mov dword [rax + 0x1714], ecx
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x1710]
add eax, 0x2a
sar eax, 3
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x2c]
mov eax, dword [rax + 0x18]
sub eax, ecx
cmp eax, 0xffff
jbe 0x1803a75a5
mov dword [rsp + 0x58], 0xffff
jmp 0x1803a75ba
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x2c]
mov eax, dword [rax + 0x18]
sub eax, ecx
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x44]
cmp dword [rsp + 0x2c], eax
jbe 0x1803a75e4
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x44]
mov dword [rsp + 0x5c], eax
jmp 0x1803a75ec
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x84]
mov eax, dword [rax + 0x94]
sub eax, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x28], eax
jae 0x1803a7666
cmp dword [rsp + 0x28], 0
jne 0x1803a7635
cmp dword [rsp + 0x88], 4
jne 0x1803a772e
cmp dword [rsp + 0x88], 0
je 0x1803a772e
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
cmp dword [rax + 8], 0
jne 0x1803a772e
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
ja 0x1803a772e
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
jbe 0x1803a767a
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x60], eax
jmp 0x1803a7682
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x88], 4
jne 0x1803a76b9
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
cmp dword [rax + 8], 0
jne 0x1803a76b9
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x24], eax
jne 0x1803a76b9
mov dword [rsp + 0x64], 1
jmp 0x1803a76c1
mov dword [rsp + 0x64], 0
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x80]
movsxd rax, dword [rax + 0x84]
mov rcx, qword [rsp + 0x80]
add rax, qword [rcx + 0x50]
mov r9d, dword [rsp + 0x30]
mov r8d, dword [rsp + 0x24]
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.1803ae720
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x84]
add eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x84], eax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax]
call fcn.1803aa010
cmp dword [rsp + 0x30], 0
je 0x1803a773f
mov dword [rsp + 0x68], 2
jmp 0x1803a7747
mov dword [rsp + 0x68], 0
mov eax, dword [rsp + 0x68]
add rsp, 0x70
pop rdi
ret