joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4011c7
Capabilities:
Check for peb beingdebugged flag

Disassembly:
jmp 0x40f2a0
push 0xffffffffffffffff
push 0x540bb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
xor eax, eax
push esi
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x553980
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
push ecx
push eax
push eax
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::Attach
mov esi, dword [esp + 0x30]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_3
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
mov ecx, esi
lea eax, [edi + 2]
push eax
lea eax, [esp + 0x1c]
push ebx
push eax
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 5]
mov ecx, esi
push eax
push ebx
call sub.MFC42.DLL_CDC::LineTo
lea ebp, [edi + 3]
lea eax, [ebx + 1]
push ebp
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 6]
mov ecx, esi
push eax
lea eax, [ebx + 1]
push eax
call sub.MFC42.DLL_CDC::LineTo
lea eax, [edi + 4]
lea ecx, [ebx + 2]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 7]
mov ecx, esi
push eax
lea eax, [ebx + 2]
push eax
call sub.MFC42.DLL_CDC::LineTo
lea eax, [ebx + 3]
push ebp
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 6]
mov ecx, esi
push eax
lea eax, [ebx + 3]
push eax
call sub.MFC42.DLL_CDC::LineTo
lea eax, [edi + 2]
lea ecx, [ebx + 4]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 5]
mov ecx, esi
push eax
lea eax, [ebx + 4]
push eax
call sub.MFC42.DLL_CDC::LineTo
lea ecx, [edi + 1]
lea eax, [ebx + 5]
push ecx
lea edx, [esp + 0x1c]
push eax
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 4]
mov ecx, esi
push eax
lea eax, [ebx + 5]
push eax
call sub.MFC42.DLL_CDC::LineTo
add ebx, 6
push edi
lea eax, [esp + 0x1c]
push ebx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
push ebp
push ebx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_3
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x10], 0x553950
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x401320
Capabilities:
Connect socket

Disassembly:
jmp 0x423e60
sub esp, 0x30
push ebx
push ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
mov dword [esp + 8], eax
jne 0x423e93
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040218f
add esp, 4
or eax, 0xffffffff
pop ebp
pop ebx
add esp, 0x30
ret
mov ebx, dword [esp + 0x3c]
mov ebp, dword [sym.imp.WS2_32.dll_WSAEventSelect]
push 0x10
push eax
push ebx
call ebp
cmp eax, 0xffffffff
jne 0x423ecb
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.0040218f
add esp, 4
or eax, 0xffffffff
pop ebp
pop ebx
add esp, 0x30
ret
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push esi
push edi
push 0
push 0
push 0
push 0
push ecx
push edx
push ebx
call dword [sym.imp.WS2_32.dll_WSAConnect]
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call edi
cmp esi, 0xffffffff
jne 0x423f63
cmp eax, 0x2733
jne 0x423f63
mov eax, dword [esp + 0x50]
push 1
push eax
lea ecx, [esp + 0x18]
push 1
push ecx
push 1
call dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
test eax, eax
je 0x423f25
call edi
push eax
call fcn.0040218f
add esp, 4
or esi, esi
jmp 0x423f63
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push eax
push ebx
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
cmp eax, 0xffffffff
jne 0x423f4b
call edi
push eax
call fcn.0040218f
add esp, 4
or esi, 0xffffffff
jmp 0x423f63
mov eax, dword [esp + 0x28]
test eax, eax
je 0x423f61
push eax
call fcn.0040218f
add esp, 4
or esi, 0xffffffff
jmp 0x423f63
xor esi, esi
mov ecx, dword [esp + 0x10]
push 0
push ecx
push ebx
call ebp
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
Function at 0x401433
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x448bb0
push ebx
mov ecx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x1c]
lea ebx, [esi + 0xa]
push eax
push 0x40
push ebx
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x448c05
mov ecx, esi
mov esi, dword [esp + 0x18]
mov edx, ecx
push edi
mov edi, ebp
lea eax, [esp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
push ecx
push ebx
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x40143d
Capabilities:
Get common file path

Disassembly:
jmp 0x42d7e0
mov eax, 0x1004
call fcn.00450700
mov al, byte [0x617e9c]
push ebx
mov ebx, 1
push esi
test bl, al
mov dword [esp + 8], 0
jne 0x42d823
mov dl, al
mov ecx, 0x617e98
or dl, bl
mov byte [0x617e9c], dl
call sub.MFC42.DLL_CString::CString_4
push 0x42d8f0
call fcn.004506e8
add esp, 4
mov eax, dword [0x617e98]
push 0x617d8c
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x42d889
push edi
push ebx
lea ecx, [esp + 0x14]
push 0x1a
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edi, 0x5ef7e0
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, 0x617e98
call fcn.0044fce0
pop edi
mov esi, dword [esp + 0x1010]
push 0x617e98
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov eax, esi
pop esi
pop ebx
add esp, 0x1004
ret
Function at 0x40144c
Capabilities:
Read file on windows

Disassembly:
jmp 0x407250
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5402d8
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push 0x65
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ebp, eax
test ebp, ebp
je 0x40738b
mov eax, dword [esp + 0x20]
push 0
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esi + 0x60]
call sub.MFC42.DLL_CListCtrl::GetItemText_1
add esi, 0x1a0
push eax
lea edx, [esp + 0x24]
push esi
push edx
mov dword [esp + 0x24], 0
call sub.MFC42.DLL_operator_1
push str..txt
push eax
lea eax, [esp + 0x10]
mov byte [esp + 0x20], 1
push eax
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 3
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
push 0x5ef944
push ecx
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x407325
push 0x617d8c
mov ecx, ebp
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
pop ebp
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
push ebx
push edi
push 2
push 0
push esi
call dword [sym.imp.MSVCRT.dll_fseek]
push esi
call dword [sym.imp.MSVCRT.dll_ftell]
push esi
mov ebx, eax
call dword [sym.imp.MSVCRT.dll_rewind]
lea edx, [ebx + 1]
push edx
call sub.MFC42.DLL_operatornew
push esi
mov edi, eax
push ebx
push 1
push edi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x28
mov ecx, ebp
mov byte [edi + ebx], 0
push edi
call sub.MFC42.DLL_CWnd::SetWindowTextA
push edi
call dword [sym.imp.MSVCRT.dll_free]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop ebx
mov ecx, dword [esp + 0x10]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x401479
Capabilities:
Read .ini file

Disassembly:
jmp 0x42a500
push 0xffffffffffffffff
push 0x542f5a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf8
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x14], esi
push eax
push edi
push str.ShowFirstMacro
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x10], edi
cmp eax, edi
jle 0x42a787
mov ebx, 1
jmp 0x42a556
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
call fcn.00468160
lea ecx, [esp + 0x94]
mov dword [esp + 0x110], edi
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x98]
mov byte [esp + 0x110], bl
call sub.MFC42.DLL_CString::CString_4
mov dword [esp + 0x9c], 0x555960
mov dword [esp + 0xa0], edi
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], edi
lea ecx, [esp + 0xb0]
mov byte [esp + 0x110], 3
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0xc4]
mov byte [esp + 0x110], 4
call fcn.00401f19
mov dword [esp + 0xc4], 0x555948
lea ecx, [esp + 0xe0]
mov byte [esp + 0x110], 5
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0xf4]
mov byte [esp + 0x110], 6
call sub.MFC42.DLL_CStringArray::CStringArray
xor eax, eax
mov dword [esp + 0x1c], 0x555904
mov dword [esp + 0xd8], eax
mov dword [esp + 0x90], edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0xdc], eax
mov edx, dword [esp + 0x10]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
push ecx
lea ecx, [esi + 4]
mov dword [esp + 0x11c], 7
call fcn.00401168
lea ecx, [esp + 0x20]
call fcn.0046c570
push ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x1c], esp
mov ebp, esp
push 0x10
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
cmp esi, edi
je 0x42a69d
mov dword [esi + 4], edi
mov dword [esi + 8], ebx
mov dword [esi], 0x5546f0
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x20]
mov byte [esp + 0x114], 9
call dword [eax + 0x1c]
mov dword [esi + 0xc], eax
mov dword [esi + 4], 2
jmp 0x42a69f
xor esi, esi
mov ecx, dword [esp + 0x11c]
mov byte [esp + 0x114], 7
mov dword [ebp], esi
call fcn.00470b40
lea ecx, [esp + 0xf4]
mov dword [esp + 0x110], 0x10
call fcn.00450244
lea ecx, [esp + 0xe0]
mov byte [esp + 0x110], 0xf
call fcn.00450244
lea ecx, [esp + 0xc4]
mov byte [esp + 0x110], 0xe
call fcn.00401fe1
lea ecx, [esp + 0xb0]
mov byte [esp + 0x110], 0xd
call fcn.00450244
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x9c], 0x555960
cmp eax, edi
je 0x42a728
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x98]
mov dword [esp + 0x9c], 0x553334
mov byte [esp + 0x110], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x94]
mov byte [esp + 0x110], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x110], 0xffffffff
call fcn.004025d1
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc eax
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x10], eax
cmp eax, edx
jl 0x42a552
mov ecx, dword [esp + 0x108]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x104
ret 4
Function at 0x4014b5
Capabilities:
Delete file

Disassembly:
jmp 0x42a9f0
push 0xffffffffffffffff
push 0x543000
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x28]
push ebp
push esi
push edi
lea eax, [esp + 0x34]
push ebx
mov esi, ecx
push eax
call fcn.00402536
mov ecx, esp
mov dword [esp + 0x18], esp
push str.plugin.zip
push eax
push ecx
mov dword [esp + 0x40], 0
call sub.MFC42.DLL_operator_2
mov ecx, esi
call fcn.004024af
or edi, 0xffffffff
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], edi
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x617d8c
call sub.MFC42.DLL_CString::CString_2
push ecx
mov dword [esp + 0x34], 1
mov edx, esp
mov dword [esp + 0x24], esp
push str.plugin
push 0x617e48
push edx
call sub.MFC42.DLL_operator_2
lea eax, [esp + 0x3c]
mov byte [esp + 0x34], 2
push eax
call fcn.00402536
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.plugin.zip
push eax
push ecx
mov byte [esp + 0x44], 3
call sub.MFC42.DLL_operator_2
mov byte [esp + 0x38], 4
call fcn.00402077
add esp, 0xc
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], edi
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x10]
push edx
call fcn.00402536
add esp, 4
push str.plugin.zip
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x34], 5
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call ebp
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], edi
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
push ebx
push ecx
call fcn.00402536
mov edx, esp
mov dword [esp + 0x28], esp
push str.mymacro.zip
push eax
push edx
mov dword [esp + 0x40], 6
call sub.MFC42.DLL_operator_2
mov ecx, esi
call fcn.004024af
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], edi
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x617d8c
call sub.MFC42.DLL_CString::CString_2
push ecx
mov dword [esp + 0x34], 7
mov eax, esp
mov dword [esp + 0x24], esp
push eax
call fcn.00402536
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 8
push ecx
call fcn.00402536
add esp, 4
mov byte [esp + 0x38], 9
mov edx, esp
mov dword [esp + 0x1c], esp
push str.mymacro.zip
push eax
push edx
call sub.MFC42.DLL_operator_2
mov byte [esp + 0x38], 0xa
call fcn.00402077
add esp, 0xc
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], edi
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x18]
push eax
call fcn.00402536
add esp, 4
push str.mymacro.zip
lea ecx, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x38], 0xb
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push eax
call ebp
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], edi
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 4
Function at 0x4014d3
Capabilities:
Read file via mapping

Disassembly:
jmp 0x444980
mov eax, dword [ecx + 0xcc]
push 4
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x4449a9
mov ecx, dword [esp + 4]
push eax
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
ret 4

Function at 0x401569
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x411590
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
and esi, 0xffff
push 2
push esi
call sub.MFC42.DLL_AfxFindResourceHandle
mov ebp, dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
push 2
push esi
push ebx
call ebp
mov edi, eax
test edi, edi
jne 0x4115cd
xor ebx, ebx
push 2
push esi
push ebx
call ebp
mov edi, eax
test edi, edi
jne 0x4115cd
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4115de
pop edi
pop esi
pop ebp
pop ebx
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x4115ee
pop edi
pop esi
pop ebp
pop ebx
ret
push eax
call fcn.004010f0
add esp, 4
cmp ax, 0x10
je 0x411604
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push 0
push edi
push ebx
call sub.MFC42.DLL_AfxLoadSysColorBitmap
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x401703
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x448c30
sub esp, 0x7d4
push esi
mov esi, ecx
push edi
xor edx, edx
mov ecx, 0x1f3
xor eax, eax
lea edi, [esp + 0x10]
mov dword [esp + 0xc], edx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x7e0]
mov dword [esp + 8], edx
push eax
push edx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push 0x7d0
push edx
push eax
call sub.PSAPI.DLL_EnumProcessModules
mov eax, dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00402257
pop edi
pop esi
add esp, 0x7d4
ret 4

Function at 0x401839
Capabilities:
Delete file

Disassembly:
jmp 0x42bac0
push 0xffffffffffffffff
push 0x5431d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
mov eax, dword [edi + 4]
lea esi, [edi + 4]
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 1
push ecx
mov ecx, esi
call dword [eax + 0x18]
mov eax, dword [eax]
push 0x617d8c
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0xc]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x42bb23
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x54]
push 0
mov ecx, edi
call sub.MFC42.DLL_CString::GetBuffer
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, esi
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CFile::CFile
mov ecx, edi
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x40183e
Capabilities:
Persist via run registry key
Read .ini file

Disassembly:
jmp 0x4199f0
push 0xffffffffffffffff
push 0x541c90
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.00402324
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_2
push 0x617e5c
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 0x617d8c
call sub.MFC42.DLL_CString::CString_2
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_3
lea ecx, [esp + 0x2c]
mov byte [esp + 0x54], bl
call fcn.004a7350
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0x48], 3
call fcn.004a76c0
mov byte [esp + 0x44], 4
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 6
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x14]
push 0x617d8c
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x419b61
mov dword [esi + 0x19c], ebx
jmp 0x419b6b
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.004a74d0
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 0x401889
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x4149d0
push 0xffffffffffffffff
push 0x54103b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x5539dc
mov eax, dword [esi + 0x30]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], 1
je 0x414a60
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x20]
mov ecx, edx
push ebx
sub eax, ecx
mov ecx, dword [esi + 0x28]
mov ebx, edi
sub ecx, ebx
mov ebx, dword [esi + 0x1c]
cmp esi, ebp
je 0x414a27
mov ebp, dword [esi + 4]
push 0xcc0020
push edx
push edi
push ebp
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push edi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x18]
pop ebx
test eax, eax
jne 0x414a51
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x414a66
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x414a66
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
lea edi, [esi + 0x10]
mov dword [esp + 0x10], edi
mov dword [edi], 0x553950
mov ecx, edi
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, esi
mov dword [edi], 0x553334
mov dword [esp + 0x1c], 0xffffffff
call fcn.0044fffe
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x40188e
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
jmp 0x403ff0
push 0xffffffffffffffff
push 0x53fd7f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0044fc4a
xor ebx, ebx
lea ecx, [esi + 0x40]
mov dword [esp + 0x30], ebx
call sub.MFC42.DLL_CString::CString_4
lea edi, [esi + 0x44]
mov byte [esp + 0x30], 1
mov ecx, edi
mov dword [esp + 0x14], edi
call sub.MFC42.DLL_CString::CString_4
lea ecx, [edi + 4]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString_4
mov al, byte [esp + 0xf]
mov cl, byte [esp + 0xf]
mov byte [edi + 0xc], al
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov byte [edi + 0x1c], cl
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x34], ebx
mov ecx, 0x11
mov eax, 0xa
mov dword [esi + 0x7c], 0x55331c
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ecx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], 0x553304
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ecx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb0], eax
mov byte [esp + 0x30], 5
mov dword [esi], 0x55321c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
push ebx
push ebx
lea edx, [esp + 0x20]
push eax
push edx
push ebx
push 0x617d8c
push ebx
mov ecx, esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call sub.MFC42.DLL_CWnd::Create
push ebx
call dword [sym.imp.MSVCRT.dll_time]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 8
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x20]
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x401a14
Capabilities:
Terminate process

Disassembly:
jmp 0x448200
push str.runner.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x448221
push 0x5f101c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x448221
call eax
jmp fcn.00450992