Function at 0x1801bd4f0
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 0x1801bd595
cmp dword [rsp + 0x168], 0x4000
je 0x1801bd595
mov dword [rsp + 0x120], 0
jmp 0x1801bd5a0
mov dword [rsp + 0x120], 1
cmp dword [rsp + 0x120], 0
je 0x1801bd5b4
mov byte [rsp + 0x124], 1
jmp 0x1801bd5bc
mov byte [rsp + 0x124], 0
movzx eax, byte [rsp + 0x124]
mov byte [rsp + 0x110], al
movzx eax, byte [rsp + 0x110]
test eax, eax
je 0x1801bd5e4
mov dword [rsp + 0x128], 0x201
jmp 0x1801bd5ef
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.1801b2070
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1801bd64d
jmp 0x1801bdaf0
mov r8d, 0xbc
xor edx, edx
mov rcx, qword [rsp + 0xf8]
call sub.VCRUNTIME140D.dll_memset
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 0x1801bd779
mov dword [rsp + 0x12c], 0x201
jmp 0x1801bd784
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 0x1801bd7d1
lea r9, [rsp + 0xe4]
lea r8, [rsp + 0xc8]
mov edx, dword [rsp + 0x150]
mov rcx, qword [rsp + 0x148]
call fcn.1801b2910
mov dword [rsp + 0x40], eax
jmp 0x1801bd836
mov rax, qword [rsp + 0x148]
mov edx, dword [rax + 0x18]
mov rcx, qword [rsp + 0x158]
call fcn.18016d040
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x1801bd81f
lea r8, [rsp + 0xc8]
mov rax, qword [rsp + 0x148]
mov edx, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x158]
call fcn.18016d5a0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1801bd824
jmp 0x1801bdaf0
mov rax, qword [rsp + 0x148]
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0xe4], eax
cmp dword [rsp + 0x40], 0
jne 0x1801bd871
xor eax, eax
test eax, eax
jne 0x1801bd83d
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.1801b2210
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x148]
cmp dword [rax + 0x10], 0
je 0x1801bd896
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x148]
call fcn.1801b2bb0
jmp 0x1801bd8ab
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x158]
call fcn.18016d610
cmp dword [rsp + 0x40], 0
je 0x1801bd8b7
jmp 0x1801bdaf0
mov rax, qword [rsp + 0xf8]
cmp dword [rax + 0x84], 0xffff
je 0x1801bd8d0
jmp 0x1801bdaf0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x170]
call fcn.1801b3bf0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1801bd8fb
jmp 0x1801bdaf0
movzx eax, byte [rsp + 0x110]
test eax, eax
jne 0x1801bda35
mov rax, qword [rsp + 0x178]
mov rax, qword [rax + 0xd0]
cmp dword [rax + 0x5c], 0xffffffff
jne 0x1801bd98f
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 0x1801bd98d
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 0x1801bd95e
jmp 0x1801bda08
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 0x1801bda08
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 0x1801bd9c4
mov rax, qword [rsp + 0x140]
cmp dword [rax + 0x2c8], 0
jne 0x1801bda35
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 0x1801bdaf0
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.18016d040
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1801bda8a
jmp 0x1801bdaf0
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.1801bb260
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1801bdac1
jmp 0x1801bdaf0
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.1801bb940
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x60]
call fcn.1801b21c0
mov eax, dword [rsp + 0x40]
mov edi, eax
mov rcx, rsp
lea rdx, [0x18027f2a0]
call fcn.180224a80
mov eax, edi
add rsp, 0x130
pop rdi
ret