joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002fa0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x10014044
mov ebx, ecx
call dword [0x10010184]
push dword [0x10017a88]
lea edx, [ebp - 0x104]
push dword [0x10017a94]
push dword [0x10017a9c]
push ecx
mov ecx, ebx
call fcn.10001b30
mov eax, dword [0x10017a8c]
add esp, 0x10
test eax, 0x400
je 0x10003056
mov esi, dword [0x10017a9c]
mov edi, str.SenseShield
push 0x48264
jmp fcn.100428b0
test al, 1
je 0x100030b8
mov esi, dword [0x10017a9c]
mov edi, str.SenseShield
push 0x484d0
jmp fcn.100428b0
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x100030c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x1001404c
mov esi, ecx
call dword [0x10010184]
push dword [0x10017a88]
lea edx, [ebp - 0x104]
push dword [0x10017a94]
push dword [0x10017a9c]
push ecx
mov ecx, esi
call fcn.10001b30
add esp, 0x10
test dword [0x10017a8c], 0x400
je 0x10003175
mov esi, dword [0x10017a9c]
mov edi, str.SenseShield
push 0x486e0
jmp fcn.100428b0
test byte [0x10017a8c], 1
je 0x100031d8
mov esi, dword [0x10017a9c]
mov edi, str.SenseShield
push 0x4894c
jmp fcn.100428b0
test byte [0x10017a8c], 2
mov esi, dword [0x10017a90]
je 0x100031ee
xor ecx, ecx
call fcn.100020f0
test esi, esi
jle 0x100031ff
imul eax, esi, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
test dword [0x10017a8c], 0x200
mov eax, dword [0x10017c40]
pop edi
pop esi
je 0x1000321d
test eax, eax
je 0x1000321d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 1
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
test eax, eax
je 0x10003240
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x10003246
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call dword [0x10010188]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100044fa
mov esp, ebp
pop ebp
ret

Function at 0x10004150
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, dword [0x10017a9c]
push 0x10014274
call dword [0x10010184]
mov eax, dword [0x10017e48]
test eax, eax
je 0x10004174
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test dword [esi + 0x4c], 0x200
pop esi
je 0x100041a6
test dword [0x10017a8c], 0x200
je 0x10004196
xor edx, edx
mov ecx, str.ss:ss_logout
call fcn.10001d70
mov eax, dword [0x10017c40]
test eax, eax
je 0x100041a6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [0x10017ba0]
call dword [0x10018484]
call dword [0x10010188]
ret 4
Function at 0x42e003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
mov ecx, 0x42e72121
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0xb7c56e2
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x4019a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x4019cc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x4019f4
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x4019fa
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x401a62
jg 0x401a11
test esi, esi
je 0x401a62
test ecx, ecx
jl 0x401a5d
jg 0x401a1b
test eax, eax
je 0x401a5d
cmp edi, ecx
jg 0x401a2f
jl 0x401a25
cmp esi, eax
jae 0x401a2f
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x401a65
mov ecx, dword [ebp + 8]
jmp 0x401a6f
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x401a89
jg 0x401a6f
test esi, esi
je 0x401a89
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x401a89
push eax
push esi
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x401f30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x407040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x401f60
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040300c
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x401f9c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x401f9c
lea ecx, [edi - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040300c
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x402073
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x401fc4
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x401fd0
movsx eax, bl
jmp 0x402008
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x402032
sub eax, 1
je 0x402032
sub eax, 2
jne 0x402073
movsx eax, byte [ebp - 0x25]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040300c
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x402050
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x402073
lea ecx, [ebp - 0x25]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [ebp - 0x30], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040300c
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040300c
mov esp, ebp
pop ebp
ret 4
Function at 0x4022a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x407040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x40235c
cmp byte [esi + 0x3d], 0
je 0x40235c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x40234a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x402311
sub eax, 1
je 0x402315
sub eax, 2
jne 0x40234a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040300c
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x402333
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x40234a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040300c
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040300c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0040300c
mov esp, ebp
pop ebp
ret

Function at 0x4038ad
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4038ec
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4038ec
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4038ec
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4038ec
cmp dword [ecx + 0x74], 0xe
jbe 0x4038ec
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x443735
Capabilities:
Terminate process

Disassembly:
push ebx
xor eax, eax
push eax
push eax
call fcn.0057b2e0
mov dword [section..data], 0x1700189
mov dword [section..data], 0x170018a
mov dword [esp], 0
mov dword [section..data], 0x170018b
mov dword [esp + 4], 0
mov dword [section..data], 0x170018c
push dword [esp + 0x10]
push 0
push 1
call sub.KERNEL32.dll_OpenProcess
mov dword [esp], eax
mov dword [section..data], 0x170018d
mov ebx, dword [esp]
and ebx, ebx
je 0x4437e7
mov dword [section..data], 0x170018e
push 1
push dword [esp + 4]
call sub.KERNEL32.dll_TerminateProcess
and eax, eax
je 0x4437cb
mov dword [section..data], 0x170018f
mov dword [esp + 4], 1
mov dword [section..data], 0x1700190
mov dword [section..data], 0x1700191
push dword [esp]
call sub.KERNEL32.dll_CloseHandle
mov dword [section..data], 0x1700192
mov dword [section..data], 0x1700193
mov eax, dword [esp + 4]
jmp 0x44380d
add esp, 8
pop ebx
ret 4
Function at 0x44639b
Capabilities:
Get disk information

Disassembly:
push ebp
push ebx
push edi
mov edx, 7
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x4463a3
call fcn.0057b2e0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [section..data], 0xa001b5
mov dword [section..data], 0xa001bb
mov dword [esp + 0x14], 1
mov dword [section..data], 0xa001be
call sub.KERNEL32.dll_GetLogicalDrives
mov dword [esp + 4], eax
mov dword [section..data], 0xa001c0
cmp dword [esp + 4], 0
je 0x446554
mov dword [section..data], 0xa001c3
mov dword [esp + 8], 1
mov dword [section..data], 0xa001c5
mov dword [esp + 0xc], 0
jmp 0x446430
mov dword [section..data], 0xa001c5
mov eax, 0x19
cmp eax, dword [esp + 0xc]
jl 0x446548
mov dword [section..data], 0xa001c6
mov ebx, dword [esp + 4]
mov edi, dword [esp + 0xc]
mov ecx, edi
mov eax, 1
shl eax, cl
mov edi, eax
and ebx, edi
and ebx, ebx
je 0x44652a
mov dword [section..data], 0xa001c7
push edx
call fcn.0057b460
pop edx
push eax
push edx
call fcn.0057b460
pop edx
push eax
mov ebx, dword [esp + 0x14]
add ebx, 0x41
push ebx
call fcn.005694e0
mov edx, 0x69f8f8
push edx
call fcn.0057b230
lea eax, [esp + 0x14]
push eax
call fcn.0057b350
mov dword [section..data], 0xa001ca
push dword [esp + 0x10]
call sub.KERNEL32.dll_GetDriveTypeW
mov dword [esp + 0x18], eax
mov dword [section..data], 0xa001cc
mov ebx, dword [esp + 0x18]
cmp ebx, 5
je 0x4464d8
mov dword [section..data], 0xa001ce
jmp 0x446520
mov dword [section..data], 0xa001ce
mov dword [section..data], 0xa001d1
push dword [esp]
call fcn.0056b129
mov dword [section..data], 0xa001d2
mov edx, dword [esp + 0x10]
push edx
call fcn.0057b460
pop edx
push eax
push edx
call fcn.0057b230
mov eax, dword [esp + 4]
mov ebp, dword [eax + 8]
lea eax, [ebp + 8]
push eax
call fcn.0057b350
mov dword [section..data], 0xa001d4
mov dword [section..data], 0xa001d5
mov dword [section..data], 0xa001d6
inc dword [esp + 0xc]
jno 0x446426
mov dword [section..data], 0xa001d7
jmp 0x446570
mov dword [section..data], 0xa001d7
mov dword [section..data], 0xa001d8
mov dword [esp + 0x14], 0
mov dword [section..data], 0xa001d9
mov dword [section..data], 0xa001db
mov eax, dword [esp + 0x14]
jmp 0x446596
push dword [esp + 0x10]
call fcn.0057b3c0
add esp, 0x1c
pop edi
pop ebx
pop ebp
ret 4
Function at 0x446f79
Capabilities:
Get disk size

Disassembly:
push ebx
mov edx, 7
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x446f7f
call fcn.0057b2e0
mov edx, dword [esp + 0x24]
lea ecx, [esp]
call fcn.0050d0f0
mov dword [section..data], 0xa00110
mov dword [section..data], 0xa00119
push edx
call fcn.0057b460
pop edx
push eax
push edx
call fcn.0057b460
pop edx
push eax
push 1
push dword [esp + 0xc]
call fcn.005698f0
mov edx, 0x69a23e
push edx
call fcn.0057b230
lea eax, [esp + 4]
push eax
call fcn.0057b350
mov dword [section..data], 0xa0011b
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0xc]
push eax
push dword [esp + 0xc]
call sub.KERNEL32.dll_GetDiskFreeSpaceExW
and eax, eax
je 0x4470ba
mov dword [section..data], 0xa0011d
push dword [esp + 0x28]
mov dword [section..data], 0xa0011e
xor ebx, ebx
cmp ebx, dword [esp]
jne 0x447054
mov dword [section..data], 0xa0011f
lea eax, [esp + 0x10]
mov edx, dword [eax + 4]
mov eax, dword [eax]
add esp, 4
jmp 0x4470e8
mov dword [section..data], 0xa00121
mov ebx, 1
cmp ebx, dword [esp]
jne 0x44708c
mov dword [section..data], 0xa00122
lea eax, [esp + 0x18]
mov edx, dword [eax + 4]
mov eax, dword [eax]
add esp, 4
jmp 0x4470e8
mov dword [section..data], 0xa00124
mov dword [section..data], 0xa00125
mov edx, 0xffffffff
mov eax, 0xfffffffe
add esp, 4
jmp 0x4470e8
mov dword [section..data], 0xa00127
mov dword [section..data], 0xa00129
mov edx, 0xffffffff
mov eax, 0xffffffff
jmp 0x4470e8
push edx
push dword [esp + 4]
call fcn.0057b3c0
pop edx
add esp, 0x1c
pop ebx
ret 8
Function at 0x4900d3
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov edx, 9
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x4900d9
call fcn.0057b2e0
mov dword [section..data], 0x9d
mov dword [section..data], 0x9f
lea eax, [esp]
push eax
call sub.KERNEL32.dll_GetNativeSystemInfo
mov dword [section..data], 0xa0
lea ebp, [esp]
cmp word [ebp], 0
je 0x49012d
mov dword [section..data], 0xa1
mov eax, 1
jmp 0x490143
mov dword [section..data], 0xa2
mov dword [section..data], 0xa3
xor eax, eax
add esp, 0x24
pop ebp
ret
Function at 0x4b3232
Capabilities:
Enumerate processes

Disassembly:
push ebp
push ebx
mov edx, 0x8d
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x4b3239
call fcn.0057b2e0
mov dword [section..data], 0x180011d
mov dword [section..data], 0x1800126
push dword [0x6b7c3c]
mov edx, 0x67a5ae
pop ecx
call fcn.0050d1d0
je 0x4b3438
mov dword [section..data], 0x1800127
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [esp + 0x230], eax
mov dword [section..data], 0x1800129
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [esp + 0x22c], eax
mov dword [section..data], 0x180012a
mov ebx, dword [esp + 0x22c]
cmp ebx, 0xffffffff
je 0x4b342e
mov dword [section..data], 0x180012b
lea ebp, [esp]
mov dword [ebp], 0x22c
mov dword [section..data], 0x180012c
lea eax, [esp]
push eax
push dword [esp + 0x230]
call sub.KERNEL32.dll_Process32FirstW
and eax, eax
je 0x4b3367
mov dword [section..data], 0x180012d
mov dword [section..data], 0x180012e
lea ebp, [esp]
mov ebx, dword [ebp + 8]
cmp ebx, dword [esp + 0x230]
jne 0x4b333d
mov dword [section..data], 0x180012f
lea ebp, [esp]
push dword [ebp + 0x18]
pop eax
mov dword [0x6b7c38], eax
mov dword [section..data], 0x1800131
jmp 0x4b3367
mov dword [section..data], 0x1800132
mov dword [section..data], 0x1800133
lea eax, [esp]
push eax
push dword [esp + 0x230]
call sub.KERNEL32.dll_Process32NextW
mov ebx, eax
and ebx, ebx
jne 0x4b32f8
mov dword [section..data], 0x1800134
mov dword [section..data], 0x1800136
lea eax, [esp]
push eax
push dword [esp + 0x230]
call sub.KERNEL32.dll_Process32FirstW
and eax, eax
je 0x4b3424
mov dword [section..data], 0x1800137
mov dword [section..data], 0x1800138
lea ebp, [esp]
mov ebx, dword [ebp + 8]
cmp ebx, dword [0x6b7c38]
jne 0x4b33f6
mov dword [section..data], 0x1800139
push edx
call fcn.0057b460
pop edx
push eax
push edx
call fcn.0057b460
pop edx
push eax
lea ebp, [esp + 8]
push ebp
pop ebp
lea eax, [ebp + 0x24]
push eax
call fcn.0057ae20
lea eax, [0x6b7c3c]
push eax
call fcn.0057b350
mov dword [section..data], 0x180013b
jmp 0x4b3424
mov dword [section..data], 0x180013c
mov dword [section..data], 0x180013d
lea eax, [esp]
push eax
push dword [esp + 0x230]
call sub.KERNEL32.dll_Process32NextW
mov ebx, eax
and ebx, ebx
jne 0x4b3393
mov dword [section..data], 0x180013e
mov dword [section..data], 0x180013f
mov dword [section..data], 0x1800140
mov dword [section..data], 0x1800142
push edx
call fcn.0057b460
pop edx
push eax
push edx
call fcn.0057b460
pop edx
push eax
push dword [0x6b7c3c]
call fcn.00569880
call fcn.0057b490
mov edx, str.cmd.exe
pop ecx
push ecx
call fcn.0050d250
mov ecx, eax
call fcn.0050d1d0
je 0x4b3488
mov eax, 1
jmp 0x4b348a
xor eax, eax
jmp 0x4b3498
add esp, 0x234
pop ebx
pop ebp
ret
Function at 0x4b36ee
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
push ebx
push edi
mov edx, 7
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x4b36f6
call fcn.0057b2e0
mov dword [section..data], 0x18000d5
mov dword [section..data], 0x18000d9
mov ebp, dword [esp + 0x2c]
movsx ebx, word [ebp]
and ebx, ebx
jl 0x4b3736
mov ebp, dword [esp + 0x2c]
movsx ebx, word [ebp + 2]
and ebx, ebx
jl 0x4b3736
jmp 0x4b373d
mov eax, 1
jmp 0x4b373f
xor eax, eax
and eax, eax
je 0x4b3754
mov dword [section..data], 0x18000da
xor eax, eax
jmp 0x4b3826
mov dword [section..data], 0x18000db
mov dword [section..data], 0x18000dd
push 0xfffffff5
call sub.KERNEL32.dll_GetStdHandle
mov dword [esp + 0x18], eax
mov dword [section..data], 0x18000de
lea eax, [esp]
push eax
push dword [esp + 0x1c]
call sub.KERNEL32.dll_GetConsoleScreenBufferInfo
mov dword [section..data], 0x18000e0
mov ebp, dword [esp + 0x2c]
movsx ebx, word [ebp + 2]
lea ebp, [esp]
cmp bx, word [ebp + 2]
jge 0x4b37bb
mov ebp, dword [esp + 0x2c]
movsx ebx, word [ebp]
lea ebp, [esp]
cmp bx, word [ebp]
jge 0x4b37bb
jmp 0x4b37c2
mov eax, 1
jmp 0x4b37c4
xor eax, eax
and eax, eax
je 0x4b37d6
mov dword [section..data], 0x18000e1
xor eax, eax
jmp 0x4b3826
mov dword [section..data], 0x18000e2
mov dword [section..data], 0x18000e4
mov ebp, dword [esp + 0x2c]
movsx ebx, word [ebp]
mov ebp, dword [esp + 0x2c]
movsx edi, word [ebp + 2]
shl edi, 0x10
add ebx, edi
push ebx
push dword [esp + 0x1c]
call sub.KERNEL32.dll_SetConsoleCursorPosition
mov dword [section..data], 0x18000e6
mov eax, 1
jmp 0x4b3826
add esp, 0x1c
pop edi
pop ebx
pop ebp
ret 4
Function at 0x4b41fa
Capabilities:
Enumerate processes

Disassembly:
push ebp
push ebx
mov edx, 0x8d
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x4b4201
call fcn.0057b2e0
mov dword [section..data], 0x1800300
mov dword [section..data], 0x1800304
mov dword [esp], 1
mov dword [section..data], 0x1800305
mov dword [esp + 4], 0
mov dword [section..data], 0x1800308
mov dword [section..data], 0x180030a
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [esp + 4], eax
mov dword [section..data], 0x180030c
mov ebx, dword [esp + 4]
cmp ebx, 0xffffffff
jne 0x4b42c0
mov dword [section..data], 0x180030d
push 0
mov eax, str.ERROR___invalid_handle
push eax
mov eax, str._GetParentPid
push eax
mov eax, str.common_console
push eax
call fcn.004ae98d
mov dword [section..data], 0x180030e
mov dword [esp], 0xfffff570
mov dword [section..data], 0x180030f
jmp 0x4b43db
mov dword [section..data], 0x1800310
mov dword [section..data], 0x1800312
lea ebp, [esp + 8]
mov dword [ebp], 0x22c
mov dword [section..data], 0x1800314
lea eax, [esp + 8]
push eax
push dword [esp + 8]
call sub.KERNEL32.dll_Process32FirstW
and eax, eax
je 0x4b437a
mov dword [section..data], 0x1800315
mov dword [section..data], 0x1800316
lea ebp, [esp + 8]
mov ebx, dword [ebp + 8]
cmp ebx, dword [esp + 0x240]
jne 0x4b433b
mov dword [section..data], 0x1800318
lea ebp, [esp + 8]
push dword [ebp + 0x18]
mov ebp, dword [esp + 0x248]
pop eax
mov dword [ebp], eax
mov dword [section..data], 0x1800319
mov dword [section..data], 0x180031a
lea eax, [esp + 8]
push eax
push dword [esp + 8]
call sub.KERNEL32.dll_Process32NextW
and eax, eax
je 0x4b4365
xor eax, eax
jmp 0x4b436a
mov eax, 1
and eax, eax
je 0x4b42fb
mov dword [section..data], 0x180031b
jmp 0x4b43c7
mov dword [section..data], 0x180031b
mov dword [section..data], 0x180031c
push 0
mov eax, str.ERROR___Process32First_failed
push eax
mov eax, str._GetParentPid
push eax
mov eax, str.common_console
push eax
call fcn.004ae98d
mov dword [section..data], 0x180031d
mov dword [esp], 0xfffff572
mov dword [section..data], 0x180031e
jmp 0x4b43db
mov dword [section..data], 0x180031f
mov dword [section..data], 0x1800321
mov dword [section..data], 0x1800323
cmp dword [esp + 4], 0
je 0x4b43ff
mov dword [section..data], 0x1800324
push dword [esp + 4]
call sub.KERNEL32.dll_CloseHandle
mov dword [section..data], 0x1800325
mov dword [section..data], 0x1800327
mov eax, dword [esp]
jmp 0x4b4424
add esp, 0x234
pop ebx
pop ebp
ret 8
Function at 0x50d2d0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x10]
xor eax, eax
mov dword [ebp + 0xc], ecx
mov byte [ebp + 0xb], al
cmp esi, eax
jbe 0x50d30e
lea ecx, [ecx]
mov edx, dword [ebp + 0xc]
movzx edx, byte [edx + eax]
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + eax]
xor ecx, edx
movzx edx, byte [ebp + 0xb]
or edx, ecx
inc eax
mov byte [ebp + 0xb], dl
cmp eax, esi
jb 0x50d2f0
mov al, byte [ebp + 0xb]
movzx eax, al
dec eax
sar eax, 8
and eax, 1
dec eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x50d330
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x20]
mov dword [0x6b9dc4], eax
cmp eax, 0x10
jb 0x50d352
cmp eax, 4
jae 0x50d357
call fcn.0050d710
push 0x10
push 0x6b9db4
call fcn.0050d7e0
add esp, 8
xor eax, eax
mov esp, ebp
pop ebp
ret