joyce8/EMBER2024-capa huggingface dataset:
Function at 0x59b647
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.0059b5c3
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x59b7b6
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x59b7b6
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x59b76b
jg 0x59b6a3
test eax, eax
je 0x59b761
push 1
push 0x1000
call fcn.00594cac
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x59b6c6
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x59b758
push 0x8000
push ebx
call fcn.005935f4
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x59b6ef
jg 0x59b6ea
cmp ecx, 0x1000
jb 0x59b6ef
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00591e8b
add esp, 0x10
cmp eax, 0xffffffff
je 0x59b734
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x59b6ea
jl 0x59b71b
test ecx, ecx
jne 0x59b6dc
push dword [ebp - 0xc]
push ebx
call fcn.005935f4
push esi
call fcn.00594d09
add esp, 0xc
xor ebx, ebx
jmp 0x59b7c4
cmp byte [edi + 0x24], 0
je 0x59b74b
cmp dword [edi + 0x20], 5
jne 0x59b74b
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x59b756
mov ebx, dword [edi + 0x18]
jmp 0x59b758
xor ebx, ebx
push esi
call fcn.00594d09
pop ecx
jmp 0x59b7c4
test ecx, ecx
jg 0x59b72d
jl 0x59b76b
test eax, eax
jae 0x59b72d
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0059b2c0
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x59b78b
cmp byte [edi + 0x1c], 0
je 0x59b72d
jmp 0x59b7bc
push ebx
call fcn.0059b06e
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x59b72d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x59b7c4
cmp byte [edi + 0x1c], 0
je 0x59b7c1
mov ebx, dword [edi + 0x18]
jmp 0x59b7c4
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0059b2c0
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x59ba64
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x62f040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x59baaf
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0059bbff
test al, al
jne 0x59baa9
sub edx, 2
cmp edx, edi
jne 0x59ba8f
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x59bad1
lea eax, [edi + 2]
cmp edx, eax
je 0x59bad1
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0059b9b0
add esp, 0x10
jmp 0x59bbcb
push esi
lea ecx, [ebp - 0x255]
call fcn.0059bbff
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x59bb14
push dword [ebp - 0x25c]
jmp 0x59bac1
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x59bb51
cmp word [ebp - 0x226], 0
je 0x59bb72
cmp word [ebp - 0x226], ax
jne 0x59bb51
cmp word [ebp - 0x224], 0
je 0x59bb72
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0059b9b0
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x59bbbe
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x59bb2b
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x59bba6
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x59bbcb
push 0x59b7e0
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0058a0e0
add esp, 0x10
jmp 0x59bb9b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058078f
leave
ret

Function at 0x5a0a10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x5a0a3d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x5a0a3d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x2d861719
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x386c0576
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401c70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x407018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov dword [ebp - 0x10], 0x696e6977
mov dword [ebp - 0xc], 0x2e74656e
mov dword [ebp - 8], 0x6c6c64
mov dword [ebp - 0xa4], 0x65746e49
mov dword [ebp - 0xa0], 0x74656e72
mov dword [ebp - 0x9c], 0x63617243
mov dword [ebp - 0x98], 0x6c72556b
mov word [ebp - 0x94], 0x41
mov dword [ebp - 0x30], 0x65746e49
mov dword [ebp - 0x2c], 0x74656e72
mov dword [ebp - 0x28], 0x6e65704f
mov word [ebp - 0x24], 0x41
mov dword [ebp - 0x90], 0x65746e49
mov dword [ebp - 0x8c], 0x74656e72
mov dword [ebp - 0x88], 0x6e6e6f43
mov dword [ebp - 0x84], 0x41746365
mov byte [ebp - 0x80], 0
mov dword [ebp - 0x54], 0x70747448
mov dword [ebp - 0x50], 0x6e65704f
mov dword [ebp - 0x4c], 0x75716552
mov dword [ebp - 0x48], 0x41747365
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x7c], 0x70747448
mov dword [ebp - 0x78], 0x646e6553
mov dword [ebp - 0x74], 0x75716552
mov dword [ebp - 0x70], 0x41747365
mov byte [ebp - 0x6c], 0
mov dword [ebp - 0x40], 0x70747448
mov dword [ebp - 0x3c], 0x72657551
mov dword [ebp - 0x38], 0x666e4979
mov word [ebp - 0x34], 0x416f
mov byte [ebp - 0x32], 0
mov dword [ebp - 0x68], 0x65746e49
mov dword [ebp - 0x64], 0x74656e72
mov dword [ebp - 0x60], 0x64616552
mov dword [ebp - 0x5c], 0x656c6946
mov byte [ebp - 0x58], 0
mov dword [ebp - 0xb8], 0x65746e49
mov dword [ebp - 0xb4], 0x74656e72
mov dword [ebp - 0xb0], 0x736f6c43
mov dword [ebp - 0xac], 0x6e614865
mov dword [ebp - 0xa8], 0x656c64
mov dword [ebp - 0xd0], 0x70747448
mov dword [ebp - 0xcc], 0x52646441
mov dword [ebp - 0xc8], 0x65757165
mov dword [ebp - 0xc4], 0x65487473
mov dword [ebp - 0xc0], 0x72656461
mov word [ebp - 0xbc], 0x4173
mov byte [ebp - 0xba], 0
mov dword [ebp - 0x20], 0x64616f4c
mov dword [ebp - 0x1c], 0x7262694c
mov dword [ebp - 0x18], 0x41797261
mov byte [ebp - 0x14], 0
call fcn.00401ae0
mov edx, eax
call fcn.00401b30
mov edi, eax
lea eax, [ebp - 0x20]
push eax
push edx
call edi
lea ecx, [ebp - 0x10]
push ecx
call eax
lea edx, [ebp - 0xa4]
mov ebx, eax
push edx
push ebx
call edi
mov dword [esi], eax
lea eax, [ebp - 0x30]
push eax
push ebx
call edi
lea ecx, [ebp - 0x90]
push ecx
push ebx
mov dword [esi + 4], eax
call edi
lea edx, [ebp - 0x54]
push edx
push ebx
mov dword [esi + 8], eax
call edi
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x7c]
push eax
push ebx
call edi
lea ecx, [ebp - 0x68]
push ecx
push ebx
mov dword [esi + 0x10], eax
call edi
lea edx, [ebp - 0xd0]
push edx
push ebx
mov dword [esi + 0x14], eax
call edi
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x40]
push eax
push ebx
call edi
lea ecx, [ebp - 0xb8]
push ecx
push ebx
mov dword [esi + 0x1c], eax
call edi
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi + 0x20], eax
xor ecx, ebp
mov eax, esi
pop ebx
call fcn.00404fe6
mov esp, ebp
pop ebp
ret
Function at 0x4027c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x407018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0
push 2
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea ecx, [ebp - 0x230]
mov esi, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x40282a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404fe6
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea ecx, [ebp - 0x20c]
mov eax, edi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x402866
test dx, dx
je 0x402862
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x402866
add eax, 4
add ecx, 4
test dx, dx
jne 0x402840
xor eax, eax
jmp 0x40286b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x402899
lea edx, [ebp - 0x230]
push edx
push esi
call ebx
test eax, eax
jne 0x402831
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov eax, 0x4567
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404fe6
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop ebx
xor ecx, ebp
mov eax, 0x1234
pop esi
call fcn.00404fe6
mov esp, ebp
pop ebp
ret
Function at 0x4028c0
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x407018]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edx, 0x72
mov ecx, edx
mov eax, 0x63
mov word [ebp - 0x5c], ax
mov word [ebp - 0x5a], cx
mov ecx, 0x61
mov eax, ecx
mov word [ebp - 0x58], ax
mov eax, 0x73
mov word [ebp - 0x56], ax
mov eax, 0x68
mov word [ebp - 0x54], ax
mov eax, 0x70
mov word [ebp - 0x52], ax
mov eax, ecx
mov word [ebp - 0x50], ax
mov eax, 0x64
mov word [ebp - 0x4e], ax
mov eax, 0x5f
mov word [ebp - 0x4c], ax
mov eax, 0x68
mov word [ebp - 0x4a], ax
mov eax, ecx
mov word [ebp - 0x48], ax
mov eax, 0x6e
mov word [ebp - 0x46], ax
mov eax, 0x64
mov word [ebp - 0x44], ax
mov eax, 0x6c
mov word [ebp - 0x42], ax
mov eax, 0x65
mov word [ebp - 0x40], ax
mov eax, edx
mov word [ebp - 0x3e], ax
mov eax, 0x2e
mov word [ebp - 0x3c], ax
mov eax, 0x65
mov word [ebp - 0x3a], ax
mov eax, 0x78
mov word [ebp - 0x38], ax
mov eax, 0x65
mov word [ebp - 0x36], ax
xor eax, eax
mov dword [ebp - 0x30], 0x510051
mov dword [ebp - 0x2c], 0x750047
mov dword [ebp - 0x28], 0x6c0069
mov dword [ebp - 0x24], 0x2e0064
mov dword [ebp - 0x20], 0x780065
mov dword [ebp - 0x1c], 0x65
mov word [ebp - 0x34], ax
mov dword [ebp - 0x14], 0x64616f4c
mov dword [ebp - 0x10], 0x7262694c
mov dword [ebp - 0xc], 0x41797261
mov byte [ebp - 8], al
call fcn.00401ae0
add eax, 1
sub eax, 1
inc eax
sub eax, 1
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
push ecx
push edx
call fcn.00401b30
call eax
lea edi, [ebp - 0x30]
call fcn.004027c0
cmp eax, 0x1234
jne 0x402a0c
mov eax, 2
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404fe6
mov esp, ebp
pop ebp
ret
lea edi, [ebp - 0x5c]
call fcn.004027c0
cmp eax, 0x1234
jne 0x402a2f
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop edi
call fcn.00404fe6
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x402a40
Capabilities:
Contain obfuscated stackstrings
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x407018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor edx, edx
push 0x228
push edx
lea eax, [ebp - 0x22c]
push eax
xor ebx, ebx
mov dword [ebp - 0x248], 0x360033
mov dword [ebp - 0x244], 0x740030
mov dword [ebp - 0x240], 0x610072
mov dword [ebp - 0x23c], 0x2e0079
mov dword [ebp - 0x238], 0x780065
mov dword [ebp - 0x234], 0x65
call sub.MSVCR100.dll_memset
add esp, 0xc
push ebx
push 2
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea ecx, [ebp - 0x230]
mov esi, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x402aea
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404fe6
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea ecx, [ebp - 0x20c]
lea eax, [ebp - 0x248]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x402b26
test dx, dx
je 0x402b22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x402b26
add eax, 4
add ecx, 4
test dx, dx
jne 0x402b00
xor eax, eax
jmp 0x402b2b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x402b3f
lea edx, [ebp - 0x230]
push edx
push esi
call edi
test eax, eax
jne 0x402af1
jmp 0x402b44
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00404fe6
mov esp, ebp
pop ebp
ret
Function at 0x402b60
Capabilities:
Contain obfuscated stackstrings
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x407018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x228
mov word [ebp - 0x234], ax
xor edi, edi
lea eax, [ebp - 0x22c]
push edi
push eax
mov dword [ebp - 0x240], 0x510051
mov dword [ebp - 0x23c], 0x65002e
mov dword [ebp - 0x238], 0x650078
mov dword [ebp - 0x250], 0x490054
mov dword [ebp - 0x24c], 0x2e004d
mov dword [ebp - 0x248], 0x780065
xor edx, edx
mov dword [ebp - 0x244], 0x65
call sub.MSVCR100.dll_memset
add esp, 0xc
push edi
push 2
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea ecx, [ebp - 0x230]
mov esi, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x402c1d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404fe6
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x402c30
lea ecx, [ebp - 0x20c]
lea eax, [ebp - 0x240]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x402c66
test dx, dx
je 0x402c62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x402c66
add eax, 4
add ecx, 4
test dx, dx
jne 0x402c40
xor eax, eax
jmp 0x402c6b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x402cc3
lea ecx, [ebp - 0x20c]
lea eax, [ebp - 0x250]
jmp 0x402c80
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x402ca6
test dx, dx
je 0x402ca2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x402ca6
add eax, 4
add ecx, 4
test dx, dx
jne 0x402c80
xor eax, eax
jmp 0x402cab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x402cc3
lea edx, [ebp - 0x230]
push edx
push esi
call ebx
test eax, eax
jne 0x402c30
jmp 0x402cc9
mov edi, dword [ebp - 0x228]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop ebx
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00404fe6
mov esp, ebp
pop ebp
ret
Function at 0x402cf0
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x407018]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
push edi
push eax
push 4
xor edi, edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], 0x1c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
jne 0x402d52
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404fe6
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Thread32Next]
lea esp, [esp]
mov ecx, dword [ebp + 8]
cmp dword [ebp - 0x14], ecx
je 0x402d75
lea edx, [ebp - 0x20]
push edx
push esi
call ebx
test eax, eax
jne 0x402d60
jmp 0x402d78
mov edi, dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop ebx
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00404fe6
mov esp, ebp
pop ebp
ret
Function at 0x403d90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x407018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], 0x696e6977
mov dword [ebp - 0xc], 0x2e74656e
mov dword [ebp - 8], 0x6c6c64
mov dword [ebp - 0xa4], 0x65746e49
mov dword [ebp - 0xa0], 0x74656e72
mov dword [ebp - 0x9c], 0x63617243
mov dword [ebp - 0x98], 0x6c72556b
mov word [ebp - 0x94], 0x41
mov dword [ebp - 0x30], 0x65746e49
mov dword [ebp - 0x2c], 0x74656e72
mov dword [ebp - 0x28], 0x6e65704f
mov word [ebp - 0x24], 0x41
mov dword [ebp - 0x90], 0x65746e49
mov dword [ebp - 0x8c], 0x74656e72
mov dword [ebp - 0x88], 0x6e6e6f43
mov dword [ebp - 0x84], 0x41746365
mov byte [ebp - 0x80], 0
mov dword [ebp - 0x54], 0x70747448
mov dword [ebp - 0x50], 0x6e65704f
mov dword [ebp - 0x4c], 0x75716552
mov dword [ebp - 0x48], 0x41747365
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x7c], 0x70747448
mov dword [ebp - 0x78], 0x646e6553
mov dword [ebp - 0x74], 0x75716552
mov dword [ebp - 0x70], 0x41747365
mov byte [ebp - 0x6c], 0
mov dword [ebp - 0x40], 0x70747448
mov dword [ebp - 0x3c], 0x72657551
mov dword [ebp - 0x38], 0x666e4979
mov word [ebp - 0x34], 0x416f
mov byte [ebp - 0x32], 0
mov dword [ebp - 0x68], 0x65746e49
mov dword [ebp - 0x64], 0x74656e72
mov dword [ebp - 0x60], 0x64616552
mov dword [ebp - 0x5c], 0x656c6946
mov byte [ebp - 0x58], 0
mov dword [ebp - 0xb8], 0x65746e49
mov dword [ebp - 0xb4], 0x74656e72
mov dword [ebp - 0xb0], 0x736f6c43
mov dword [ebp - 0xac], 0x6e614865
mov dword [ebp - 0xa8], 0x656c64
mov dword [ebp - 0xd0], 0x70747448
mov dword [ebp - 0xcc], 0x52646441
mov dword [ebp - 0xc8], 0x65757165
mov dword [ebp - 0xc4], 0x65487473
mov dword [ebp - 0xc0], 0x72656461
mov word [ebp - 0xbc], 0x4173
mov byte [ebp - 0xba], 0
mov dword [ebp - 0x20], 0x64616f4c
mov dword [ebp - 0x1c], 0x7262694c
mov dword [ebp - 0x18], 0x41797261
mov byte [ebp - 0x14], 0
call fcn.00401ae0
mov edx, eax
call fcn.00401b30
mov esi, eax
lea eax, [ebp - 0x20]
push eax
push edx
call esi
lea ecx, [ebp - 0x10]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x403f71
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404fe6
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0xa4]
push edx
push edi
call esi
mov dword [0x407744], eax
lea eax, [ebp - 0x30]
push eax
push edi
call esi
lea ecx, [ebp - 0x90]
push ecx
push edi
mov dword [0x407740], eax
call esi
lea edx, [ebp - 0x54]
push edx
push edi
mov dword [0x40773c], eax
call esi
mov dword [0x407738], eax
lea eax, [ebp - 0x7c]
push eax
push edi
call esi
lea ecx, [ebp - 0x68]
push ecx
push edi
mov dword [0x407734], eax
call esi
lea edx, [ebp - 0xd0]
push edx
push edi
mov dword [0x407730], eax
call esi
mov dword [0x40772c], eax
lea eax, [ebp - 0x40]
push eax
push edi
call esi
lea ecx, [ebp - 0xb8]
push ecx
push edi
mov dword [0x407728], eax
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [0x407724], eax
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00404fe6
mov esp, ebp
pop ebp
ret
Function at 0x404fe6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x407018]
jne 0x404ff0
repz ret
jmp fcn.004053f7

Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
mov ecx, 0x508357f5
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
nop
mov ecx, 0x62171c63
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
jmp 0x431219