joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e840
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
lea eax, [ebp - 8]
push eax
push 1
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 - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x41e8a7
mov dword [ebp - 0x10], 0x104
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x114]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x41eac0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
push 5
push 0
mov eax, dword [ebp + 8]
push eax
push str.iexplore.exe
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0x20
jg 0x41eb12
push 5
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0x20
ja 0x41ec26
lea edx, [ebp - 0x20c]
push edx
push str..htm
push SysReAllocStringLen
mov ecx, dword [ebp - 4]
call fcn.0041e840
test eax, eax
jne 0x41ec26
push str._shellopencommand
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x20c]
push edx
push SysReAllocStringLen
mov ecx, dword [ebp - 4]
call fcn.0041e840
test eax, eax
jne 0x41ec26
push 0x436d90
lea eax, [ebp - 0x20c]
push eax
call fcn.0041ec40
add esp, 8
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x41ebe3
push 0x436d8c
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x41ebd8
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp + eax - 0x20d]
mov dword [ebp - 0x214], eax
jmp 0x41ebe1
mov ecx, dword [ebp - 0x214]
mov byte [ecx], 0
jmp 0x41ebec
mov edx, dword [ebp - 0x214]
mov byte [edx], 0
push 0x4360ac
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x210]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41fb20
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0x1000
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0x7a
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x41fc22
cmp dword [ebp - 0x30], 0x7a
je 0x41fb7b
cmp dword [ebp - 0x30], 0x103
je 0x41fc0f
jmp 0x41fca0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov dword [edx], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x18], 0
jne 0x41fbd7
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 0
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
mov dword [ebp - 0x18], eax
xor ecx, ecx
cmp dword [ebp - 0x18], 0
setne cl
mov dword [ebp - 0x20], ecx
jmp 0x41fbec
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x41fbfb
mov dword [ebp - 0x1c], 0
jmp 0x41fc0a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
jmp 0x41fca7
mov dword [ebp - 8], 1
mov dword [ebp - 4], 1
jmp 0x41fca7
cmp dword [ebp + 0xc], 0
je 0x41fc4a
cmp dword [ebp + 8], 0
je 0x41fc3b
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xc]
and ecx, dword [ebp + 8]
test ecx, ecx
je 0x41fc48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
jmp 0x41fc6a
cmp dword [ebp + 8], 0
je 0x41fc5d
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xc]
and edx, dword [ebp + 8]
test edx, edx
jne 0x41fc6a
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
test eax, eax
je 0x41fc8f
mov dword [ebp - 0x1c], 0
jmp 0x41fc9e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
jmp 0x41fca7
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 0
je 0x41fccf
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
cmp dword [ebp - 0x18], 0
je 0x41fccf
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
cmp dword [ebp - 8], 0
je 0x41fb53
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41fec0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 0x40
mov eax, dword [ebp + 0xc]
push eax
push 0x600cd4
call fcn.00420310
add esp, 0xc
push 0x40
push 0x437008
push 0x600cd4
push 0x600cd4
call fcn.00420200
add esp, 0x10
mov ecx, dword [ebp + 0x14]
and ecx, 0xff
test ecx, ecx
jne 0x41ff7a
mov dword [ebp - 4], 0
jmp 0x41ff14
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0x10
jge 0x41ff78
push 0x20
mov eax, dword [0x43f3ac]
push eax
push 0x600cb4
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x30
mov edx, dword [ebp + 0x10]
add edx, ecx
push edx
mov eax, dword [0x43f3ac]
push eax
call fcn.004200e0
add esp, 8
push 0x20
mov ecx, dword [0x43f3a8]
push ecx
mov edx, dword [0x43f3ac]
push edx
call fcn.00420260
add esp, 0xc
push 0x20
push 0x600cb4
mov eax, dword [0x43f3a8]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
jmp 0x41ff0b
jmp 0x41fff2
mov dword [ebp - 8], 0xf
jmp 0x41ff8c
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jl 0x41fff2
push 0x20
mov edx, dword [0x43f3a8]
push edx
push 0x600cb4
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 8]
imul eax, eax, 0x30
mov ecx, dword [ebp + 0x10]
add ecx, eax
push ecx
mov edx, dword [0x43f3a8]
push edx
call fcn.004200e0
add esp, 8
push 0x20
mov eax, dword [0x43f3ac]
push eax
mov ecx, dword [0x43f3a8]
push ecx
call fcn.00420260
add esp, 0xc
push 0x20
push 0x600cb4
mov edx, dword [0x43f3ac]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
jmp 0x41ff83
push 0x40
push 0x437048
push 0x600cd4
push 0x600cd4
call fcn.00420200
add esp, 0x10
push 0x40
push 0x600cd4
mov eax, dword [ebp + 8]
push eax
call fcn.00420360
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x420030
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push 0x40
mov eax, dword [ebp + 0xc]
push eax
push 0x600c74
call fcn.00420310
add esp, 0xc
push 0x38
push 0x4370d8
push 0x600c74
push 0x600c74
call fcn.00420200
add esp, 0x10
mov dword [ebp - 4], 0
jmp 0x420077
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x10
jge 0x4200d7
mov edx, dword [ebp - 4]
movsx eax, byte [edx + 0x437140]
push eax
push 0x1c
mov ecx, dword [0x43f3b0]
push ecx
call fcn.004202b0
add esp, 0xc
mov edx, dword [ebp - 4]
movsx eax, byte [edx + 0x437140]
push eax
push 0x1c
mov ecx, dword [0x43f3b4]
push ecx
call fcn.004202b0
add esp, 0xc
push 0x30
push 0x437110
push 0x600c74
mov edx, dword [ebp - 4]
imul edx, edx, 0x30
mov eax, dword [ebp + 8]
add eax, edx
push eax
call fcn.00420200
add esp, 0x10
jmp 0x42006e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4200e0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
push 0x30
push 0x437088
mov eax, dword [ebp + 8]
push eax
push 0x600c44
call fcn.00420200
add esp, 0x10
push 0x30
mov ecx, dword [ebp + 0xc]
push ecx
push 0x600c44
call fcn.00420260
add esp, 0xc
push 0x600c44
mov edx, dword [ebp + 8]
push edx
call fcn.00420150
add esp, 8
push 0x20
push 0x4370b8
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00420200
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x420640
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432c45
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x164
push ebx
push esi
push edi
mov dword [ebp - 0x14], 1
lea eax, [ebp - 0x18]
push eax
call fcn.004207a0
add esp, 4
mov dword [ebp - 4], 0
mov dword [ebp - 0x120], 0x104
mov dword [ebp - 0x124], 0x20019
call fcn.004203d0
test eax, eax
je 0x4206a2
mov dword [ebp - 0x124], 0xf013f
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x124]
push edx
push 0
lea ecx, [ebp - 0x18]
call fcn.00408e10
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x420764
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x11c]
push ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x11c]
push ecx
lea ecx, [ebp - 0x128]
call fcn.004300a4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x128]
call fcn.00408dd0
test eax, eax
jle 0x420755
lea ecx, [ebp - 0x128]
call fcn.00408e10
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x128]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x12c]
jmp 0x420783
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x128]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x130], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4208e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432cc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push esi
push edi
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x10], 0x437590
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0xc
push 0xa
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], 0xa
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
push ecx
push str._lx
lea edx, [ebp - 0x30]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::TrimRight
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [ebp - 0x3c]
or ecx, 1
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4209d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432ceb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push esi
push edi
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 1
lea eax, [ebp - 0x18]
push eax
call fcn.004207a0
add esp, 4
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 0x104
mov dword [ebp - 0x30], 0x20006
call fcn.004203d0
test eax, eax
je 0x420a32
mov dword [ebp - 0x30], 0xf013f
mov ecx, dword [ebp + 8]
push ecx
push 0x436948
lea edx, [ebp - 0x10]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
push ecx
push 0
mov edx, dword [ebp - 0x30]
push edx
push 0
push 0x435278
push 0
lea eax, [ebp - 0x34]
push eax
call fcn.004207a0
add esp, 4
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3c]
call fcn.00408e10
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
call fcn.00408e10
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
mov dword [ebp - 0x28], eax
push 0
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::GetBuffer
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x2c]
push eax
push 1
push 0
push 0x435278
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424a50
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
push 0x40
push 0
mov eax, dword [ebp - 4]
add eax, 4
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x48], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x4c], 0x67452301
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x50], 0xefcdab89
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0x58], 0x10325476
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a0f0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43384a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov byte [ebp - 0x30], 0
mov ecx, 7
xor eax, eax
lea edi, [ebp - 0x2f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x34], 0
jmp 0x42a13d
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x20
jge 0x42a165
mov ecx, dword [ebp - 0x34]
movsx edx, byte [ecx + 0x438eb8]
sub edx, 1
push edx
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP60.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator___unsigned_int_]
mov ecx, dword [ebp - 0x34]
mov dl, byte [eax]
mov byte [ebp + ecx - 0x30], dl
jmp 0x42a134
push 0x20
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x42b850
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433a7d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call sub.MFC42.DLL_CAsyncSocket::CAsyncSocket
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.0042b980
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x439034
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x14], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x38], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x18], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x44], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x40], 0
push 0x435278
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.004300fe
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x48], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408fd0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46b25b
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.0045faf8
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x409052
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045d70d
mov eax, dword [eax]
push 0x4961d0
push eax
call fcn.0044fba4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045fd83
test bl, bl
je 0x409052
push 0x4961d0
lea ecx, [esp + 0xc]
call fcn.00460113
push 0x499d44
lea ecx, [esp + 0xc]
call fcn.00460113
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 0x40908e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045fd83
jmp 0x409159
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 0x409112
lea edx, [esp + 0x7c]
push 0x499d40
push edx
call fcn.0044fba4
add esp, 8
test eax, eax
je 0x409112
lea eax, [esp + 0x7c]
push 0x499d3c
push eax
call fcn.0044fba4
add esp, 8
test eax, eax
je 0x409112
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 0x4090a2
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.0045fd83
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 0x409950
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 0x4099b2
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 0x4099c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46b2db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4a06f0]
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 0x409af8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x409a26
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045fd83
xor eax, eax
jmp 0x409b6f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045fec0
push esi
lea ecx, [esp + 0xc]
call fcn.0046014f
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x409b4d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00409950
test eax, eax
jne 0x409b4d
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.00409950
test eax, eax
jne 0x409b4d
lea eax, [esp + 0x14]
push 0x499d58
push eax
call fcn.00450be0
mov esi, eax
add esp, 8
test esi, esi
jne 0x409b2c
lea ecx, [esp + 0x14]
push 0x499d54
push ecx
call fcn.00450b60
mov esi, eax
add esp, 8
test esi, esi
jne 0x409b2c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x409b2f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045fe70
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x409a3e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045fd83
xor eax, eax
jmp 0x409b6f
mov byte [esi], 0
push 0x499d50
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.0045fd83
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