Function at 0x140081fc0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x14012ac00]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor edi, edi
mov dword [rbp - 0x41], edi
mov qword [rbp - 0x11], 0x1000
mov dword [rbp - 0x19], edi
call qword [sym.imp.ntdll.dll_RtlAcquirePebLock]
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 0x60]
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x3000
lea r9, [rbp - 0x11]
xor r8d, r8d
lea rdx, [0x1401314e0]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
movabs rsi, 0x5cc4631d2371135e
movabs r14, 0x36d1ba06876505e3
movabs r15, 0x54b3523e8717854
movabs r12, 0x62ce9ef8e9aa96ad
test eax, eax
js 0x1400821b4
lea rdx, [0x1400f0610]
lea rcx, [rbp - 9]
call fcn.1400769e0
mov dword [rbp - 0x41], 1
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 7
cmova rdx, qword [rbp - 9]
mov rcx, qword [0x1401314e0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
movabs rax, 0x36a1ba7e870005bf
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x39], rax
movabs rax, 0x52e3551e81e7838
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x31], rax
movabs rax, 0x62b69e9de98496df
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x29], rax
movabs rax, 0x5cc4631d2371133b
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x49], r14
mov rax, qword [rbp - 0x49]
mov qword [rbp + 0x17], rax
mov qword [rbp - 0x49], r15
mov rax, qword [rbp - 0x49]
mov qword [rbp + 0x1f], rax
mov qword [rbp - 0x49], r12
mov rax, qword [rbp - 0x49]
mov qword [rbp + 0x27], rax
mov qword [rbp - 0x49], rsi
mov rax, qword [rbp - 0x49]
mov qword [rbp + 0x2f], rax
movdqa xmm0, xmmword [rbp - 0x39]
xorps xmm0, xmmword [rbp + 0x17]
movdqa xmmword [rbp - 0x39], xmm0
movdqa xmm1, xmmword [rbp - 0x29]
xorps xmm1, xmmword [rbp + 0x27]
movdqa xmmword [rbp - 0x29], xmm1
lea rdx, [rbp - 0x39]
mov rcx, qword [0x1401314e0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, 1
and eax, 0xfffffffe
mov dword [rbp - 0x41], eax
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x1400821a3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008219e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140082307
call fcn.1400a9a50
movdqa xmm0, xmmword [0x140112f70]
movdqu xmmword [rbp + 7], xmm0
mov word [rbp - 9], di
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x3000
lea r9, [rbp - 0x11]
xor r8d, r8d
lea rdx, [0x1401314d8]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
test eax, eax
js 0x140082292
movabs rax, 0x36bdba76871d0586
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x39], rax
movabs rax, 0x5393546e803783b
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x31], rax
movabs rax, 0x62ab9e80e9cf9683
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x49], rsi
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x49], r14
mov rax, qword [rbp - 0x49]
mov qword [rbp + 0x17], rax
mov qword [rbp - 0x49], r15
mov rax, qword [rbp - 0x49]
mov qword [rbp + 0x1f], rax
mov qword [rbp - 0x49], r12
mov rax, qword [rbp - 0x49]
mov qword [rbp + 0x27], rax
mov qword [rbp - 0x49], rsi
mov rax, qword [rbp - 0x49]
mov qword [rbp + 0x2f], rax
movdqa xmm0, xmmword [rbp - 0x39]
xorps xmm0, xmmword [rbp + 0x17]
movdqa xmmword [rbp - 0x39], xmm0
movdqa xmm1, xmmword [rbp - 0x29]
xorps xmm1, xmmword [rbp + 0x27]
movdqa xmmword [rbp - 0x29], xmm1
lea rdx, [rbp - 0x39]
mov rcx, qword [0x1401314d8]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, qword [rbx + 0x20]
add rcx, 0x60
mov rdx, qword [0x1401314e0]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov rcx, qword [rbx + 0x20]
add rcx, 0x70
mov rdx, qword [0x1401314d8]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea r8, [rbp - 0x19]
lea rdx, [0x140081f40]
xor ecx, ecx
call qword [sym.imp.ntdll.dll_LdrEnumerateLoadedModules]
call qword [sym.imp.ntdll.dll_RtlReleasePebLock]
mov eax, 1
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400a9a30
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14008d658
int3