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

Disassembly:
mov eax, dword [0x407508]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
cmp eax, 1
push esi
jne 0x401f4f
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [0x407504], 1
mov byte [0x407500], bl
jne 0x401fa9
mov ecx, dword [0x407988]
test ecx, ecx
je 0x401f97
mov esi, dword [0x407984]
sub esi, 4
cmp esi, ecx
jb 0x401f97
mov eax, dword [esi]
test eax, eax
je 0x401f90
call eax
mov ecx, dword [0x407988]
sub esi, 4
cmp esi, ecx
jae 0x401f82
push 0x405014
push 0x405010
call fcn.00401fe0
add esp, 8
push 0x40501c
push 0x405018
call fcn.00401fe0
add esp, 8
test ebx, ebx
jne 0x401fd0
push ebp
mov dword [0x407508], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
pop ebp
pop ebx
ret

Function at 0x402590
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x407618]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
push esi
xor esi, esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test eax, eax
jne 0x4025d2
call edi
mov esi, eax
test esi, esi
je 0x4025bc
mov eax, 1
jmp 0x4025cd
call ebp
mov ebx, eax
test ebx, ebx
je 0x4026df
mov eax, 2
mov dword [0x407618], eax
cmp eax, 1
jne 0x402672
test esi, esi
jne 0x4025eb
call edi
mov esi, eax
test esi, esi
je 0x4026df
cmp word [esi], 0
mov eax, esi
je 0x402605
add eax, 2
cmp word [eax], 0
jne 0x4025f3
add eax, 2
cmp word [eax], 0
jne 0x4025f3
sub eax, esi
push 0
sar eax, 1
inc eax
push 0
mov ebp, eax
push 0
push 0
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
je 0x402664
push edi
call fcn.004013b0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x402664
push 0
push 0
push edi
push ebx
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x402656
push ebx
call fcn.00401290
add esp, 4
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 2
jne 0x4026df
test ebx, ebx
jne 0x402683
call ebp
mov ebx, eax
test ebx, ebx
je 0x4026df
mov cl, byte [ebx]
mov eax, ebx
test cl, cl
je 0x40269b
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40268b
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40268b
sub eax, ebx
inc eax
mov esi, eax
push esi
call fcn.004013b0
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x4026bd
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, esi
mov esi, ebx
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x402fd0
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x1a8
mov eax, 0x407200
push ebx
push ebp
push esi
push edi
xor ebp, ebp
cmp ecx, dword [eax]
je 0x402ff4
add eax, 8
inc ebp
cmp eax, 0x407290
jb 0x402fe5
cmp ecx, dword [ebp*8 + 0x407200]
jne 0x40319b
mov eax, dword [0x4074b0]
cmp eax, 1
je 0x40315d
test eax, eax
jne 0x403020
cmp dword [0x405034], 1
je 0x40315d
cmp ecx, 0xfc
je 0x40319b
lea eax, [esp + 0xb4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40305b
mov ecx, 5
mov esi, str._program_name_unknown_
lea edi, [esp + 0xb4]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0xb4]
repne scasb al, byte es:[edi]
not ecx
cmp ecx, 0x3c
jbe 0x4030a4
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 3
mov ebx, ecx
lea ecx, [esp + 0xb8]
sub ecx, 0x3b
push 0x4042e0
add ebx, ecx
push ebx
call fcn.004035e0
add esp, 0xc
mov ecx, 6
mov esi, str.Runtime_Error__n_nProgram:
lea edi, [esp + 0x14]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
or ecx, 0xffffffff
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov ebx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x14]
and ecx, 3
push 0x12010
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4042c0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.Microsoft_Visual_C_Runtime_Library
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp*8 + 0x407204]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00403550
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
mov eax, dword [0x407880]
test eax, eax
je 0x40316e
mov esi, dword [eax + 0x10]
cmp esi, 0xffffffff
jne 0x403178
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov edx, dword [ebp*8 + 0x407204]
lea ecx, [esp + 0x10]
push 0
push ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
Function at 0x10008b50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x10008b5f
pop dword [ebp - 0x14]
mov eax, 0x10008b5f
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x8cf04e90
add dword [ebp - 0x24], 0xc161f6bb
mov dword [ebp - 0x20], 0x3e55a64b
add dword [ebp - 0x20], 0xf3dda5fa
mov dword [ebp - 0x1c], 0xcf9711f7
sub dword [ebp - 0x1c], 0x834acdc9
mov dword [ebp - 0x18], 0xbe959ef
sub dword [ebp - 0x18], 0xbe959ef
lea eax, [ebp - 0x24]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xacf88d9d
sub dword [ebp - 0x24], 0x38862447
mov dword [ebp - 0x20], 0xfaf60052
sub dword [ebp - 0x20], 0xb9899edd
mov dword [ebp - 0x1c], 0x2e297635
add dword [ebp - 0x1c], 0x3545f637
mov dword [ebp - 0x18], 0x537e466
sub dword [ebp - 0x18], 0x537e466
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0xe4e29991
sub eax, 0xd4e0e97d
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x40cc2
push 0
call eax
mov ecx, 0xc9194be6
add ecx, 0x36e705a5
mov ebx, eax
mov edx, 0xc12ef19e
sub edx, 0xb12c419e
add edx, dword [ebp - 0x14]
mov edi, 0x6ebdee58
xor dword [ebp - 4], 0x773e34a3
mov esi, dword [edx]
xor dword [ebp - 0x10], 0xe8025a93
add esi, edi
mov dword [ebx], esi
mov dword [ebp - 8], 0x24c9c865
add ebx, 4
add edx, 4
loop 0x10008c71
add eax, 0x138ff
xor ebx, ebx
add ebx, eax
add eax, 0x3c766fae
add eax, 0xc3899057
mov ecx, 0x8d54432c
sub ecx, 0x7d54432c
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x4039c1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x4039d0
pop dword [ebp - 0x10]
mov eax, 0x4039d0
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x434f4945
add dword [ebp - 0x20], 0xb02fc06
mov dword [ebp - 0x1c], 0xf8438814
sub dword [ebp - 0x1c], 0xc6103bcf
mov dword [ebp - 0x18], 0x5a0386c6
sub dword [ebp - 0x18], 0xdb74298
mov dword [ebp - 0x14], 0x2cca7896
add dword [ebp - 0x14], 0xd335876a
lea eax, [ebp - 0x20]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0xc2b8d154
add dword [ebp - 0x20], 0xb1b99802
mov dword [ebp - 0x1c], 0x5dfdd2e8
add dword [ebp - 0x1c], 0xe36e8e8d
mov dword [ebp - 0x18], 0x38360d11
sub dword [ebp - 0x18], 0xd4c6a0a5
mov dword [ebp - 0x14], 0x280385ce
sub dword [ebp - 0x14], 0x280385ce
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x3c8cc7e6
add eax, 0xc3b378a2
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x39e4c
push 0
call eax
mov ecx, 0x3469419f
add ecx, 0xcb97131b
xor edi, edi
add edi, eax
mov ebx, 0xeb1502ca
sub ebx, 0xead47aca
add ebx, dword [ebp - 0x10]
mov esi, 0x24963c4f
add esi, 0x40b28aea
sub dword [ebp - 8], 0xdd7368a8
mov edx, dword [ebx]
xor dword [ebp - 4], esi
xor edx, esi
xor dword [ebp - 8], 0x3e0ddc6c
mov dword [edi], edx
sub dword [ebp - 0xc], 0xf0a8f647
add edi, 0x3eed7149
sub edi, 0x3eed7145
add ebx, 0x159ddd52
sub ebx, 0x159ddd4e
loop 0x403aea
add eax, 0x800d12ee
sub eax, 0x800bcd33
xor ebx, ebx
add ebx, eax
add eax, 0x230426c2
add eax, 0xdcfbd943
mov ecx, 0x400000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x1065c058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1065c1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1065c07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1065c06a
add dl, dl
jne 0x1065c089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1065c0dc
xor eax, eax
add dl, dl
jne 0x1065c096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1065c17d
add dl, dl
jne 0x1065c0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1065c0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1065c0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1065c0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1065c0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1065c075
mov eax, 1
add dl, dl
jne 0x1065c0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1065c0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1065c0e1
sub eax, ebx
mov ebx, 1
jne 0x1065c128
mov ecx, 1
add dl, dl
jne 0x1065c10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1065c119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1065c105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1065c075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1065c13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1065c14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1065c136
cmp eax, 0x7d00
jae 0x1065c16d
cmp eax, 0x500
jb 0x1065c168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1065c075
cmp eax, 0x7f
ja 0x1065c170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1065c075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1065c19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1065c075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x1039edb8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1039edc2
pushal
call 0x1039edc8
pop ebp
sub ebp, 0x10
sub ebp, 0x39edb8
mov al, byte [esp + 0x28]
cmp al, 1
je 0x1039edec
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x1039edf5
mov eax, 0x39edb8
add eax, ebp
add eax, 0x63
mov ecx, 0x602
mov edx, 0x7262d1f1
xor byte [eax], dl
inc eax
dec ecx
jne 0x1039ee0c
jmp 0x1039ee1f
jp 0x1039ee5d
jp 0x1039ee9b
int 0xf1
int1
int1
jo 0x1039ee59
or ecx, esi
int1
int1
cmp al, 0x49
int1
int1
int1
dec ebx
fyl2x
int1
int1
push es
adc esi, edx
cmp dword [edx + 0x70], edi
std
int1
int1
int1
xor al, 0xa1
mov eax, dword [0xff8a4599]
int1
cdq
invalid
sbb esp, esi
int1
int1
int1
sbb bh, bl
int1
int1
int1
movsb byte es:[edi], byte [esi]
jp 0x1039ee83
jp 0x1039eedc
je 0x1039ee62
stc
int1
int1
int1
jp 0x1039eed2
std
int1
int1
int1
jp 0x1039eef0
loope 0x1039ee67
int1
int1
xor byte [eax], bl
sal bl, 0x72
xor esi, ebp
mov eax, 0xe0574fe
push cs
push cs
jp 0x1039ee66
add eax, 0x7a0e0e0e
fst st(5)
jl 0x1039ee21
aad 0x7c
xchg ebp, eax
aad 0xf5
xor edi, ebp
int1
jp 0x1039ef10
aad 0xf5
int1
int1
int1
cdq
inc ebp
mov bh, bh
int1
push ecx
cdq
invalid
mov bl, 0x6d
jae 0x1039ef38
ret 0x7038
push edx
or esi, dword [eax + 3]
popal
iretd
invalid
in eax, dx
enter 0xa71, 0x19
invalid
aam 0xfe
jne 0x1039eef8
int1
int1
int1
mov al, 0x18
cmp eax, 0xd80e0e0e
mov ebp, 0x3072f0c8
hlt
hlt
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x40bdb9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x40bdc8
pop dword [ebp - 0x1c]
mov eax, 0x2df333e3
sub eax, 0x2db2761b
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x8be4cd90
add dword [ebp - 0x2c], 0xc26d77bb
mov dword [ebp - 0x28], 0x2d445cb5
add dword [ebp - 0x28], 0x4eeef90
mov dword [ebp - 0x24], 0x6f3a45dd
sub dword [ebp - 0x24], 0x22ee01af
mov dword [ebp - 0x20], 0xa4e5522
add dword [ebp - 0x20], 0xf5b1aade
lea eax, [ebp - 0x2c]
push eax
mov eax, 0xb43fe70a
sub eax, 0xb3ff16b6
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x6825ba60
add dword [ebp - 0x2c], 0xc4caef6
mov dword [ebp - 0x28], 0x53c6cf3a
sub dword [ebp - 0x28], 0x125a6dc5
mov dword [ebp - 0x24], 0x9f5de118
add dword [ebp - 0x24], 0xc4118b54
mov dword [ebp - 0x20], 0xe6a70d9a
add dword [ebp - 0x20], 0x1958f266
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0xa2e06f1d
sub eax, 0xa29f9ed1
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x3e01a
push 0
call eax
mov ecx, 0x59f2
xor edx, edx
add edx, eax
mov esi, 0x41b000
add esi, dword [ebp - 0x1c]
mov ebx, 0xdc7e3f0f
add ebx, 0x4f0e77a9
sub dword [ebp - 8], eax
mov edi, dword [esi]
xor dword [ebp - 0x10], 0x162eb932
sub edi, ebx
sub dword [ebp - 0x18], esi
mov dword [edx], edi
xor dword [ebp - 0x10], 0x89c39a1e
add edx, 0xbf9fdb61
add edx, 0x406024a3
add esi, 0xc3a37de2
add esi, 0x3c5c8222
loop 0x40bee0
add eax, 0x15a9b
xor ebx, ebx
add ebx, eax
add eax, 0x18d0db23
add eax, 0xe72f24e2
mov ecx, 0x5bef681d
add ecx, 0xa45097e3
invalid
invalid
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..data
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x27820a59
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..text
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x3169776c
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x40ba78
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebx
push esi
push edi
mov edi, eax
mov ebx, edx
dec ebx
test ebx, ebx
jl 0x40babe
inc ebx
xor esi, esi
test esi, esi
je 0x40ba95
push 0xfa
call sub.kernel32.dll_Sleep
mov eax, edi
call fcn.004033a0
push eax
call sub.kernel32.dll_DeleteFileA
test eax, eax
jne 0x40babe
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
je 0x40babe
call sub.kernel32.dll_GetLastError_1
cmp eax, 3
je 0x40babe
inc esi
dec ebx
jne 0x40ba87
pop edi
pop esi
pop ebx
ret

Function at 0x40bc54
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
lea ebx, [ebp - 0x74]
xor eax, eax
push ebp
push 0x40bd46
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x78]
mov eax, esi
call fcn.0040b280
push dword [ebp - 0x78]
push 0x40bd5c
push edi
lea eax, [ebp - 4]
mov edx, 3
call fcn.004032ac
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00402738
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004033a0
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x40bcdf
mov al, 0x60
call fcn.0040bac4
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x40bcf6
push ebx
call sub.user32.dll_TranslateMessage
push ebx
call sub.user32.dll_DispatchMessageA
push 1
push 0
push 0
push 0
push ebx
call sub.user32.dll_PeekMessageA
test eax, eax
jne 0x40bcea
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x40bcf6
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bd4d
lea eax, [ebp - 0x78]
call fcn.00403120
lea eax, [ebp - 4]
call fcn.00403120
ret
Function at 0x406ee0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x406f14
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x406f5b
lea eax, [ebp - 0x714]
push eax
call fcn.00404ed5
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.00404e8a
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x406f66
jmp 0x406f6b
jmp 0x406867

Function at 0x407458
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40d018]
jne 0x407462
repz ret
jmp fcn.004079e2

Function at 0x407f90
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x40d018]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x430], ax
push 0x208
push 0
lea ecx, [ebp - 0x42e]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
xor edx, edx
mov word [ebp - 0x218], dx
push 0x208
push 0
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x438], 0
push 0x105
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x438]
push edx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x434]
push ecx
push 0x105
lea edx, [ebp - 0x430]
push edx
push 0x40a8d8
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x408056
push 0xa
push 0x104
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x434]
push ecx
call dword [sym.imp.MSVCR90.dll__itow_s]
add esp, 0x10
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x408078
push str.thsnYaViMRAeBoda
push 0x104
mov eax, dword [ebp + 8]
push eax
call fcn.00406310
cmp dword [ebp + 0xc], 0
je 0x408090
mov ecx, dword [ebp + 0xc]
push ecx
push 0x104
mov edx, dword [ebp + 8]
push edx
call fcn.00406310
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407458
mov esp, ebp
pop ebp
ret
Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret

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

Disassembly:
pushal
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x40632d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x40633c
pop dword [ebp - 0x2c]
mov eax, 0x40633c
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x97b4e6fa
add dword [ebp - 0x3c], 0xb69d5e51
mov dword [ebp - 0x38], 0xdf8b58e7
add dword [ebp - 0x38], 0x52a7f35e
mov dword [ebp - 0x34], 0xd19e7308
sub dword [ebp - 0x34], 0x85522eda
mov dword [ebp - 0x30], 0x3984f2ef
sub dword [ebp - 0x30], 0x3984f2ef
lea eax, [ebp - 0x3c]
push eax
mov eax, 0xfd92669d
add eax, 0x2ae09c3
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x928c315d
add dword [ebp - 0x3c], 0xe1e637f9
mov dword [ebp - 0x38], 0x44cb82ab
add dword [ebp - 0x38], 0xfca0deca
mov dword [ebp - 0x34], 0xba016e6e
add dword [ebp - 0x34], 0xa96dfdfe
mov dword [ebp - 0x30], 0xf3bbec1d
add dword [ebp - 0x30], 0xc4413e3
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x741e25ac
add eax, 0x8c224b54
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x34b2d
push 0
call eax
mov ecx, 0xac9da075
sub ecx, 0xac9d6023
xor edi, edi
add edi, eax
mov edx, 0x410000
add edx, dword [ebp - 0x2c]
mov esi, 0x2d39dcec
add dword [ebp - 0x10], 0xc015e93a
mov ebx, dword [edx]
xor dword [ebp - 0x1c], ebx
add ebx, esi
mov dword [edi], ebx
mov dword [ebp - 0x28], 0x15bbc216
add edi, 0x36ca9da3
add edi, 0xc9356261
add edx, 0x3b6c0c98
add edx, 0xc493f36c
loop 0x40644f
add eax, 0xf41b
mov ebx, eax
add eax, 0xd56b072b
sub eax, 0xd56b0726
mov ecx, 0x6fb925b2
sub ecx, 0x6f7925b2
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941