joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415d56
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426d21
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov dword [ebp - 0x40], ecx
push 6
push 0x4e8
push 0x28
push 1
mov ecx, dword [ebp - 0x40]
call sub.MFC42.DLL_CAsyncSocket::Socket
test eax, eax
jne 0x415d92
xor eax, eax
jmp 0x415f35
mov dword [ebp - 0x14], 1
push 0xffff
push 4
lea eax, [ebp - 0x14]
push eax
push 4
mov ecx, dword [ebp - 0x40]
call fcn.00403110
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x415dbe
xor eax, eax
jmp 0x415f35
mov dword [ebp - 0x18], 0x10
mov ecx, dword [ebp - 0x18]
push ecx
push 0
lea edx, [ebp - 0x2c]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov word [ecx], 6
mov edx, dword [ebp - 0x1c]
mov ax, word [ebp + 8]
mov word [edx + 0xc], ax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp + 8]
mov dword [ecx + 0xc], edx
push 0xe
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x40]
call fcn.00403150
test eax, eax
jne 0x415e1a
call fcn.00415fa0
mov dword [ebp - 0x30], eax
xor eax, eax
jmp 0x415f35
push 5
mov ecx, dword [ebp - 0x40]
call fcn.00415fb0
cmp eax, 0xffffffff
jne 0x415e30
xor eax, eax
jmp 0x415f35
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 4]
push ecx
call sub.WSOCK32.dll_getsockname
cmp eax, 0xffffffff
jne 0x415e50
xor eax, eax
jmp 0x415f35
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 4], 0
mov ecx, 0x432454
call sub.MFC42.DLL_CString::Empty
mov dword [ebp - 0x34], 0
jmp 0x415e7b
mov edx, dword [ebp - 0x34]
add edx, 1
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 4
jge 0x415ec0
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x34]
xor ecx, ecx
mov cl, byte [eax + 2]
mov edx, dword [ebp - 0x3c]
add edx, ecx
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
push eax
push 0x430934
lea ecx, [ebp - 0x38]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [ebp - 0x38]
push edx
mov ecx, 0x432454
call fcn.00425564
jmp 0x415e72
mov ecx, 0x43244c
call sub.MFC42.DLL_CString::Empty
mov dword [ebp - 0x34], 0
jmp 0x415edc
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 6
jge 0x415f21
mov dword [ebp - 0x3c], 0
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x34]
xor edx, edx
mov dl, byte [ecx + 6]
mov eax, dword [ebp - 0x3c]
add eax, edx
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
push ecx
push str._2.2X
lea edx, [ebp - 0x38]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x43244c
call fcn.00425564
jmp 0x415ed3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x416fcd
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426e09
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.00416eba
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x417007
xor eax, eax
jmp 0x4170a4
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, 0x432430
call fcn.00418fc0
mov edx, dword [eax + 4]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
je 0x417031
push 0
push 0
push 0x10
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
call sub.comnet.dll_LCOMNET_GetMyDir
push eax
lea ecx, [ebp - 0x14]
call fcn.00425570
mov dword [ebp - 4], 0
push 0x430b14
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00425564
push 0x430b18
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x14]
call fcn.00403090
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 1
mov edx, dword [ebp - 0x18]
push edx
mov ecx, 0x432430
call fcn.00418fe0
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4170b4
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426e29
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x684
mov dword [ebp - 0x68c], ecx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 4], 0
call sub.comnet.dll_LCOMNET_GetMyDir
push eax
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x430b20
lea ecx, [ebp - 0x42c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [ebp - 0x530]
push edx
mov ecx, 0x432418
call fcn.00412305
push 0
push 4
lea eax, [ebp - 0x670]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x670]
push ecx
lea edx, [ebp - 0x42c]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x417161
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
jmp 0x4172c0
mov byte [ebp - 0x122], 0
cmp dword [ebp - 0x10], 0xffffffff
je 0x4172b1
lea eax, [ebp - 0x644]
push eax
lea ecx, [ebp - 0x222]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [ebp - 0x530]
push edx
mov ecx, 0x432418
call fcn.0041235b
lea eax, [ebp - 0x644]
push eax
lea ecx, [ebp - 0x14]
call fcn.0042554c
push 0xc0
call fcn.00401500
mov dword [ebp - 0x688], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x688], 0
je 0x4171d6
mov ecx, dword [ebp - 0x688]
call fcn.004085af
mov dword [ebp - 0x690], eax
jmp 0x4171e0
mov dword [ebp - 0x690], 0
mov ecx, dword [ebp - 0x690]
mov dword [ebp - 0x684], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x684]
mov dword [0x4323ec], edx
mov dword [ebp - 0x680], 0
mov dword [ebp - 0x67c], 0
mov dword [ebp - 0x678], 0xa
mov dword [ebp - 0x674], 0xa
push 0
push 1
mov eax, dword [ebp - 0x68c]
push eax
lea ecx, [ebp - 0x680]
push ecx
push 0x40cf0000
push 0
push 0
mov edx, dword [0x4323ec]
mov eax, dword [edx]
mov ecx, dword [0x4323ec]
call dword [eax + 0x5c]
mov ecx, dword [0x4323ec]
add ecx, 0x54
mov dword [0x43241c], ecx
lea edx, [ebp - 0x42c]
push edx
mov ecx, 0x432418
call fcn.004125d8
mov eax, dword [0x4323ec]
mov dword [eax + 0x68], 1
mov ecx, dword [0x4323ec]
mov edx, dword [ecx + 0x20]
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x68c]
call fcn.00416f1b
lea ecx, [ebp - 0x670]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4172ac
jmp 0x4172b1
jmp 0x417168
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x41afef
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
lea eax, [ebp - 0x114]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionProfileList
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41b021
xor eax, eax
jmp 0x41b0c8
mov dword [ebp - 0x110], 0x104
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0x10c]
push edx
lea eax, [ebp - 4]
push eax
push 0
push str.ProfilesDirectory
mov ecx, dword [ebp - 0x114]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x41b066
mov edx, dword [ebp - 0x114]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x41b0c8
cmp dword [ebp - 4], 2
jne 0x41b0a5
mov dword [ebp - 0x110], 0x104
mov eax, dword [ebp - 0x110]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
jne 0x41b0a3
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x41b0c8
jmp 0x41b0b6
lea ecx, [ebp - 0x10c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x41b6ad
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push 0xf003f
push 0
push 0x432470
push 0
push 0x431114
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x41b6e3
xor eax, eax
jmp 0x41b71e
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
mov eax, dword [ebp + 0xc]
push eax
push 1
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x41b70f
xor eax, eax
jmp 0x41b71e
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x41b722
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 1
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x43114c
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41b752
xor eax, eax
jmp 0x41b778
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x41b76b
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x41b77c
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov dword [ebp - 0x114], 1
lea eax, [ebp - 0x118]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRunServices
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41b7b5
xor eax, eax
jmp 0x41b805
mov dword [ebp - 0x110], 0x104
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0x10c]
push edx
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x118]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x41b7f2
mov dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x114]
mov esp, ebp
pop ebp
ret

Function at 0x41bb47
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov dword [ebp - 0x408], 0
mov dword [ebp - 0x40c], 0x400
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x40c]
push eax
lea ecx, [ebp - 0x404]
push ecx
mov edx, dword [ebp - 0x408]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x41bbf2
lea ecx, [ebp - 4]
push ecx
push 0xf003f
push 0
lea edx, [ebp - 0x404]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41bbc5
mov ecx, dword [ebp - 4]
push ecx
call fcn.0041bb47
add esp, 4
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x404]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x41bbde
xor eax, eax
jmp 0x41bbf7
mov edx, dword [ebp - 0x408]
add edx, 1
mov dword [ebp - 0x408], edx
jmp 0x41bb64
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x41c124
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call fcn.0041c0a5
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41c13f
jmp 0x41c18d
cmp dword [ebp + 0x10], 0
jne 0x41c15f
push 4
mov ecx, dword [ebp + 0x14]
push ecx
push 4
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x41c183
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
mov edx, dword [ebp + 0x10]
push edx
push 1
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x41c191
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push eax
call fcn.0041c0a5
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x41c1ae
jmp 0x41c228
cmp dword [ebp + 0x10], 0
jne 0x41c1f4
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], 4
mov dword [ebp - 4], 4
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 4]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x41c1f2
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
jmp 0x41c21e
mov dword [ebp - 8], 0x105
mov dword [ebp - 4], 1
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x41c22c
Capabilities:
Create service
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push 0x94
push 0
lea eax, [ebp - 0x9c]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x9c], 0x94
lea ecx, [ebp - 0x9c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x8c], 2
jne 0x41c2fc
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x41c28b
xor eax, eax
jmp 0x41c301
push 0
push 0
push 0
push 0
push 0
mov edx, dword [ebp + 0x10]
push edx
push 0
push 1
push 1
push 0xe00f01ff
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41c2ee
cmp dword [ebp + 0x14], 0
je 0x41c2d3
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
jmp 0x41c301
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x41c301
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x41d009
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4270fa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x16c
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x158], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.00425570
mov dword [ebp - 4], 0
push 0x4312b4
push 1
lea ecx, [ebp - 0x164]
push ecx
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Right
mov dword [ebp - 0x174], eax
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0x178], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x178]
push eax
call fcn.0040d8b0
mov byte [ebp - 0x160], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x164]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x160]
and ecx, 0xff
test ecx, ecx
je 0x41d0b4
push 0x4312b8
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator_1
push 0x4312bc
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator_1
lea edx, [ebp - 0x150]
push edx
lea ecx, [ebp - 0x10]
call fcn.00403090
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 0xffffffff
je 0x41d1c3
mov eax, dword [ebp - 0x150]
and eax, 0x10
test eax, eax
je 0x41d191
lea ecx, [ebp - 0x124]
push ecx
lea ecx, [ebp - 0x15c]
call fcn.00425570
mov byte [ebp - 4], 2
push 0x4312c0
lea edx, [ebp - 0x15c]
push edx
call fcn.0040d8b0
and eax, 0xff
test eax, eax
je 0x41d182
push 0x4312c4
lea eax, [ebp - 0x15c]
push eax
call fcn.0040d8b0
and eax, 0xff
test eax, eax
je 0x41d182
mov ecx, dword [ebp - 0x154]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x168], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x15c]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x168]
jmp 0x41d1e4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x15c]
call sub.MFC42.DLL_CString::CString
lea edx, [ebp - 0x150]
push edx
mov eax, dword [ebp - 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x41d1b6
cmp dword [ebp - 0x158], 0
je 0x41d0ea
mov ecx, dword [ebp - 0x154]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x158]
mov dword [ebp - 0x16c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x41e84a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push edi
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x10], 0
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x58], 0
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x58], 0x44
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x58]
push edx
push 0
push 0
push 0x20
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x41e8ab
call fcn.00415fa0
jmp 0x41e8de
push 0xea60
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0
je 0x41e8dc
mov eax, dword [ebp - 0x14]
jmp 0x41e8de
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x41eb55
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42728b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x430
mov dword [ebp - 0x42c], ecx
push 0x3ff
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [ebp - 0x414]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00425570
mov dword [ebp - 4], 0
push 0x431358
push 1
lea edx, [ebp - 0x41c]
push edx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Right
mov dword [ebp - 0x430], eax
mov eax, dword [ebp - 0x430]
mov dword [ebp - 0x434], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x434]
push ecx
call fcn.0040d8b0
mov byte [ebp - 0x418], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x41c]
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x418]
and edx, 0xff
test edx, edx
je 0x41ec0b
push 0x43135c
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator_1
push 0x431360
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.00425570
mov byte [ebp - 4], 2
push str._
push 1
lea ecx, [ebp - 0x424]
push ecx
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Right
mov dword [ebp - 0x438], eax
mov edx, dword [ebp - 0x438]
mov dword [ebp - 0x43c], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x43c]
push eax
call fcn.0040d8b0
mov byte [ebp - 0x420], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x424]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x420]
and ecx, 0xff
test ecx, ecx
je 0x41ec92
push 0x431374
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator_1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.00425564
push 1
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::GetBuffer
push eax
mov ecx, dword [ebp - 0x42c]
call fcn.0041e84a
mov dword [ebp - 0x428], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x428]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x41ecf7
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4272b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push edi
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x50], 0
mov ecx, 0xe
xor eax, eax
lea edi, [ebp - 0x4c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x4c], 0x440
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.00425570
mov dword [ebp - 4], 0
push 0x431378
push 1
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Right
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x6c]
push eax
call fcn.0040d8b0
mov byte [ebp - 0x54], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x54]
and ecx, 0xff
test ecx, ecx
je 0x41ed9c
push 0x43137c
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator_1
push 1
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::GetBuffer
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
push 0x431380
lea ecx, [ebp - 0x10]
call fcn.00425570
mov byte [ebp - 4], 2
push 1
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::GetBuffer
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x34], 1
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x41ee14
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x5c], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x5c]
jmp 0x41ee39
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 8