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

Disassembly:
jmp 0x42bfd0
push ecx
push esi
push edi
mov edi, ecx
xor esi, esi
mov eax, dword [edi + 0xc]
test eax, eax
jle 0x42c00e
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ebx, [edi + 4]
lea eax, [esp + 0x10]
push esi
push eax
mov ecx, ebx
call fcn.004011ae
mov ecx, dword [eax]
push ecx
call ebp
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [edi + 0xc]
inc esi
cmp esi, eax
jl 0x42bfe9
pop ebp
pop ebx
pop edi
pop esi
pop ecx
ret

Function at 0x4021f3
Capabilities:
Set current directory

Disassembly:
jmp 0x431cf0
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a706b
push eax
mov eax, 0x1704
mov dword fs:[0], esp
call fcn.004bf010
push esi
mov esi, ecx
lea eax, [esp + 0x208]
lea ecx, [esp + 0x108]
push eax
lea edx, [esp + 0x30c]
push ecx
mov ecx, dword [esi + 0x90]
lea eax, [esp + 0x10]
push edx
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__splitpath]
add esp, 0x14
lea edx, [esp + 0x108]
mov ecx, 0x65a7a4
push edx
call fcn.004be0ae
lea eax, [esp + 8]
mov ecx, 0x65a7a8
push eax
call fcn.004be0ae
lea ecx, [esp + 0x308]
push ecx
mov ecx, 0x65a7a8
call fcn.004be49e
mov edx, dword [0x65a7a8]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0x65a7a8
mov ecx, 0x65a7a8
call sub.MFC42.DLL_CString::operator_3
lea eax, [esp + 0x708]
push 0x1000
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov cl, byte [0x65ab80]
mov al, 1
test al, cl
jne 0x431dd6
or cl, al
mov byte [0x65ab80], cl
lea ecx, [esp + 0x708]
push ecx
mov ecx, 0x65ab7c
call sub.MFC42.DLL_CString::CString_1
push 0x431ed0
call fcn.004beff4
add esp, 4
push 0x2e
mov ecx, 0x65ab7c
call sub.MFC42.DLL_CString::ReverseFind
lea edx, [esp + 4]
push eax
push edx
mov ecx, 0x65ab7c
call sub.MFC42.DLL_CString::Left
push eax
mov ecx, 0x65ab7c
mov dword [esp + 0x1714], 0
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 4]
mov dword [esp + 0x1710], 0xffffffff
call sub.MFC42.DLL_CString::CString
push str..ini
mov ecx, 0x65ab7c
call fcn.004be49e
mov eax, dword [esi + 0x94]
push eax
call dword [sym.imp.MSVCRT.dll_free]
mov ecx, dword [0x65ab7c]
push ecx
call dword [sym.imp.MSVCRT.dll__strdup]
add esp, 8
mov ecx, 0x65ac5c
mov dword [esi + 0x94], eax
push eax
call fcn.004be0ae
mov ecx, dword [esp + 0x1708]
pop esi
mov dword fs:[0], ecx
add esp, 0x1710
ret
Function at 0x40232e
Capabilities:
Create process on windows

Disassembly:
jmp 0x428a10
sub esp, 0x208
mov eax, dword [esp + 0x20c]
push ebx
push ebp
mov ebp, dword [esp + 0x218]
push esi
push edi
push ebp
push 0
push 0
push eax
push str.open
mov edi, ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x428b04
lea ecx, [esp + 0x10]
push ecx
push str..htm
push SysReAllocStringLen
mov ecx, edi
call fcn.00401e79
test eax, eax
jne 0x428b04
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push SysReAllocStringLen
mov ecx, edi
call fcn.00401e79
test eax, eax
jne 0x428b04
lea edx, [esp + 0x10]
push str.__1_
push edx
call dword [sym.imp.MSVCRT.dll__mbsstr]
mov esi, eax
add esp, 8
test esi, esi
jne 0x428ad5
lea eax, [esp + 0x10]
push 0x647508
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
mov esi, eax
add esp, 8
test esi, esi
jne 0x428ad5
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x428ad8
mov byte [esi], 0
push 0x646ac4
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8

Function at 0x402383
Capabilities:
Set socket configuration

Disassembly:
jmp 0x4241e0
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push 4
push eax
push 4
push 0xffff
push ecx
mov dword [esp + 0x14], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x42421b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.004020ef
add esp, 4
or eax, 0xffffffff
pop ecx
ret
xor eax, eax
pop ecx
ret

Function at 0x402388
Capabilities:
Create thread
Resolve dns

Disassembly:
jmp 0x424a90
sub esp, 0x9c
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_inet_addr]
push esi
push edi
mov edi, dword [esp + 0xac]
push edi
call ebx
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x424b54
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x424b2b
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x424b2b
cmp dword [esp + 0x24], 2
jne 0x424b2b
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
push ecx
push 0
push edi
push 0x4013cf
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x424b2b
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea edx, [esp + 0xc]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x424b2b
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
add esp, 0x9c
ret
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x424b43
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x9c
ret
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
call ebx
pop edi
pop esi
pop ebx
add esp, 0x9c
ret
Function at 0x4024be
Capabilities:
Delete file
Encode data using xor
Read file on windows
Set file attributes

Disassembly:
jmp 0x42beb0
push 0xffffffffffffffff
push 0x5a5fc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov eax, dword [esp + 0x1c]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x20]
lea eax, [esp + 8]
push edx
push 4
xor esi, esi
push 1
push eax
mov dword [esp + 0x18], esi
call dword [sym.imp.MSVCRT.dll_fread]
mov eax, dword [esp + 0x18]
add esp, 0x10
cmp eax, esi
jle 0x42bf60
mov ecx, dword [esp + 0x1c]
push 0x647844
push ecx
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
add esp, 8
cmp edi, esi
je 0x42bf60
cmp dword [esp + 8], esi
jle 0x42bf56
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_fputc]
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_fgetc]
mov edx, dword [esp + 0x28]
push edi
push edx
call ebp
add esp, 4
xor eax, 0xcc
push eax
call ebx
mov eax, dword [esp + 0x18]
add esp, 8
inc esi
cmp esi, eax
jl 0x42bf35
pop ebp
pop ebx
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x4024ff
Capabilities:
Receive data
Receive data on socket

Disassembly:
jmp 0x4243a0
sub esp, 0x10
mov edx, dword [esp + 0x1c]
xor ecx, ecx
xor eax, eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 8], edx
push eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
push eax
lea edx, [esp + 0xc]
lea eax, [esp + 8]
mov dword [esp + 0x14], ecx
push edx
mov edx, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push 1
push ecx
push edx
call dword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
jne 0x4243f1
mov eax, dword [esp]
add esp, 0x10
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
neg eax
add esp, 0x10
ret

Function at 0x402545
Capabilities:
Get common file path

Disassembly:
jmp 0x42fd90
mov eax, 0x1004
call fcn.004bf010
mov cl, byte [0x65ab64]
mov al, 1
test al, cl
mov dword [esp], 0
jne 0x42fdcf
mov dl, cl
mov ecx, 0x65ab60
or dl, al
mov byte [0x65ab64], dl
call sub.MFC42.DLL_CString::CString_3
push 0x42fe60
call fcn.004beff4
add esp, 4
mov eax, dword [0x65ab60]
push 0x659680
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x42fe06
lea ecx, [esp + 4]
push ecx
push 0x1000
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 4]
mov ecx, 0x65ab60
push edx
call fcn.004be0ae
push esi
mov esi, dword [esp + 0x100c]
push 0x65ab60
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
mov eax, esi
pop esi
add esp, 0x1004
ret
Function at 0x4025bd
Capabilities:
Send data
Send data on socket

Disassembly:
jmp 0x424640
sub esp, 0xc
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 4], ecx
push eax
push eax
mov dword [esp + 0x10], eax
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
push 1
push ecx
push edx
call dword [sym.imp.WS2_32.dll_WSASend]
test eax, eax
jne 0x42468b
mov eax, dword [esp]
add esp, 0xc
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
neg eax
add esp, 0xc
ret

Function at 0x4025f4
Capabilities:
Get common file path

Disassembly:
jmp 0x42fe80
mov eax, 0x1004
call fcn.004bf010
mov cl, byte [0x65ab5c]
mov al, 1
test al, cl
mov dword [esp], 0
jne 0x42febf
mov dl, cl
mov ecx, 0x65ab58
or dl, al
mov byte [0x65ab5c], dl
call sub.MFC42.DLL_CString::CString_3
push 0x42ff90
call fcn.004beff4
add esp, 4
mov eax, dword [0x65ab58]
push esi
push 0x659680
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x42ff29
push ebx
push edi
lea ecx, [esp + 0x10]
push 0x1000
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, 0x6468b4
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x65ab58
call fcn.004be0ae
pop edi
pop ebx
mov esi, dword [esp + 0x100c]
push 0x65ab58
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
mov eax, esi
pop esi
add esp, 0x1004
ret
Function at 0x4025fe
Capabilities:
Delete file

Disassembly:
jmp 0x42d3a0
push 0xffffffffffffffff
push 0x5a6302
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
mov dword [edi], 0x5beef4
mov dword [esp + 0x20], 9
call fcn.00464870
lea esi, [edi + 0xa4]
mov dword [esp + 0x14], esi
mov dword [esi], 0x5beedc
mov ebp, dword [esi + 4]
xor ebx, ebx
cmp ebp, ebx
mov byte [esp + 0x20], 0xa
je 0x42d405
lea eax, [ebp + 8]
push 1
push eax
call fcn.00402306
mov ebp, dword [ebp]
cmp ebp, ebx
jne 0x42d3f3
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
call sub.MFC42.DLL_CPlex::FreeDataChain
lea ecx, [edi + 0xa0]
mov dword [esi + 0x14], ebx
mov dword [esi], 0x5bc400
mov byte [esp + 0x20], 7
call sub.MFC42.DLL_CString::CString
mov esi, dword [edi + 0x98]
cmp esi, ebx
je 0x42d48f
lea ecx, [esi + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x42d489
cmp esi, ebx
mov dword [esp + 0x14], esi
je 0x42d489
mov ecx, esi
mov byte [esp + 0x20], 0xc
call fcn.004016ae
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esi + 4]
mov byte [esp + 0x20], 0xb
call fcn.004be042
mov ecx, esi
mov byte [esp + 0x20], 6
call sub.MFC42.DLL_CString::CString
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [edi + 0x98], ebx
lea esi, [edi + 0x8c]
mov dword [esp + 0x14], esi
lea ecx, [esi + 8]
mov byte [esp + 0x20], 0xd
call sub.MFC42.DLL_CString::CString
cmp esi, ebx
je 0x42d4af
lea ebp, [esi + 4]
jmp 0x42d4b1
xor ebp, ebp
mov esi, dword [ebp]
cmp esi, ebx
je 0x42d508
lea edx, [esi + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x42d505
cmp esi, ebx
mov dword [esp + 0x14], esi
je 0x42d505
mov ecx, esi
mov byte [esp + 0x20], 0xf
call fcn.004016ae
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esi + 4]
mov byte [esp + 0x20], 0xe
call fcn.004be042
mov ecx, esi
mov byte [esp + 0x20], 5
call sub.MFC42.DLL_CString::CString
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp], ebx
lea esi, [edi + 0x48]
mov dword [esp + 0x14], esi
mov dword [esi], 0x5bee54
mov ecx, esi
mov byte [esp + 0x20], 0x11
call fcn.00472e00
lea ecx, [esi + 0x28]
mov byte [esp + 0x20], 0x10
call fcn.004be750
mov ecx, esi
mov byte [esp + 0x20], 4
call fcn.004be7f2
lea ecx, [edi + 0x44]
mov byte [esp + 0x20], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0x10]
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0xc]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 8]
mov byte [esp + 0x20], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 4]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x402798
Capabilities:
Persist via run registry key
Read .ini file

Disassembly:
jmp 0x41ab10
push 0xffffffffffffffff
push 0x5a4880
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov esi, ecx
call fcn.004022fc
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x190]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov eax, dword [eax + 0x94]
push eax
push ecx
push str.HotkeyMode
push str.Setup
call edi
mov dword [esi + 0x190], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x94]
mov eax, dword [esi + 0x194]
push edx
push eax
push str.ProcessPriority
push str.Setup
call edi
mov dword [esi + 0x194], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov edx, dword [esi + 0x198]
mov ecx, dword [eax + 0x94]
push ecx
push edx
push str.Beep
push str.Setup
call edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
lea ecx, [esp + 0x10]
mov dword [esi + 0x198], eax
call sub.MFC42.DLL_CString::CString_1
push 0x65a7bc
lea eax, [esp + 0x14]
xor ebx, ebx
push str.MyMacro_
push eax
mov dword [esp + 0x50], ebx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 1
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], bl
call sub.MFC42.DLL_CString::CString
push reloc.OLEAUT32.dll_SysReAllocString
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x659680
call sub.MFC42.DLL_CString::CString_1
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x58], 2
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x54], bl
call fcn.004c0a90
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0x48], 3
call fcn.004c0e00
mov byte [esp + 0x44], 4
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 6
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x14]
push 0x659680
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x41ac81
mov dword [esi + 0x19c], ebx
jmp 0x41ac8b
mov dword [esi + 0x19c], 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], bl
call fcn.004c0c10
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x3c
ret
Function at 0x4029af
Capabilities:
Read .ini file

Disassembly:
jmp 0x438d60
push 0xffffffffffffffff
push 0x5a7f17
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
push edi
mov esi, ecx
push eax
push 0x9e
mov dword [esp + 0x10], esi
call sub.MFC42.DLL_CDialog::CDialog_1
lea edi, [esi + 0x60]
mov dword [esp + 0x14], 0
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x5bc890
lea edi, [esi + 0xa0]
mov byte [esp + 0x14], 1
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x5bd89c
lea edi, [esi + 0xe0]
mov byte [esp + 0x14], 2
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x5bd89c
lea edi, [esi + 0x120]
mov byte [esp + 0x14], 3
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x5bc890
lea edi, [esi + 0x160]
mov byte [esp + 0x14], 4
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x5bd89c
lea edi, [esi + 0x1a0]
mov byte [esp + 0x14], 5
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x5bd89c
lea edi, [esi + 0x1e0]
mov byte [esp + 0x14], 6
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x5bd89c
lea edi, [esi + 0x220]
mov byte [esp + 0x14], 7
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x5bd89c
lea edi, [esi + 0x260]
mov byte [esp + 0x14], 8
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x5bdf48
lea ecx, [esi + 0x2a0]
mov byte [esp + 0x14], 9
call fcn.004019b5
lea edi, [esi + 0x2e0]
mov byte [esp + 0x14], 0xa
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x5bd89c
lea edi, [esi + 0x320]
mov byte [esp + 0x14], 0xb
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x5bd89c
mov byte [esp + 0x14], 0xc
push 0
lea ecx, [esi + 0x364]
call fcn.00401faa
lea ecx, [esi + 0x608]
mov byte [esp + 0x14], 0xd
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x60c]
mov byte [esp + 0x14], 0xe
call sub.MFC42.DLL_CString::CString_3
mov byte [esp + 0x14], 0xf
mov dword [esi], 0x5bfdcc
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x94]
push ecx
push 0
push str.LastLoginServer
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x360], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4029dc
Capabilities:
Get common file path

Disassembly:
jmp 0x42ffb0
mov eax, 0x1004
call fcn.004bf010
mov cl, byte [0x65ab54]
mov al, 1
test al, cl
mov dword [esp], 0
jne 0x42ffef
mov dl, cl
mov ecx, 0x65ab50
or dl, al
mov byte [0x65ab54], dl
call sub.MFC42.DLL_CString::CString_3
push 0x4300c0
call fcn.004beff4
add esp, 4
mov eax, dword [0x65ab50]
push esi
push 0x659680
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x430059
push ebx
push edi
lea ecx, [esp + 0x10]
push 0x1000
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, 0x6468b4
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x65ab50
call fcn.004be0ae
pop edi
pop ebx
mov esi, dword [esp + 0x100c]
push 0x65ab50
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
mov eax, esi
pop esi
add esp, 0x1004
ret
Function at 0x4029e1
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x41ce50
push 0xffffffffffffffff
push 0x5a4d88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov eax, dword [esi + 0x20]
push eax
call edi
push eax
call sub.MFC42.DLL_CWnd::FromHandle
push eax
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CClientDC::CClientDC
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x50], 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 0x20]
push edx
call edi
push eax
call sub.MFC42.DLL_CWnd::FromHandle
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call sub.MFC42.DLL_CWnd::ScreenToClient
mov eax, dword [esi + 0x150]
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x41cf86
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x2c]
neg eax
sbb eax, eax
and eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x14c]
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x14]
sub ecx, edi
push eax
push ecx
push edx
lea edi, [esi + 0x15c]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::Attach
test edi, edi
je 0x41cf32
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x150]
push edi
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esi + 0x164], eax
mov eax, dword [esp + 0xc]
sub ecx, edx
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
sub edx, eax
lea eax, [esp + 0x2c]
push 0xcc0020
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x24]
push edi
push eax
push ecx
mov ecx, dword [esi + 0x150]
push edx
push 0
push 0
push ecx
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0x14c]
sub ecx, edi
test edx, edx
je 0x41cfa7
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x60]
push eax
push ecx
push 0
mov eax, dword [edx + 4]
push 0
push eax
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0xffffffff
call fcn.004be696
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x408076
Capabilities:
Create process on windows

Disassembly:
jmp 0x408060
push 0xffffffffffffffff
push 0x5a2f38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_3
mov esi, dword [esi + 0x18c]
mov dword [esp + 0x10], 0
test esi, esi
je 0x4080c9
push edi
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea eax, [esi + 8]
lea ecx, [esp + 8]
push eax
call sub.MFC42.DLL_CString::operator_3
mov ecx, dword [esp + 8]
mov esi, dword [esi]
push 5
push 0x659680
push 0x659680
push ecx
push str.open
push 0
call edi
test esi, esi
jne 0x40809b
pop edi
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret