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

Disassembly:
mov r11, rsp
sub rsp, 0x98
mov rax, qword [0x180e681c0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [r11 + 0x20], rbx
xor eax, eax
mov qword [r11 - 8], rbp
mov rbx, rcx
mov qword [r11 - 0x18], rdi
xor ebp, ebp
mov qword [r11 - 0x20], r12
mov rdi, r8
mov r12d, dword [rcx + 0x18]
mov qword [r11 - 0x28], r13
xor r13d, r13d
mov qword [r11 - 0x30], r14
mov r14, rdx
mov qword [rsp + 0x38], r8
mov dword [rsp + 0x30], eax
test r12d, r12d
je 0x1801a99c3
mov qword [r11 - 0x10], rsi
mov qword [r11 - 0x38], r15
nop
mov esi, eax
mov rdx, rdi
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x1a8]
call qword [case.0x1800a0c66.0]
mov r8d, dword [rbx + 0x134]
mov edi, eax
cmp dword [rbx + 0x18], r8d
mov eax, 0xfffffffd
mov rcx, qword [rbx + 0x10]
cmovg edi, eax
cmp r8d, r12d
cmovae r8d, r12d
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x78]
lea rdx, [rbx + 0xf0]
call qword [case.0x1800a0c66.0]
mov rcx, qword [rsp + 0x38]
sub r12d, eax
mov dword [rbx + 0x2c], eax
mov dword [rbx + 0xe0], 0
mov dword [rbx + 0x30], eax
mov dword [rcx + 8], eax
mov r8d, dword [rbx + 0x34]
mov edx, dword [rbx + 0x2c]
mov rcx, qword [rbx + 0xf0]
call fcn.1801a4a70
inc dword [rsp + 0x30]
mov r8d, 0x800
test esi, esi
mov dword [rsp + 0x34], eax
setne cl
xor r9d, r9d
mov byte [rsp + 0x28], cl
mov rcx, rbx
mov dword [rsp + 0x20], edi
mov rdi, qword [rsp + 0x38]
mov rdx, rdi
call fcn.1801668f0
mov ecx, dword [rbx + 0x2c]
cmp dword [rbx + 0x30], ecx
jae 0x1801a98b4
xor r8d, r8d
cmp dword [rdi + 0x3c], r8d
jne 0x1801a9880
mov r8, qword [rbx + 0xf0]
mov rax, qword [rbx]
mov r9d, 0x800
mov rdx, qword [rbx + 0x100]
mov rcx, rbx
mov dword [rbx + 0xe0], 0x800
mov rax, qword [rax + 0xd0]
call qword [case.0x1800a0c66.0]
test al, al
jne 0x1801a98b4
mov eax, dword [rbx + 0x2c]
mov dword [rbx + 0x30], eax
mov edx, dword [rbx + 0x2c]
cmp dword [rbx + 0x30], edx
jb 0x1801a98d5
mov r8d, dword [rbx + 0x54]
mov rcx, qword [rbx + 0xf0]
mov dword [rbx + 0x30], edx
call fcn.1801a4a70
mov edx, dword [rbx + 0x2c]
mov dword [rbx + 0x38], eax
mov rcx, qword [rbx + 8]
xor eax, eax
mov qword [rsp + 0x40], rax
mov r8d, edx
mov dword [rsp + 0x48], eax
lea rdx, [rsp + 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [case.0x1800a0c66.0]
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x44]
mov r8d, dword [rbx + 0x30]
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [case.0x1800a0c66.0]
mov eax, dword [rbx + 0x2c]
cmp dword [rbx + 0x30], eax
jae 0x1801a9933
movzx eax, byte [rbx + 0x24]
mov byte [rsp + 0x48], al
movzx eax, byte [rbx + 0x40]
mov byte [rsp + 0x49], al
movzx eax, byte [rbx + 0x44]
mov byte [rsp + 0x4a], al
mov rax, qword [r14]
lea rdx, [rsp + 0x40]
mov r8d, 0xc
mov rcx, r14
mov rax, qword [rax + 0x40]
call qword [case.0x1800a0c66.0]
add dword [rbx + 0x16c], 0xc
mov rax, qword [r14]
mov ecx, dword [rbx + 0x30]
mov r8d, dword [rbx + 0x2c]
mov rax, qword [rax + 0x70]
cmp ecx, r8d
jae 0x1801a9987
mov r8d, ecx
lea rdx, [rbx + 0x100]
mov rcx, r14
call qword [case.0x1800a0c66.0]
xor edx, edx
mov rcx, rbx
call fcn.180168100
jmp 0x1801a9997
lea rdx, [rbx + 0xf0]
mov rcx, r14
call qword [case.0x1800a0c66.0]
mov eax, dword [rsp + 0x34]
add ebp, dword [rbx + 0x2c]
add r13d, dword [rbx + 0x30]
mov dword [rbx + 0x34], eax
mov eax, dword [rsp + 0x30]
test r12d, r12d
jne 0x1801a97c0
mov r12d, dword [rbx + 0x18]
mov r15, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x88]
mov r14, qword [rsp + 0x68]
cmp ebp, r12d
mov r12, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
mov dword [rbx + 0x2c], ebp
mov rbp, qword [rsp + 0x90]
mov dword [rbx + 0x30], r13d
mov r13, qword [rsp + 0x70]
mov rbx, qword [rsp + 0xb8]
je 0x1801a99ff
xor edx, edx
xor ecx, ecx
call fcn.180164b50
mov eax, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18024b290
add rsp, 0x98
ret