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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x130
lea rdi, [rsp + 0x40]
mov ecx, 0x3c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x140]
mov qword [rsp + 0xc8], 0
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x140]
add rax, 0xc0
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x178]
mov rax, qword [rax + 0x2f0]
mov qword [rsp + 0x108], rax
cmp dword [rsp + 0x168], 0x3000
je 0x1801b84b5
cmp dword [rsp + 0x168], 0x4000
je 0x1801b84b5
mov dword [rsp + 0x120], 0
jmp 0x1801b84c0
mov dword [rsp + 0x120], 1
cmp dword [rsp + 0x120], 0
je 0x1801b84d4
mov byte [rsp + 0x124], 1
jmp 0x1801b84dc
mov byte [rsp + 0x124], 0
movzx eax, byte [rsp + 0x124]
mov byte [rsp + 0x110], al
movzx eax, byte [rsp + 0x110]
test eax, eax
je 0x1801b8504
mov dword [rsp + 0x128], 0x201
jmp 0x1801b850f
mov dword [rsp + 0x128], 0x60
mov eax, dword [rsp + 0x128]
mov dword [rsp + 0x114], eax
mov rax, qword [rsp + 0x140]
mov word [rsp + 0x30], 0
mov word [rsp + 0x28], 0
mov ecx, dword [rsp + 0x114]
mov dword [rsp + 0x20], ecx
mov rcx, qword [rsp + 0x170]
mov r9, qword [rcx]
mov r8, rax
mov edx, dword [rsp + 0x168]
lea rcx, [rsp + 0x60]
call fcn.1801acf90
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1801b856d
jmp 0x1801b8a10
mov r8d, 0xbc
xor edx, edx
mov rcx, qword [rsp + 0xf8]
call fcn.18029ef10
mov rax, qword [rsp + 0xf8]
mov dword [rax + 0x20], 0xff9c0000
mov rax, qword [rsp + 0xf8]
mov dword [rax + 0x24], 0x320000
mov rax, qword [rsp + 0xf8]
mov dword [rax + 0x2c], 2
mov rax, qword [rsp + 0xf8]
mov dword [rax + 0x30], 0x10000
mov rax, qword [rsp + 0xf8]
mov dword [rax + 0x3c], 0x10000
mov rax, qword [rsp + 0xf8]
mov dword [rax + 0x9c], 0x2210
mov rax, qword [rsp + 0xf8]
mov dword [rax], 0xffff
mov rax, qword [rsp + 0xf8]
mov dword [rax + 4], 0xffff
mov rax, qword [rsp + 0xf8]
mov dword [rax + 8], 0xffff
mov rax, qword [rsp + 0xf8]
mov dword [rax + 0xc], 0xffff
mov rax, qword [rsp + 0xf8]
mov dword [rax + 0x10], 0xffff
mov rax, qword [rsp + 0xf8]
mov dword [rax + 0x14], 0xffff
mov rax, qword [rsp + 0xf8]
mov dword [rax + 0x80], 0xffff
mov rax, qword [rsp + 0xf8]
mov dword [rax + 0x84], 0xffff
mov rax, qword [rsp + 0xf8]
mov dword [rax + 0x88], 0xffff
mov rax, qword [rsp + 0xf8]
mov dword [rax + 0xac], 0xffff
movzx eax, byte [rsp + 0x110]
test eax, eax
je 0x1801b8699
mov dword [rsp + 0x12c], 0x201
jmp 0x1801b86a4
mov dword [rsp + 0x12c], 0x30
mov rax, qword [rsp + 0xf8]
mov ecx, dword [rsp + 0x12c]
mov dword [rax + 0xb8], ecx
mov rax, qword [rsp + 0x148]
cmp dword [rax + 0x10], 0
je 0x1801b86f1
lea r9, [rsp + 0xe4]
lea r8, [rsp + 0xc8]
mov edx, dword [rsp + 0x150]
mov rcx, qword [rsp + 0x148]
call fcn.1801ad830
mov dword [rsp + 0x40], eax
jmp 0x1801b8756
mov rax, qword [rsp + 0x148]
mov edx, dword [rax + 0x18]
mov rcx, qword [rsp + 0x158]
call fcn.180167f60
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x1801b873f
lea r8, [rsp + 0xc8]
mov rax, qword [rsp + 0x148]
mov edx, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x158]
call fcn.1801684c0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1801b8744
jmp 0x1801b8a10
mov rax, qword [rsp + 0x148]
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0xe4], eax
cmp dword [rsp + 0x40], 0
jne 0x1801b8791
xor eax, eax
test eax, eax
jne 0x1801b875d
mov eax, dword [rsp + 0xe4]
mov rcx, qword [rsp + 0xc8]
add rcx, rax
mov rax, rcx
mov r8, rax
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x60]
call fcn.1801ad130
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x148]
cmp dword [rax + 0x10], 0
je 0x1801b87b6
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x148]
call fcn.1801adad0
jmp 0x1801b87cb
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x158]
call fcn.180168530
cmp dword [rsp + 0x40], 0
je 0x1801b87d7
jmp 0x1801b8a10
mov rax, qword [rsp + 0xf8]
cmp dword [rax + 0x84], 0xffff
je 0x1801b87f0
jmp 0x1801b8a10
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x170]
call fcn.1801aeb10
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1801b881b
jmp 0x1801b8a10
movzx eax, byte [rsp + 0x110]
test eax, eax
jne 0x1801b8955
mov rax, qword [rsp + 0x178]
mov rax, qword [rax + 0xd0]
cmp dword [rax + 0x5c], 0xffffffff
jne 0x1801b88af
mov rax, qword [rsp + 0x178]
mov rax, qword [rax + 0x90]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x118]
mov ecx, dword [rcx + 0x60]
mov dword [rax + 0x2c8], ecx
mov rax, qword [rsp + 0x118]
cmp dword [rax + 0x60], 0
je 0x1801b88ad
mov rax, qword [rsp + 0x118]
mov ecx, dword [rax + 0x60]
mov rax, qword [rsp + 0x108]
call qword [rax + 0x28]
mov rcx, qword [rsp + 0x118]
mov dword [rcx + 0x60], eax
mov rax, qword [rsp + 0x118]
cmp dword [rax + 0x60], 0
jl 0x1801b887e
jmp 0x1801b8928
mov rax, qword [rsp + 0x178]
mov rax, qword [rax + 0xd0]
mov rcx, qword [rsp + 0x140]
mov eax, dword [rax + 0x5c]
mov dword [rcx + 0x2c8], eax
mov rax, qword [rsp + 0x178]
mov rax, qword [rax + 0xd0]
cmp dword [rax + 0x5c], 0
je 0x1801b8928
mov rax, qword [rsp + 0x178]
mov rax, qword [rax + 0xd0]
mov ecx, dword [rax + 0x5c]
mov rax, qword [rsp + 0x108]
call qword [rax + 0x28]
mov rcx, qword [rsp + 0x178]
mov rcx, qword [rcx + 0xd0]
mov dword [rcx + 0x5c], eax
mov rax, qword [rsp + 0x178]
mov rax, qword [rax + 0xd0]
cmp dword [rax + 0x5c], 0
jl 0x1801b88e4
mov rax, qword [rsp + 0x140]
cmp dword [rax + 0x2c8], 0
jne 0x1801b8955
mov rax, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x100]
mov ecx, dword [rcx + 0x158]
mov dword [rax + 0x2c8], ecx
mov rax, qword [rsp + 0x100]
cmp dword [rax + 0x15c], 0
je 0x1801b8a10
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 0x74]
mov ecx, dword [rsp + 0x160]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x100]
add eax, dword [rcx + 0x15c]
mov edx, eax
mov rcx, qword [rsp + 0x158]
call fcn.180167f60
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1801b89aa
jmp 0x1801b8a10
mov rax, qword [rsp + 0x140]
add rax, 0x290
movzx r9d, byte [rsp + 0x110]
mov r8b, 1
mov rdx, qword [rsp + 0x158]
mov rcx, rax
call fcn.1801b6180
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1801b89e1
jmp 0x1801b8a10
mov rax, qword [rsp + 0x140]
add rax, 0x2c0
mov rcx, qword [rsp + 0x140]
add rcx, 0x290
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
call fcn.1801b6860
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x60]
call fcn.1801ad0e0
mov eax, dword [rsp + 0x40]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1802dddc0]
call fcn.180220850
mov eax, edi
add rsp, 0x130
pop rdi
ret