Function at 0x18001a960
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
sub rsp, 0xb18
mov rax, qword [0x180097030]
xor rax, rsp
mov qword [rsp + 0xb00], rax
mov edx, 1
lea rcx, [rsp + 0x90]
call fcn.18001b360
lea rcx, [rsp + 0x90]
call fcn.180013430
lea rcx, [rsp + 0x90]
call fcn.180016080
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x18001a9e2
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x4c], eax
lea rcx, [rsp + 0x90]
call fcn.1800138c0
mov eax, dword [rsp + 0x4c]
jmp 0x18001adbb
cmp qword [rsp + 0xb38], 0
je 0x18001aa3b
mov rax, qword [rsp + 0xb38]
cmp qword [rax], 0
je 0x18001aa3b
xor eax, eax
test eax, eax
jne 0x18001a9fb
mov rax, qword [rsp + 0xb38]
mov r8, qword [rax + 8]
mov rax, qword [rsp + 0xb38]
mov rdx, qword [rax]
lea rcx, [rsp + 0x90]
call fcn.180013ea0
mov rax, qword [rsp + 0xb38]
add rax, 0x10
mov qword [rsp + 0xb38], rax
jmp 0x18001a9ed
mov rax, qword [rsp + 0xb20]
mov rax, qword [rax]
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0xb20]
call qword [rax + 0x28]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x18001aa82
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x3c], eax
lea rcx, [rsp + 0x90]
call fcn.1800138c0
mov eax, dword [rsp + 0x3c]
jmp 0x18001adbb
call fcn.18001af70
mov dword [rsp + 0x80], eax
mov edx, 1
lea rcx, [rsp + 0x88]
call fcn.180045b30
lea rcx, [rsp + 0x88]
call fcn.1800390e0
lea rcx, [0x1801222c0]
call fcn.180006a80
mov qword [rsp + 0x40], rax
mov r8d, 0x104
lea rdx, [rsp + 0x4e0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jne 0x18001ab10
call fcn.1800151c0
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0x88]
call fcn.180013500
lea rcx, [rsp + 0x90]
call fcn.1800138c0
mov eax, dword [rsp + 0x54]
jmp 0x18001adbb
cmp dword [rsp + 0x28], 0x104
jne 0x18001ab4b
mov ecx, 0x7a
call fcn.18001b710
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0x88]
call fcn.180013500
lea rcx, [rsp + 0x90]
call fcn.1800138c0
mov eax, dword [rsp + 0x48]
jmp 0x18001adbb
mov qword [rsp + 0x30], 0
mov edx, 0x400
lea rcx, [rsp + 0x4e0]
call fcn.18001a290
mov qword [rsp + 0x30], rax
mov r8, qword [rsp + 0x30]
mov edx, 0x208
lea rcx, [rsp + 0x6f0]
call fcn.180015fa0
cmp qword [rsp + 0x40], 0
je 0x18001ab9d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp qword [rsp + 0x40], rax
jne 0x18001ac7a
mov eax, 2
imul rax, rax, 0
mov ecx, 0x22
mov word [rsp + rax + 0xc0], cx
lea rax, [rsp + 0xc2]
lea r8, [rsp + 0x6f0]
mov edx, 0x20b
mov rcx, rax
call fcn.18001b4a0
movzx eax, al
test eax, eax
jne 0x18001ac02
mov dword [rsp + 0x5c], 0x80004005
lea rcx, [rsp + 0x88]
call fcn.180013500
lea rcx, [rsp + 0x90]
call fcn.1800138c0
mov eax, dword [rsp + 0x5c]
jmp 0x18001adbb
lea rcx, [rsp + 0xc0]
call fcn.18001b510
cdqe
mov qword [rsp + 0x60], rax
mov eax, 0x22
mov rcx, qword [rsp + 0x60]
mov word [rsp + rcx*2 + 0xc0], ax
mov rax, qword [rsp + 0x60]
lea rax, [rax + rax + 2]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0x418
jae 0x18001ac44
jmp 0x18001ac49
call fcn.18004c984
xor eax, eax
mov rcx, qword [rsp + 0x70]
mov word [rsp + rcx + 0xc0], ax
lea r8, [rsp + 0xc0]
lea rdx, str.Module
lea rcx, [rsp + 0x90]
call fcn.180013ea0
mov dword [rsp + 0x24], eax
jmp 0x18001ac9a
lea r8, [rsp + 0x6f0]
lea rdx, str.Module
lea rcx, [rsp + 0x90]
call fcn.180013ea0
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jge 0x18001accc
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x88]
call fcn.180013500
lea rcx, [rsp + 0x90]
call fcn.1800138c0
mov eax, dword [rsp + 0x50]
jmp 0x18001adbb
lea r8, [rsp + 0x6f0]
lea rdx, str.Module_Raw
lea rcx, [rsp + 0x90]
call fcn.180013ea0
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jge 0x18001ad1e
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x58], eax
lea rcx, [rsp + 0x88]
call fcn.180013500
lea rcx, [rsp + 0x90]
call fcn.1800138c0
mov eax, dword [rsp + 0x58]
jmp 0x18001adbb
lea rax, str.REGISTRY
mov qword [rsp + 0x78], rax
mov edx, 0x400
mov rcx, qword [rsp + 0xb28]
call fcn.18001a290
mov qword [rsp + 0x68], rax
cmp dword [rsp + 0xb30], 0
je 0x18001ad6d
mov r9, qword [rsp + 0x78]
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x90]
call fcn.180019c10
mov dword [rsp + 0x2c], eax
jmp 0x18001ad8d
mov r9, qword [rsp + 0x78]
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x90]
call fcn.180019dd0
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x88]
call fcn.180013500
lea rcx, [rsp + 0x90]
call fcn.1800138c0
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb00]
xor rcx, rsp
call fcn.18004b890
add rsp, 0xb18
ret