Function at 0x1800ae9e0
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, 0x50
mov rax, qword [rsp + 0x68]
mov dword [rax], 0
mov dword [rsp + 0x28], 0
mov edi, dword [rsp + 0x28]
shl edi, 8
and edi, 0xffff
mov edx, dword [rsp + 0x28]
shr edx, 8
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
movzx ecx, byte [rax + 0xfcc]
mov eax, edx
xor eax, ecx
mov edx, eax
lea rcx, [0x1800fb180]
mov eax, edi
xor eax, dword [rcx + rdx*4]
mov dword [rsp + 0x28], eax
mov edi, dword [rsp + 0x28]
shl edi, 8
and edi, 0xffff
mov edx, dword [rsp + 0x28]
shr edx, 8
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
movzx ecx, byte [rax + 0xfcd]
mov eax, edx
xor eax, ecx
mov edx, eax
lea rcx, [0x1800fb180]
mov eax, edi
xor eax, dword [rcx + rdx*4]
mov dword [rsp + 0x28], eax
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
movzx edx, word [rsp + 0x28]
mov rcx, qword [rcx + 0x80]
call fcn.1800a8740
mov rcx, qword [rsp + 0x60]
call fcn.1800add70
test eax, eax
jne 0x1800aeaaa
xor eax, eax
jmp 0x1800af002
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
cmp dword [rax], 2
jne 0x1800aeac1
mov eax, 1
jmp 0x1800af002
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov r8d, dword [rcx + 0x568]
mov edx, dword [rax + 0x560]
mov rcx, qword [rsp + 0x60]
call fcn.1800ac5b0
test eax, eax
jne 0x1800aeaf5
xor eax, eax
jmp 0x1800af002
mov dword [rsp + 0x30], 0
jmp 0x1800aeb0a
mov eax, dword [rsp + 0x30]
add eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x568]
cmp dword [rsp + 0x30], eax
jae 0x1800aebdb
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x570]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x56c]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 1
je 0x1800aeb62
cmp dword [rsp + 0x3c], 2
je 0x1800aeb76
cmp dword [rsp + 0x3c], 3
je 0x1800aeb8a
jmp 0x1800aeb9c
cmp dword [rsp + 0x30], 1
jne 0x1800aeb74
mov eax, dword [rsp + 0x38]
add eax, 1
mov dword [rsp + 0x38], eax
jmp 0x1800aeb9c
cmp dword [rsp + 0x30], 0
jne 0x1800aeb88
mov eax, dword [rsp + 0x38]
add eax, 1
mov dword [rsp + 0x38], eax
jmp 0x1800aeb9c
cmp dword [rsp + 0x30], 1
jne 0x1800aeb9c
mov eax, dword [rsp + 0x38]
add eax, 1
mov dword [rsp + 0x38], eax
mov r9d, dword [rsp + 0x70]
mov r8d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
call fcn.1800ada30
test eax, eax
jne 0x1800aebbf
xor eax, eax
jmp 0x1800af002
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
cmp dword [rax], 2
jne 0x1800aebd6
mov eax, 1
jmp 0x1800af002
jmp 0x1800aeaff
mov rcx, qword [rsp + 0x60]
call fcn.1800ac300
test eax, eax
jne 0x1800aebf0
xor eax, eax
jmp 0x1800af002
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
cmp dword [rax], 2
jne 0x1800aec07
mov eax, 1
jmp 0x1800af002
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
mov rcx, qword [rcx + 0x80]
call fcn.1800a8670
movzx eax, ax
mov dword [rsp + 0x28], eax
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
mov r8d, dword [0x1800c4e34]
lea rdx, [rsp + 0x24]
mov rcx, qword [rcx + 0x80]
call fcn.1800a9790
test eax, eax
jne 0x1800aec4f
xor eax, eax
jmp 0x1800af002
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x28], eax
jne 0x1800aee5c
cmp dword [rsp + 0x70], 0
je 0x1800aee5a
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x56c]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 1
je 0x1800aeca2
cmp dword [rsp + 0x40], 2
je 0x1800aed1a
cmp dword [rsp + 0x40], 3
je 0x1800aed90
jmp 0x1800aee5a
mov dword [rsp + 0x2c], 0
jmp 0x1800aecb7
mov eax, dword [rsp + 0x2c]
add eax, 1
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x560]
cmp dword [rsp + 0x2c], eax
jae 0x1800aed15
mov rdx, qword [rsp + 0x60]
mov rdx, qword [rdx + 8]
mov edi, dword [rsp + 0x2c]
mov rdx, qword [rdx + 0x88]
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov ecx, dword [rsp + 0x2c]
mov rax, qword [rax + 0x90]
mov eax, dword [rax + rcx*4]
mov edx, dword [rdx + rdi*4]
sub edx, eax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov ecx, dword [rsp + 0x2c]
mov rax, qword [rax + 0x90]
mov dword [rax + rcx*4], edx
jmp 0x1800aecac
jmp 0x1800aee5a
mov dword [rsp + 0x2c], 0
jmp 0x1800aed2f
mov eax, dword [rsp + 0x2c]
add eax, 1
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x560]
cmp dword [rsp + 0x2c], eax
jae 0x1800aed8b
mov rdx, qword [rsp + 0x60]
mov rdx, qword [rdx + 8]
mov edi, dword [rsp + 0x2c]
mov rdx, qword [rdx + 0x88]
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov ecx, dword [rsp + 0x2c]
mov rax, qword [rax + 0x90]
mov edx, dword [rdx + rdi*4]
add edx, dword [rax + rcx*4]
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov ecx, dword [rsp + 0x2c]
mov rax, qword [rax + 0x88]
mov dword [rax + rcx*4], edx
jmp 0x1800aed24
jmp 0x1800aee5a
mov dword [rsp + 0x2c], 0
jmp 0x1800aeda5
mov eax, dword [rsp + 0x2c]
add eax, 1
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x560]
cmp dword [rsp + 0x2c], eax
jae 0x1800aee5a
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov ecx, dword [rsp + 0x2c]
mov rax, qword [rax + 0x88]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov ecx, dword [rsp + 0x2c]
mov rax, qword [rax + 0x90]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x20]
shl eax, 1
mov dword [rsp + 0x20], eax
mov ecx, dword [rsp + 0x34]
and ecx, 1
mov eax, dword [rsp + 0x20]
or eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x34]
mov edx, dword [rsp + 0x20]
add edx, eax
sar edx, 1
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov ecx, dword [rsp + 0x2c]
mov rax, qword [rax + 0x88]
mov dword [rax + rcx*4], edx
mov eax, dword [rsp + 0x34]
mov edx, dword [rsp + 0x20]
sub edx, eax
sar edx, 1
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov ecx, dword [rsp + 0x2c]
mov rax, qword [rax + 0x90]
mov dword [rax + rcx*4], edx
jmp 0x1800aed9a
jmp 0x1800aeeca
mov edx, 2
mov rcx, qword [rsp + 0x60]
call fcn.1800aa750
cmp dword [rsp + 0x70], 0
je 0x1800aeeca
mov dword [rsp + 0x30], 0
jmp 0x1800aee87
mov eax, dword [rsp + 0x30]
add eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x568]
cmp dword [rsp + 0x30], eax
jae 0x1800aeeca
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov ecx, dword [rax + 0x560]
shl rcx, 2
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov edi, dword [rsp + 0x30]
mov rdi, qword [rax + rdi*8 + 0x88]
xor eax, eax
rep stosb byte [rdi], al
jmp 0x1800aee7c
mov rax, qword [rsp + 0x68]
mov dword [rax], 1
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
cmp dword [rax + 0x1d4], 0
je 0x1800aef05
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
mov eax, dword [rax + 0x1d4]
mov dword [rcx + 0x1d0], eax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
mov eax, dword [rax + 0x568]
mov dword [rcx + 4], eax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
mov eax, dword [rax + 0x56c]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
mov eax, dword [rax + 0x570]
mov dword [rcx + 0xc], eax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
mov eax, dword [rax + 0x564]
mov dword [rcx + 0x10], eax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
mov eax, dword [rax + 0x560]
mov dword [rcx + 0x14], eax
mov rdx, qword [rsp + 0x60]
mov rdx, qword [rdx + 8]
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov ecx, dword [rax + 0x560]
add rcx, qword [rdx + 0x578]
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov qword [rax + 0x1d8], rcx
cmp dword [rsp + 0x70], 0
je 0x1800aefef
mov r8, qword [rsp + 0x60]
mov r8, qword [r8 + 8]
add r8, 0x88
mov rdx, qword [rsp + 0x60]
mov rdx, qword [rdx + 8]
add rdx, 0x560
mov rcx, qword [rsp + 0x60]
call fcn.1800abfc0
test eax, eax
je 0x1800aefef
xor eax, eax
jmp 0x1800af002
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov dword [rax], 2
mov eax, 1
add rsp, 0x50
pop rdi
ret