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

Disassembly:
jmp 0x42d3a0
push 0xffffffffffffffff
push 0x5a5472
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], 0x5bdef4
mov dword [esp + 0x20], 9
call fcn.004639e0
lea esi, [edi + 0xa4]
mov dword [esp + 0x14], esi
mov dword [esi], 0x5bdedc
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], 0x5bb400
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.004bd1b2
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.004bd1b2
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], 0x5bde54
mov ecx, esi
mov byte [esp + 0x20], 0x11
call fcn.00471f70
lea ecx, [esi + 0x28]
mov byte [esp + 0x20], 0x10
call fcn.004bd8c0
mov ecx, esi
mov byte [esp + 0x20], 4
call fcn.004bd962
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 0x5a39f0
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 0x6597bc
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 0x658680
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.004bfc00
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0x48], 3
call fcn.004bff70
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 0x658680
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.004bfd80
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 0x40295f
Capabilities:
Check os version

Disassembly:
jmp 0x409db0
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x409e62
push 0x94
mov ebx, 1
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x409eda
mov ecx, 0x25
xor eax, eax
mov edi, esi
push esi
rep stosd dword es:[edi], eax
mov dword [esi], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esi + 4]
cmp eax, 4
jne 0x409e16
push esi
mov ebx, 5
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
ret
cmp eax, 5
jne 0x409ed0
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x409e3b
push esi
mov ebx, 6
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
ret
cmp eax, 5
jne 0x409ed0
cmp dword [esi + 8], ebx
jne 0x409ed0
push esi
mov ebx, 7
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
ret
cmp al, 4
jae 0x409e6c
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 0x94
mov ebx, 2
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x409eda
mov ecx, 0x25
xor eax, eax
mov edi, esi
push esi
rep stosd dword es:[edi], eax
mov dword [esi], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esi + 4]
cmp eax, 4
jne 0x409ed0
cmp dword [esi + 8], 0xa
jne 0x409ec0
push esi
mov ebx, 3
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
ret
cmp eax, 4
jne 0x409ed0
cmp dword [esi + 8], 0x5a
jne 0x409ed0
mov ebx, 4
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
pop edi
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4029af
Capabilities:
Read .ini file

Disassembly:
jmp 0x438d60
push 0xffffffffffffffff
push 0x5a7087
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], 0x5bb890
lea edi, [esi + 0xa0]
mov byte [esp + 0x14], 1
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x5bc89c
lea edi, [esi + 0xe0]
mov byte [esp + 0x14], 2
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x5bc89c
lea edi, [esi + 0x120]
mov byte [esp + 0x14], 3
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x5bb890
lea edi, [esi + 0x160]
mov byte [esp + 0x14], 4
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x5bc89c
lea edi, [esi + 0x1a0]
mov byte [esp + 0x14], 5
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x5bc89c
lea edi, [esi + 0x1e0]
mov byte [esp + 0x14], 6
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x5bc89c
lea edi, [esi + 0x220]
mov byte [esp + 0x14], 7
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x5bc89c
lea edi, [esi + 0x260]
mov byte [esp + 0x14], 8
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x5bcf48
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], 0x5bc89c
lea edi, [esi + 0x320]
mov byte [esp + 0x14], 0xb
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x5bc89c
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], 0x5bedcc
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.004be180
mov cl, byte [0x659b54]
mov al, 1
test al, cl
mov dword [esp], 0
jne 0x42ffef
mov dl, cl
mov ecx, 0x659b50
or dl, al
mov byte [0x659b54], dl
call sub.MFC42.DLL_CString::CString_3
push 0x4300c0
call fcn.004be164
add esp, 4
mov eax, dword [0x659b50]
push esi
push 0x658680
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, 0x6458b4
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, 0x659b50
call fcn.004bd21e
pop edi
pop ebx
mov esi, dword [esp + 0x100c]
push 0x659b50
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 0x5a3ef8
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.004bd806
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 0x5a20a8
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 0x658680
push 0x658680
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
Function at 0x42bb5d
Capabilities:
Read .ini file

Disassembly:
jmp 0x42bb40
push 0xffffffffffffffff
push 0x5a50e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
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]
xor ebp, ebp
cmp eax, edi
jle 0x42bdda
mov ebx, 1
jmp 0x42bb96
mov esi, dword [esp + 0x14]
xor edi, edi
lea ecx, [esp + 0x18]
call fcn.004633a0
lea ecx, [esp + 0xdc]
mov dword [esp + 0x1b0], edi
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0xe0]
mov byte [esp + 0x1b0], bl
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0xe4]
mov byte [esp + 0x1b0], 2
call fcn.004011fe
mov dword [esp + 0xe4], 0x5bddc0
mov dword [esp + 0xf8], edi
lea ecx, [esp + 0xfc]
mov byte [esp + 0x1b0], 3
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x110]
mov byte [esp + 0x1b0], 4
call fcn.00401e24
mov dword [esp + 0x110], 0x5bdda8
lea ecx, [esp + 0x164]
mov byte [esp + 0x1b0], 5
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x178]
mov byte [esp + 0x1b0], 6
call sub.MFC42.DLL_CStringArray::CStringArray
push 0xa
lea ecx, [esp + 0x190]
mov byte [esp + 0x1b4], 7
call fcn.00401be0
mov dword [esp + 0xd8], edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x124]
mov dword [esp + 0x18c], 0x5bdd90
mov dword [esp + 0x18], 0x5bdd4c
mov dword [esp + 0x2c], ebx
rep stosd dword es:[edi], eax
push ecx
lea ecx, [esi + 4]
mov eax, esp
mov dword [esp + 0x14], esp
push ebp
push eax
mov dword [esp + 0x1bc], 8
call fcn.004011ae
lea ecx, [esp + 0x1c]
call fcn.00467b50
push ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x14], esp
mov edi, esp
push 0x10
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
je 0x42bcfd
mov dword [esi + 4], 0
mov dword [esi + 8], ebx
mov dword [esi], 0x5bc988
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1b4], 0xa
call dword [edx + 0x1c]
mov dword [esi + 0xc], eax
mov dword [esi + 4], 2
jmp 0x42bcff
xor esi, esi
mov ecx, dword [esp + 0x1bc]
mov byte [esp + 0x1b4], 8
mov dword [edi], esi
call fcn.0046c3b0
lea ecx, [esp + 0x18c]
mov dword [esp + 0x1b0], 0x12
call fcn.00401190
lea ecx, [esp + 0x178]
mov byte [esp + 0x1b0], 0x11
call fcn.004bd78e
lea ecx, [esp + 0x164]
mov byte [esp + 0x1b0], 0x10
call fcn.004bd78e
lea ecx, [esp + 0x110]
mov byte [esp + 0x1b0], 0xf
call fcn.00401efb
lea ecx, [esp + 0xfc]
mov byte [esp + 0x1b0], 0xe
call fcn.004bd78e
lea ecx, [esp + 0xe4]
mov byte [esp + 0x1b0], 0xd
call fcn.004026ad
lea ecx, [esp + 0xe0]
mov byte [esp + 0x1b0], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xdc]
mov byte [esp + 0x1b0], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x1b0], 0xffffffff
call fcn.004025fe
mov eax, dword [esp + 0x14]
inc ebp
cmp ebp, dword [eax + 0xc]
jl 0x42bb90
mov ecx, dword [esp + 0x1a8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1a4
ret 4
Function at 0x433fec
Capabilities:
Read .ini file

Disassembly:
jmp 0x433fd0
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a6647
push eax
mov dword fs:[0], esp
sub esp, 0xec
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov eax, dword [esi + 0x121c]
push eax
push 0xffffffffffffffff
push str.AutoRunTime
push 0x6474f4
call edi
mov ebx, eax
test ebx, ebx
jl 0x43414f
mov eax, dword [esi + 0x121c]
push eax
push 0
push str.PrimaryMacro
push 0x6474f4
call edi
cmp eax, dword [esi + 0x11f0]
jge 0x434045
test eax, eax
jl 0x434045
mov ecx, dword [esi + 0x11e8]
je 0x434047
mov ecx, dword [ecx]
dec eax
jne 0x43403e
jmp 0x434047
xor ecx, ecx
mov ecx, dword [ecx + 8]
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0x20]
test ebx, ebx
mov edi, eax
jle 0x434139
push 0
push ecx
lea eax, [edi + 0xc]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call sub.MFC42.DLL_CString::CString_4
push ebx
lea ecx, [esp + 0x1c]
call fcn.0040153c
lea ecx, [esp + 0x10]
mov dword [esp + 0x100], 0
call sub.MFC42.DLL_CDialog::DoModal
cmp eax, 2
jne 0x4340e9
lea ecx, [esp + 0xf4]
mov dword [esp + 0x100], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xb0]
mov byte [esp + 0x100], 2
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x70]
mov byte [esp + 0x100], 1
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x10]
mov dword [esp + 0x100], 0xffffffff
call sub.MFC42.DLL_CDialog::CDialog
jmp 0x43414f
lea ecx, [esp + 0xf4]
mov dword [esp + 0x100], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xb0]
mov byte [esp + 0x100], 5
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x70]
mov byte [esp + 0x100], 4
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x10]
mov dword [esp + 0x100], 0xffffffff
call sub.MFC42.DLL_CDialog::CDialog
push 6
mov ecx, esi
call sub.MFC42.DLL_CWnd::ShowWindow
push 0
push 0
push edi
call fcn.0046d0a0
add esp, 0xc
mov ecx, dword [esp + 0xf8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xf8
ret

Function at 0x438296
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x438290
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.004021ee
pop edi
pop esi
add esp, 0x7d4
ret 4
Function at 0x43d3e8
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x43d3d0
push 0xffffffffffffffff
push 0x5a7670
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x14], 1
test eax, eax
jl 0x43d425
push eax
lea eax, [esp + 8]
push str.__._df
push eax
call sub.MFC42.DLL_CString::Format_1
add esp, 0xc
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 4]
push ecx
push edx
lea ecx, [esp + 0x10]
push eax
push ecx
call sub.MFC42.DLL_CString::Format_1
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
add esp, 0x10
push edx
push eax
push ecx
mov ecx, esi
call fcn.0040230b
lea ecx, [esp + 4]
mov esi, eax
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 0x14

Function at 0x453f36
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
jmp 0x453f20
push 0xffffffffffffffff
push 0x5a7838
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
xor edi, edi
mov dword [esp + 0x14], edi
call fcn.004bd2e4
lea eax, [esp + 0x1c]
lea ecx, [esi + 0xe8]
push eax
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString_4
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
lea ecx, [esi + 0xf0]
mov dword [esi + 0xf0], edx
mov edx, dword [esp + 0x38]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov eax, 0x5bbb38
mov dword [esi + 0x104], edi
mov dword [esi + 0x100], eax
mov dword [esi + 0x10c], edi
mov dword [esi + 0x108], eax
mov dword [esi + 0x11c], edi
mov dword [esi + 0x118], 0x5bba30
lea ecx, [esi + 0x120]
mov byte [esp + 0x14], 5
call fcn.004bd524
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x40]
mov dword [esi + 0xc0], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0xc4], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0xc8], ecx
lea ecx, [esp + 0x1c]
mov dword [esi], 0x5bf6e0
mov dword [esi + 0xec], eax
mov dword [esi + 0xcc], edx
mov dword [esi + 0x110], edi
mov dword [esi + 0x114], edi
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x45755d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4575b5
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x658680
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4575a8
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x4575b7
xor eax, eax
pop esi
leave
ret 4
Function at 0x45c230
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a833f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [esp + 0x38]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call fcn.0045c020
lea ecx, [esp + 8]
mov dword [esp + 0x30], 1
call fcn.0045c100
mov esi, dword [esp + 0x38]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
mov dword [esp + 4], 1
lea ecx, [esp + 8]
mov byte [esp + 0x30], 0
call fcn.0045c0a0
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret