joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400023a0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140021380]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400023c0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400023c8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400023c0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140002410
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002407
test rcx, rcx
je 0x1400023c0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x1400023f8
xor eax, eax
ret

Function at 0x140002420
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140021380]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000243f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002448
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140002460
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140021380]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002480
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002488
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002480
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140002480
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1400024d4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400024e0
add rdx, 0x28
cmp r9, rdx
jne 0x1400024c0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x1400024f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x140021380]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002512
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002520
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002512
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002512
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140002512
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140002575
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002588
add rdx, 0x28
cmp rdx, r10
jne 0x140002560
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002597
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400025a7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000257e
test ecx, ecx
jg 0x140002590
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140007d00
Capabilities:
Inject apc

Disassembly:
push r12
mov eax, 0x17c50
push rbp
push rdi
push rsi
push rbx
call fcn.1400025c0
sub rsp, rax
call dbg.__main
lea rdi, [rsp + 0x50]
mov r8d, 0x17c00
movabs rdx, 0x8efd8964b4c46c70
mov rcx, rdi
mov qword [rsp + 0x48], rdx
movabs rax, 0x9a30db0b7648693d
lea rdx, [0x140009018]
mov qword [rsp + 0x40], rax
call sym.memcpy
call qword [sym.imp.KERNEL32.dll_FreeConsole]
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtTestAlert
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9d, 0x10
lea r8, [rsp + 0x40]
mov rcx, rdi
mov edx, 0x17c00
mov rbp, rax
call sym.DecryptData_char__unsigned_int__char__int_
mov ebx, eax
test eax, eax
jne 0x140007e6a
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
mov edx, 0x17c00
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp byte [0x140008012], 0
lea r12, [rsp + 0x38]
mov rsi, rax
jne 0x140007e4b
mov qword [rsp + 0x38], 0xfffffffffe363c80
mov rdx, r12
xor ecx, ecx
call qword [0x140024038]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x17c00
mov r8, rdi
mov rdx, rsi
mov rcx, rax
xor eax, eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r8d, 0x17c00
mov rdx, rdi
mov rcx, rsi
call sym.memcpy
mov r9, r12
mov edx, 0x17c00
mov rcx, rsi
mov r8d, 0x20
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r8d, r8d
mov rcx, rsi
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
call rbp
mov eax, ebx
add rsp, 0x17c50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov r8, r12
mov edx, 1
mov ecx, 1
call qword [0x140024030]
mov byte [0x140008012], 0
jmp 0x140007dc6
lea rcx, str.Data_decryption_failed_n
mov ebx, 1
call sym.printf_char_const__::_
jmp 0x140007e3b
Function at 0x14013dffc
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x1401715d8], rbx
je 0x14013e063
cmp rax, rbx
jne 0x14013e056
mov ebx, 1
mov esi, ebx
jmp 0x14013e068
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14013e03b
mov ebx, 1
mov eax, dword [0x1401715e0]
cmp eax, ebx
jne 0x14013e080
mov edi, 0x1f
mov ecx, edi
call fcn.140208000
jmp 0x14013e0ec
mov eax, dword [0x1401715e0]
test eax, eax
jne 0x14013e0e1
mov dword [0x1401715e0], ebx
lea r15, [0x140144b00]
lea rdi, [0x140144ae8]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14013e0d3
test eax, eax
jne 0x14013e0d7
cmp qword [rdi], r14
je 0x14013e0c8
mov rax, qword [rdi]
mov rcx, qword [case.0x1400057f3.0]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14013e0aa
test eax, eax
je 0x14013e0e7
mov eax, 0xff
jmp 0x14013e242
mov dword [0x14016fc74], ebx
mov edi, 0x1f
mov eax, dword [0x1401715e0]
cmp eax, ebx
jne 0x14013e113
lea rdx, [0x140144ae0]
lea rcx, [0x140144a50]
call sub.msvcrt.dll__initterm
mov dword [0x1401715e0], 2
test esi, esi
jne 0x14013e121
mov rax, r14
xchg qword [0x1401715d8], rax
cmp qword [0x1401715f8], r14
je 0x14013e154
lea rcx, [0x1401715f8]
call fcn.14013e970
test eax, eax
je 0x14013e154
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x1401715f8]
mov r9, qword [case.0x1400057f3.0]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14013e16d
mov eax, 0xff
jmp 0x14013e242
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14013e1f3
test ax, ax
je 0x14013e188
test edx, edx
jne 0x14013e1f3
sub ax, bx
cmp ax, di
ja 0x14013e19e
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14013e188
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.14005dc10
mov dword [0x14016fc70], eax
cmp dword [0x14016fc90], r14d
jne 0x14013e1dc
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14016fc74], r14d
jne 0x14013e1f1
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14016fc70]
jmp 0x14013e242
cmp ax, 0x22
jne 0x14013e207
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14013e176
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.14013e9f0
add rsp, 0x28
jmp 0x14013dffc
Function at 0x140001870
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140008008]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140001943
cmp byte [rcx + 0x71], 0
je 0x140001943
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000193f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140001904
sub eax, 1
je 0x140001908
cmp eax, 2
jne 0x14000193f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400035e0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140001936
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000193f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400018ec
xor al, al
jmp 0x1400018ec
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400035e0
add rsp, 0x60
pop rbx
ret
Function at 0x140002380
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140008008]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400023ad
xor eax, eax
jmp 0x140002502
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x1400023d8
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x1400023d8
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x140002502
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400024f5
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14000241b
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140002446
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400024fa
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
js 0x1400024f5
cmp eax, 1
jle 0x1400024b5
cmp eax, 3
jne 0x1400024f5
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400024fa
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400024e3
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x1400024f5
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov eax, edi
jne 0x1400024fa
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400035e0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140002c50
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140002c81
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140002c98
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x38], rdi
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140002cbb
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140002cbd
xor ecx, ecx
mov qword [rsp + 0x30], rbx
movsxd rax, ecx
test ecx, ecx
je 0x140002cf7
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
sub rdi, rbx
add r14, rbx
mov r8, rdi
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140002d97
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x140002d32
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov rbx, r8
cmp r8, 0xfff
jbe 0x140002d71
nop
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rdi, rax
add r14, rax
mov rbx, rdi
cmp rax, 0xfff
jne 0x140002db8
cmp rdi, rax
ja 0x140002d40
mov r8, rbx
test rbx, rbx
je 0x140002d97
mov r9, qword [rsi + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r8, rbx
sub r8, rax
sub rbp, r8
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
sub rbp, rdi
jmp 0x140002d9a
Function at 0x140002dc0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je case.default.0x140002df0
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x140002e18
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140002e1a
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140002e73
test ecx, ecx
jle 0x140002e4e
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r14, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140002e73
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140002e73
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400a4480
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
movzx r11d, byte [rdx + 3]
mov rsi, rcx
movzx eax, byte [rdx + 2]
mov r14, r8
movzx ebx, byte [rdx + 0xb]
mov r12d, 4
movzx edi, byte [rdx + 0xf]
shl eax, 0x10
lea r15, [rsi + 0x20]
shl r11d, 0x18
lea rbp, [rsi + 0x10]
add r11d, eax
shl ebx, 0x18
movzx eax, byte [rdx + 1]
shl eax, 8
add r11d, eax
shl edi, 0x18
movzx eax, byte [rdx]
add r11d, eax
movzx eax, byte [rdx + 7]
add r11d, dword [rcx]
movzx ecx, byte [rdx + 6]
shl ecx, 0x10
shl eax, 0x18
add eax, ecx
movzx ecx, byte [rdx + 5]
shl ecx, 8
add eax, ecx
movzx ecx, byte [rdx + 4]
add eax, ecx
movzx ecx, byte [rdx + 0xa]
add eax, dword [rsi + 4]
shl ecx, 0x10
add ebx, ecx
movzx ecx, byte [rdx + 9]
shl ecx, 8
add ebx, ecx
movzx ecx, byte [rdx + 8]
add ebx, ecx
movzx ecx, byte [rdx + 0xe]
add ebx, dword [rsi + 8]
shl ecx, 0x10
add edi, ecx
movzx ecx, byte [rdx + 0xd]
shl ecx, 8
add edi, ecx
movzx ecx, byte [rdx + 0xc]
add edi, ecx
add edi, dword [rsi + 0xc]
nop word [rax + rax]
lea r8d, [r11*2 + 1]
mov r10d, r11d
imul r8d, r11d
lea edx, [rax*2 + 1]
imul edx, eax
mov r9d, eax
ror r8d, 0x1b
ror edx, 0x1b
xor r8d, eax
xor edx, r11d
mov r11d, r8d
movzx ecx, dl
mov eax, edx
xor r11d, ebx
xor eax, edi
rol r11d, cl
mov ebx, r10d
add r11d, dword [rbp - 8]
movzx ecx, r8b
rol eax, cl
mov edi, r9d
add eax, dword [rbp - 4]
lea edx, [r11*2 + 1]
imul edx, r11d
lea ecx, [rax*2 + 1]
imul ecx, eax
ror edx, 0x1b
xor edx, eax
ror ecx, 0x1b
xor ebx, edx
xor ecx, r11d
xor edi, ecx
rol ebx, cl
add ebx, dword [rbp]
movzx ecx, dl
rol edi, cl
add edi, dword [rbp + 4]
lea edx, [rbx*2 + 1]
imul edx, ebx
lea ecx, [rdi*2 + 1]
imul ecx, edi
ror edx, 0x1b
xor edx, edi
xor r11d, edx
ror ecx, 0x1b
xor ecx, ebx
rol r11d, cl
xor eax, ecx
add r11d, dword [r15 - 8]
movzx ecx, dl
rol eax, cl
add eax, dword [rbp + 0xc]
lea edx, [r11*2 + 1]
imul edx, r11d
lea ecx, [rax*2 + 1]
imul ecx, eax
ror edx, 0x1b
xor edx, eax
ror ecx, 0x1b
xor ebx, edx
xor ecx, r11d
xor edi, ecx
rol ebx, cl
add ebx, dword [r15]
movzx ecx, dl
rol edi, cl
add edi, dword [rbp + 0x14]
lea edx, [rbx*2 + 1]
imul edx, ebx
lea ecx, [rdi*2 + 1]
imul ecx, edi
ror edx, 0x1b
xor edx, edi
ror ecx, 0x1b
xor r11d, edx
xor ecx, ebx
rol r11d, cl
xor eax, ecx
add r11d, dword [r15 + 8]
movzx ecx, dl
rol eax, cl
add eax, dword [rbp + 0x1c]
lea r15, [r15 + 0x28]
lea rbp, [rbp + 0x28]
sub r12, 1
jne 0x1400a4540
mov edx, dword [rsi + 0xb0]
mov ecx, dword [rsi + 0xb8]
add edx, r11d
mov rbp, qword [rsp + 0x28]
add ecx, ebx
mov rbx, qword [rsp + 0x20]
mov dword [r14], edx
mov edx, dword [rsi + 0xb4]
mov dword [r14 + 8], ecx
add edx, eax
mov ecx, dword [rsi + 0xbc]
mov rsi, qword [rsp + 0x30]
add ecx, edi
mov rdi, qword [rsp + 0x38]
mov dword [r14 + 0xc], ecx
mov dword [r14 + 4], edx
pop r15
pop r14
pop r12
ret
Function at 0x1400a8d70
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x140225020]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rdx
xor esi, esi
call fcn.1400a4850
call fcn.1400a46c0
xor edx, edx
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400a8dda
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x1400a8dde
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400a8e2f
call fcn.1400a4850
call fcn.1400a46c0
nop dword [rax + rax]
lea rdx, [rsp + 0x4c]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1400a8e16
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400a8df0
jmp 0x1400a8e1a
mov esi, dword [rsp + 0x28]
call fcn.1400a4850
call fcn.1400a46c0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400ac290
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400a8e60
Capabilities:
Encode data using xor
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
push r15
sub rsp, 0x58
mov rax, qword [0x140225020]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rax, r8
mov r15, rdx
mov rdx, rax
lea r8, str.resource
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
test rax, rax
je 0x1400a9008
call fcn.1400a4850
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rbx
xor ecx, ecx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
call fcn.1400a46c0
test rsi, rsi
je 0x1400a9008
mov qword [rsp + 0x80], rbp
call fcn.1400a46c0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
test rax, rax
je 0x1400a8feb
mov qword [rsp + 0x50], r14
call fcn.1400a4850
mov r14d, dword [rsp + 0xa0]
add r14d, 0xfffffc00
add r14d, edi
mov ebx, r14d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, r14d
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x1400a8fe6
mov r8d, ebx
mov rdx, rbp
mov rcx, rax
call fcn.1400b9990
xor ebp, ebp
mov r9d, 0x6659f754
mov r10d, ebp
test r14d, r14d
je 0x1400a8f7a
nop dword [rax]
movzx r8d, byte [r10 + rdi]
mov edx, r9d
movzx ecx, r10b
shl r9d, 8
and cl, 3
or r9d, r8d
shl cl, 3
shr edx, cl
xor dl, r8b
mov byte [r10 + rdi], dl
inc r10
cmp r10, rbx
jb 0x1400a8f50
xor r9d, r9d
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x80
mov edx, 0xc0000000
mov rcx, r15
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbp
mov rcx, rax
mov r8d, r14d
mov rdx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call fcn.1400a46c0
mov r14, qword [rsp + 0x50]
call fcn.1400a4850
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x80]
mov eax, 1
jmp 0x1400a900a
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400ac290
add rsp, 0x58
pop r15
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400a90e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x140225020]
xor rax, rsp
mov qword [rsp + 0x90], rax
movsxd r15, dword [rsp + 0xf0]
xor esi, esi
mov ebp, esi
mov r14d, esi
mov rdi, r9
mov rbx, rdx
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], sil
jne 0x1400a9121
test rax, rax
je 0x1400a916e
mov rcx, rsi
movsxd rax, r14d
lea r8, [rsp + 0x20]
add r8, rax
lea rdx, str._2hhx
add rcx, rbx
call fcn.1400a81a0
add ebp, 2
mov rax, 0xffffffffffffffff
inc r14d
movsxd rcx, ebp
nop dword [rax]
inc rax
cmp byte [rbx + rax], sil
jne 0x1400a9160
cmp rcx, rax
jb 0x1400a9132
lea rbp, [0x14010a358]
test r15d, r15d
jle 0x1400a929f
cmp r15d, 8
jb 0x1400a929f
lea rcx, [r15 - 1]
lea rax, [rsp + 0x20]
add rax, rcx
lea rdx, [rcx + rdi]
cmp rdi, rax
ja 0x1400a91ab
lea rax, [rsp + 0x20]
cmp rdx, rax
jae 0x1400a929f
lea rax, [rcx + rbp]
cmp rdi, rax
ja 0x1400a91bd
cmp rdx, rbp
jae 0x1400a929f
cmp r15d, 0x40
jb 0x1400a926f
mov eax, r15d
and eax, 0xffffffc0
mov rdx, rbp
movsxd rbx, eax
lea r8, [rsp + 0x20]
sub rdx, rdi
lea r9, [0x14010a368]
sub r8, rdi
lea r10, [rsp + 0x30]
sub r9, rdi
sub r10, rdi
lea rcx, [rdi + 0x20]
mov r11, 0xffffffffffffffe0
sub r11, rdi
nop
movdqu xmm0, xmmword [rdx + rcx - 0x20]
add esi, 0x40
movdqu xmm1, xmmword [r8 + rcx - 0x20]
movdqu xmm2, xmmword [r10 + rcx - 0x20]
lea rcx, [rcx + 0x40]
xorps xmm1, xmm0
lea rax, [r11 + rcx]
movdqu xmm0, xmmword [r9 + rcx - 0x60]
movdqu xmmword [rcx - 0x60], xmm1
xorps xmm2, xmm0
movdqu xmm0, xmmword [rdx + rcx - 0x40]
movdqu xmm1, xmmword [r8 + rcx - 0x40]
movdqu xmmword [rcx - 0x50], xmm2
xorps xmm1, xmm0
movdqu xmm0, xmmword [r9 + rcx - 0x40]
movdqu xmm2, xmmword [r10 + rcx - 0x40]
movdqu xmmword [rcx - 0x40], xmm1
xorps xmm2, xmm0
movdqu xmmword [rcx - 0x30], xmm2
cmp rax, rbx
jl 0x1400a9200
mov eax, r15d
and al, 0x3f
cmp al, 8
jb 0x1400a929f
mov eax, r15d
and eax, 0xfffffff8
movsxd rcx, esi
movsxd rdx, eax
nop dword [rax + rax]
movq xmm1, qword [rcx + rbp]
add esi, 8
movq xmm0, qword [rsp + rcx + 0x20]
xorps xmm1, xmm0
movq qword [rcx + rdi], xmm1
add rcx, 8
cmp rcx, rdx
jl 0x1400a9280
movsxd rcx, esi
cmp rcx, r15
jge 0x1400a92c3
nop word [rax + rax]
movzx eax, byte [rcx + rbp]
xor al, byte [rsp + rcx + 0x20]
mov byte [rcx + rdi], al
inc rcx
cmp rcx, r15
jl 0x1400a92b0
mov byte [r15 + rdi], 0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400ac290
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret