Function at 0x1400857c0
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, 0xe0
mov rax, qword [0x140134bf8]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor edi, edi
mov dword [rbp - 0x61], edi
mov qword [rbp - 0x31], 0x1000
mov dword [rbp - 0x39], 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 - 0x31]
xor r8d, r8d
lea rdx, [0x14013b470]
lea rcx, [rdi - 1]
call qword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
movabs rsi, 0xe00c3ddb2743e21e
movabs r14, 0x5b3758ecbd970517
movabs r15, 0x5c86d73dd948ee74
movabs r12, 0x98d7f502c5e72091
test eax, eax
js 0x1400859b3
lea rdx, [0x1400f6710]
lea rcx, [rbp - 0x29]
call fcn.140079f00
mov dword [rbp - 0x61], 1
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rdx, qword [rbp - 0x29]
mov rcx, qword [0x14013b470]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
movabs rax, 0x5b475894bdf2054b
mov qword [rbp - 0x69], rax
mov rax, qword [rbp - 0x69]
mov qword [rbp - 0x59], rax
movabs rax, 0x5ce3d74fd927ee18
mov qword [rbp - 0x69], rax
mov rax, qword [rbp - 0x69]
mov qword [rbp - 0x51], rax
movabs rax, 0x98aff567c5c920e3
mov qword [rbp - 0x69], rax
mov rax, qword [rbp - 0x69]
mov qword [rbp - 0x49], rax
movabs rax, 0xe00c3ddb2743e27b
mov qword [rbp - 0x69], rax
mov rax, qword [rbp - 0x69]
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x69], r14
mov rax, qword [rbp - 0x69]
mov qword [rbp - 9], rax
mov qword [rbp - 0x69], r15
mov rax, qword [rbp - 0x69]
mov qword [rbp - 1], rax
mov qword [rbp - 0x69], r12
mov rax, qword [rbp - 0x69]
mov qword [rbp + 7], rax
mov qword [rbp - 0x69], rsi
mov rax, qword [rbp - 0x69]
mov qword [rbp + 0xf], rax
movdqa xmm0, xmmword [rbp - 0x59]
pxor xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 0x59], xmm0
movdqa xmm1, xmmword [rbp - 0x49]
pxor xmm1, xmmword [rbp + 7]
movdqa xmmword [rbp - 0x49], xmm1
lea rdx, [rbp - 0x59]
mov rcx, qword [0x14013b470]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, 1
and eax, 0xfffffffe
mov dword [rbp - 0x61], eax
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x1400859a2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008599d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140085b05
call fcn.1400ae030
movdqa xmm0, xmmword [0x14011c210]
movdqu xmmword [rbp - 0x19], xmm0
mov word [rbp - 0x29], di
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x3000
lea r9, [rbp - 0x31]
xor r8d, r8d
lea rdx, [0x14013b468]
lea rcx, [r8 - 1]
call qword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
test eax, eax
js 0x140085a90
movabs rax, 0x5b5b589cbdef0572
mov qword [rbp - 0x69], rax
mov rax, qword [rbp - 0x69]
mov qword [rbp - 0x59], rax
movabs rax, 0x5cf4d758d93aee1b
mov qword [rbp - 0x69], rax
mov rax, qword [rbp - 0x69]
mov qword [rbp - 0x51], rax
movabs rax, 0x98b2f57ac58220bf
mov qword [rbp - 0x69], rax
mov rax, qword [rbp - 0x69]
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x69], rsi
mov rax, qword [rbp - 0x69]
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x69], r14
mov rax, qword [rbp - 0x69]
mov qword [rbp + 0x17], rax
mov qword [rbp - 0x69], r15
mov rax, qword [rbp - 0x69]
mov qword [rbp + 0x1f], rax
mov qword [rbp - 0x69], r12
mov rax, qword [rbp - 0x69]
mov qword [rbp + 0x27], rax
mov qword [rbp - 0x69], rsi
mov rax, qword [rbp - 0x69]
mov qword [rbp + 0x2f], rax
movdqa xmm0, xmmword [rbp - 0x59]
pxor xmm0, xmmword [rbp + 0x17]
movdqa xmmword [rbp - 0x59], xmm0
movdqa xmm1, xmmword [rbp - 0x49]
pxor xmm1, xmmword [rbp + 0x27]
movdqa xmmword [rbp - 0x49], xmm1
lea rdx, [rbp - 0x59]
mov rcx, qword [0x14013b468]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, qword [rbx + 0x20]
add rcx, 0x60
mov rdx, qword [0x14013b470]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov rcx, qword [rbx + 0x20]
add rcx, 0x70
mov rdx, qword [0x14013b468]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea r8, [rbp - 0x39]
lea rdx, [0x140085740]
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.1400ae010
lea r11, [rsp + 0xe0]
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.140091028
int3