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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
lea rcx, [0x1805f2bc3]
call fcn.1802680d0
mov dword [rsp + 0x30], 0xffffffff
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x38], 0
cmp qword [rsp + 0x70], 0
jne 0x1803af80a
mov eax, 0xffffff9a
jmp 0x1803affb8
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x70], 0
jne 0x1803af829
mov eax, 0xffffff9a
jmp 0x1803affb8
mov rax, qword [rsp + 0x20]
mov dword [rax + 0x80], 0
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0xf8], 8
jne 0x1803af909
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0xfc], 0
jne 0x1803af909
cmp dword [rsp + 0x38], 0
jne 0x1803af907
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x90], 0
jne 0x1803af8b2
mov rcx, qword [rsp + 0x20]
call fcn.1803b2670
cmp eax, 0xffffffff
jne 0x1803af88c
mov dword [rsp + 0x38], 0xffffffff
mov rax, qword [rsp + 0x20]
mov dword [rax + 0x90], 0x10000
mov rax, qword [rsp + 0x20]
add rax, 0x100
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x88], rax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x94]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x20]
add rax, 0x78
mov edx, 4
mov rcx, rax
call fcn.1803bc0a0
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x20]
mov ecx, dword [rsp + 0x3c]
mov eax, dword [rax + 0x94]
sub eax, ecx
mov rcx, qword [rsp + 0x20]
add eax, dword [rcx + 0xd4]
mov rcx, qword [rsp + 0x20]
mov dword [rcx + 0xd4], eax
jmp 0x1803af85c
jmp 0x1803af91c
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0xf8], 0xc
jne 0x1803af91c
mov rax, qword [rsp + 0x20]
cmp dword [rsp + 0x38], 1
jne 0x1803af92b
mov dword [rsp + 0x38], 0
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0xd4], 0
jbe 0x1803af957
cmp dword [rsp + 0x38], 0
jne 0x1803af957
mov rcx, qword [rsp + 0x20]
call fcn.1803b2670
cmp eax, 0xffffffff
jne 0x1803af957
mov dword [rsp + 0x38], 0xffffffff
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0xf8], 8
jne 0x1803af9a6
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0xfc], 0
jne 0x1803af9a6
mov rax, qword [rsp + 0x20]
add rax, 0x78
mov rcx, rax
call fcn.1803bd5f0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x38], 0
jne 0x1803af997
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x20]
mov dword [rax + 0xd0], 0
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0xfc], 0
jne 0x1803af9d7
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x10104]
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x10120]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x10118]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x10140]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov eax, 0xffffffff
cmp qword [rsp + 0x28], rax
jae 0x1803afa2e
mov eax, 0xffffffff
cmp qword [rsp + 0x78], rax
jae 0x1803afa2e
mov rax, qword [rsp + 0x20]
mov ecx, 0xffffffff
cmp qword [rax + 0xd8], rcx
jb 0x1803afa75
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0xe0]
add rax, 4
mov r8d, 2
mov edx, 0x2d
mov rcx, rax
call fcn.1803b0cb0
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0xe0]
add rax, 6
mov r8d, 2
mov edx, 0x2d
mov rcx, rax
call fcn.1803b0cb0
nop
mov eax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0xe0]
add rcx, 0x10
mov r8d, 4
mov edx, eax
call fcn.1803b0cb0
mov eax, 0xffffffff
cmp qword [rsp + 0x28], rax
jb 0x1803afac9
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0xe0]
add rcx, 0x14
mov r8d, 4
mov edx, eax
call fcn.1803b0cb0
nop
jmp 0x1803afaed
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0xe0]
add rax, 0x14
mov r8d, 4
mov rdx, qword [rsp + 0x28]
mov rcx, rax
call fcn.1803b0cb0
nop
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0xc0], 1
jne 0x1803afb1f
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0xe0]
add rax, 0x24
mov r8d, 2
mov edx, 1
mov rcx, rax
call fcn.1803b0cb0
nop
mov eax, 0xffffffff
cmp qword [rsp + 0x78], rax
jb 0x1803afb4f
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0xe0]
add rcx, 0x18
mov r8d, 4
mov edx, eax
call fcn.1803b0cb0
nop
jmp 0x1803afb73
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0xe0]
add rax, 0x18
mov r8d, 4
mov rdx, qword [rsp + 0x78]
mov rcx, rax
call fcn.1803b0cb0
nop
mov eax, 0xffffffff
cmp qword [rsp + 0x78], rax
jb 0x1803afb8a
mov eax, dword [rsp + 0x34]
add eax, 8
mov dword [rsp + 0x34], eax
mov eax, 0xffffffff
cmp qword [rsp + 0x28], rax
jb 0x1803afba1
mov eax, dword [rsp + 0x34]
add eax, 8
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x20]
mov ecx, 0xffffffff
cmp qword [rax + 0xd8], rcx
jb 0x1803afbbf
mov eax, dword [rsp + 0x34]
add eax, 8
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jbe 0x1803afd75
mov qword [rsp + 0x48], 0
mov eax, dword [rsp + 0x34]
add eax, 4
mov rcx, qword [rsp + 0x20]
cmp eax, dword [rcx + 0xf0]
jbe 0x1803afbf1
mov eax, 0xffffff99
jmp 0x1803affb8
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0xec]
mov rcx, qword [rsp + 0x20]
add rax, qword [rcx + 0xe0]
mov qword [rsp + 0x48], rax
mov r8d, 2
mov edx, 1
mov rcx, qword [rsp + 0x48]
call fcn.1803b0cb0
mov rax, qword [rsp + 0x48]
add rax, 2
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x34]
mov r8d, 2
mov edx, eax
mov rcx, qword [rsp + 0x48]
call fcn.1803b0cb0
mov rax, qword [rsp + 0x48]
add rax, 2
mov qword [rsp + 0x48], rax
mov eax, 0xffffffff
cmp qword [rsp + 0x78], rax
jb 0x1803afc83
mov r8d, 8
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
call fcn.1803b0cb0
mov rax, qword [rsp + 0x48]
add rax, 8
mov qword [rsp + 0x48], rax
mov eax, 0xffffffff
cmp qword [rsp + 0x28], rax
jb 0x1803afcb2
mov r8d, 8
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x48]
call fcn.1803b0cb0
mov rax, qword [rsp + 0x48]
add rax, 8
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov ecx, 0xffffffff
cmp qword [rax + 0xd8], rcx
jb 0x1803afcef
mov r8d, 8
mov rax, qword [rsp + 0x20]
mov rdx, qword [rax + 0xd8]
mov rcx, qword [rsp + 0x48]
call fcn.1803b0cb0
mov rax, qword [rsp + 0x48]
add rax, 8
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x34]
add eax, 4
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 0xf0]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x20]
mov dword [rcx + 0xf0], eax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0xec]
mov ecx, dword [rsp + 0x34]
lea eax, [rcx + rax + 4]
mov rcx, qword [rsp + 0x20]
mov dword [rcx + 0xec], eax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0xe8]
mov ecx, dword [rsp + 0x34]
lea eax, [rcx + rax + 4]
mov rcx, qword [rsp + 0x20]
mov dword [rcx + 0xe8], eax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0xe8]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0xe0]
add rcx, 0x1e
mov r8d, 2
mov edx, eax
call fcn.1803b0cb0
nop
cmp dword [rsp + 0x38], 0
jne 0x1803afda9
mov rax, qword [rsp + 0x20]
add rax, 0x60
mov rcx, qword [rsp + 0x20]
mov r8d, dword [rcx + 0xec]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx + 0xe0]
mov rcx, rax
call fcn.1803b09d0
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0xe0]
call fcn.180288030
cmp dword [rsp + 0x38], 0
jne 0x1803aff8d
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx + 0x58]
mov rcx, rax
call fcn.1803b7360
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0xd8]
add rax, 0xe
mov rcx, qword [rsp + 0x20]
xor r9d, r9d
mov r8, rax
mov rax, qword [rsp + 0x20]
mov rdx, qword [rax + 0x58]
call fcn.1803b72c0
test eax, eax
je 0x1803afe15
mov dword [rsp + 0x38], 0xffffffff
cmp dword [rsp + 0x38], 0
jne 0x1803afe43
mov eax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x20]
mov r9d, 4
mov r8d, eax
mov rax, qword [rsp + 0x20]
mov rdx, qword [rax + 0x58]
call fcn.1803b0b90
mov dword [rsp + 0x38], eax
mov eax, 0xffffffff
cmp qword [rsp + 0x78], rax
jae 0x1803afe5f
mov eax, 0xffffffff
cmp qword [rsp + 0x28], rax
jb 0x1803aff0b
mov rax, qword [rsp + 0x20]
cmp qword [rax + 0x10110], 0
jbe 0x1803aff01
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x10110]
add rax, 4
mov rcx, qword [rsp + 0x20]
xor r9d, r9d
mov r8, rax
mov rax, qword [rsp + 0x20]
mov rdx, qword [rax + 0x58]
call fcn.1803b72c0
test eax, eax
je 0x1803afea7
mov dword [rsp + 0x38], 0xffffffff
cmp dword [rsp + 0x38], 0
jne 0x1803afed3
mov rax, qword [rsp + 0x20]
mov r9d, 8
mov r8, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx + 0x58]
mov rcx, rax
call fcn.1803b0b90
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x1803afeff
mov rax, qword [rsp + 0x20]
mov r9d, 8
mov r8, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx + 0x58]
mov rcx, rax
call fcn.1803b0b90
mov dword [rsp + 0x38], eax
jmp 0x1803aff09
mov dword [rsp + 0x38], 0xffffff99
jmp 0x1803aff63
cmp dword [rsp + 0x38], 0
jne 0x1803aff37
mov rax, qword [rsp + 0x20]
mov r9d, 4
mov r8, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx + 0x58]
mov rcx, rax
call fcn.1803b0b90
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x1803aff63
mov rax, qword [rsp + 0x20]
mov r9d, 4
mov r8, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx + 0x58]
mov rcx, rax
call fcn.1803b0b90
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x20]
xor r9d, r9d
mov r8, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx + 0x58]
mov rcx, rax
call fcn.1803b72c0
test eax, eax
je 0x1803aff8d
mov dword [rsp + 0x38], 0xffffffff
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x10158]
inc rax
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x10158], rax
mov rax, qword [rsp + 0x20]
mov dword [rax + 0x70], 0
mov eax, dword [rsp + 0x38]
add rsp, 0x60
pop rdi
ret