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

Disassembly:
push 0xffffffffffffffff
push 0x4b4bb0
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.0041a750
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.004187d0
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 0x531438
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 0x5314c8
push edx
call sub.MFC42.DLL_operator_2
lea eax, [esp + 0x3c]
mov byte [esp + 0x34], 2
push eax
call fcn.0041a750
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.004122d0
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.0041a750
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.0041a750
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.004187d0
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 0x531438
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.0041a750
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 8
push ecx
call fcn.0041a750
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.004122d0
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.0041a750
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 0x419620
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4b4d13
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 0x531438
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 0x419683
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 0x41a750
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1004
call fcn.00422b10
mov cl, byte [0x53152c]
mov al, 1
test al, cl
mov dword [esp], 0
jne 0x41a78f
mov dl, cl
mov ecx, 0x531528
or dl, al
mov byte [0x53152c], dl
call sub.MFC42.DLL_CString::CString_4
push 0x41a7f0
call fcn.00422afc
add esp, 4
mov eax, dword [0x531528]
push 0x531438
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x41a7c6
lea ecx, [esp + 4]
push ecx
push 0x1000
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 4]
mov ecx, 0x531528
push edx
call sub.MFC42.DLL_CString::operator_1
push esi
mov esi, dword [esp + 0x100c]
push 0x531528
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov eax, esi
pop esi
add esp, 0x1004
ret

Function at 0x41a800
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1004
call fcn.00422b10
mov cl, byte [0x531524]
mov al, 1
test al, cl
mov dword [esp], 0
jne 0x41a83f
mov dl, cl
mov ecx, 0x531520
or dl, al
mov byte [0x531524], dl
call sub.MFC42.DLL_CString::CString_4
push 0x41a8d0
call fcn.00422afc
add esp, 4
mov eax, dword [0x531520]
push esi
push 0x531438
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x41a8a9
push ebx
push edi
lea ecx, [esp + 0x10]
push 0x1000
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, 0x51118c
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, 0x531520
call sub.MFC42.DLL_CString::operator_1
pop edi
pop ebx
mov esi, dword [esp + 0x100c]
push 0x531520
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov eax, esi
pop esi
add esp, 0x1004
ret
Function at 0x41a8e0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1004
call fcn.00422b10
mov cl, byte [0x53151c]
mov al, 1
test al, cl
mov dword [esp], 0
jne 0x41a91f
mov dl, cl
mov ecx, 0x531518
or dl, al
mov byte [0x53151c], dl
call sub.MFC42.DLL_CString::CString_4
push 0x41a9b0
call fcn.00422afc
add esp, 4
mov eax, dword [0x531518]
push esi
push 0x531438
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x41a989
push ebx
push edi
lea ecx, [esp + 0x10]
push 0x1000
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, 0x51118c
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, 0x531518
call sub.MFC42.DLL_CString::operator_1
pop edi
pop ebx
mov esi, dword [esp + 0x100c]
push 0x531518
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov eax, esi
pop esi
add esp, 0x1004
ret

Function at 0x41a9c0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1004
call fcn.00422b10
mov al, byte [0x53150c]
push ebx
mov ebx, 1
push esi
test bl, al
mov dword [esp + 8], 0
jne 0x41aa03
mov dl, al
mov ecx, 0x531508
or dl, bl
mov byte [0x53150c], dl
call sub.MFC42.DLL_CString::CString_4
push 0x41aa90
call fcn.00422afc
add esp, 4
mov eax, dword [0x531508]
push 0x531438
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x41aa69
push edi
push ebx
lea ecx, [esp + 0x14]
push 0x1a
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edi, 0x51118c
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, 0x531508
call sub.MFC42.DLL_CString::operator_1
pop edi
mov esi, dword [esp + 0x1010]
push 0x531508
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov eax, esi
pop esi
pop ebx
add esp, 0x1004
ret
Function at 0x41bb50
Capabilities:
Set current directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b549b
push eax
mov eax, 0x1704
mov dword fs:[0], esp
call fcn.00422b10
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, 0x5314c4
push edx
call sub.MFC42.DLL_CString::operator_1
lea eax, [esp + 8]
mov ecx, 0x5314c8
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x308]
push ecx
mov ecx, 0x5314c8
call fcn.00422550
mov edx, dword [0x5314c8]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0x5314c8
mov ecx, 0x5314c8
call sub.MFC42.DLL_CString::operator_2
lea eax, [esp + 0x708]
push 0x1000
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov cl, byte [0x53156c]
mov al, 1
test al, cl
jne 0x41bc36
or cl, al
mov byte [0x53156c], cl
lea ecx, [esp + 0x708]
push ecx
mov ecx, 0x531568
call sub.MFC42.DLL_CString::CString_2
push 0x41bcb0
call fcn.00422afc
add esp, 4
push 0x2e
mov ecx, 0x531568
call sub.MFC42.DLL_CString::ReverseFind
lea edx, [esp + 4]
push eax
push edx
mov ecx, 0x531568
call sub.MFC42.DLL_CString::Left
push eax
mov ecx, 0x531568
mov dword [esp + 0x1714], 0
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 4]
mov dword [esp + 0x1710], 0xffffffff
call sub.MFC42.DLL_CString::CString
push str..ini
mov ecx, 0x531568
call fcn.00422550
mov eax, dword [0x531568]
mov ecx, dword [esp + 0x1708]
mov dword [esi + 0x94], eax
pop esi
mov dword fs:[0], ecx
add esp, 0x1710
ret

Function at 0x41bcc0
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b54bb
push eax
mov eax, 0x1004
mov dword fs:[0], esp
call fcn.00422b10
call fcn.0043e1e0
test eax, eax
je 0x41bcf6
push eax
push 0xf27b
call fcn.0045fad0
add esp, 8
lea eax, [esp + 4]
push 0x1000
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_2
push str.QMDispatch.dll
lea ecx, [esp + 4]
mov dword [esp + 0x1010], 0
call fcn.00422550
mov edx, dword [esp]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp]
mov dword [esp + 0x100c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1004]
mov dword fs:[0], ecx
add esp, 0x1010
ret
Function at 0x41bd70
Capabilities:
Check if file exists
Extract resource via kernel32 functions
Get file attributes
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b54f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
lea eax, [esp + 0x10]
push 0x511eb0
push eax
call fcn.0042fe40
mov esi, eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0
push ecx
call fcn.0041a750
add esp, 0xc
push esi
lea edx, [esp + 0xc]
push eax
push edx
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41bea8
push ebp
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_4
push 0x95
lea ecx, [esp + 0x10]
push 0x511eac
push ecx
mov byte [esp + 0x30], 5
call sub.MFC42.DLL_CString::Format_1
add esp, 0xc
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov edx, dword [esp + 0xc]
push str.EXTERNAL
push edx
mov eax, dword [eax + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push esi
mov ecx, dword [eax + 0x6c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push esi
mov edx, dword [eax + 0x6c]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test edi, edi
mov ebp, eax
je 0x41be98
mov eax, dword [esp + 0x10]
push 0x511aac
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x41be98
push esi
push 1
push ebp
push edi
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 3
call sub.MFC42.DLL_CString::CString
pop edi
pop ebp
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x41bed0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b5556
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x511f0c
call sub.MFC42.DLL_CString::CString_2
push ecx
xor edi, edi
mov ecx, esp
mov dword [esp + 0x20], esp
push str.bro.mymacro
mov dword [esp + 0x38], edi
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x18]
push 0x511eb0
push eax
mov byte [esp + 0x3c], 1
call fcn.0042fe40
mov esi, eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 2
push ecx
call fcn.0041a750
add esp, 8
mov byte [esp + 0x38], 3
mov edx, esp
mov dword [esp + 0x28], esp
push esi
push eax
push edx
call sub.MFC42.DLL_operator_1
push ecx
mov byte [esp + 0x3c], 4
mov ecx, esp
mov dword [esp + 0x30], esp
push str.http:__ad.vrbrothers.com_qmacro_v8_ad_mymacro.xml
call sub.MFC42.DLL_CString::CString_2
mov byte [esp + 0x3c], 7
call fcn.00401560
mov ecx, eax
call fcn.00401720
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 6
call sub.MFC42.DLL_CString::CString
or esi, 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], esi
call sub.MFC42.DLL_CString::CString
mov al, byte [0x531564]
test al, 1
jne 0x41c037
mov dl, al
mov al, byte [esp + 0xb]
or dl, 1
mov byte [0x531538], al
mov byte [0x531564], dl
mov dword [0x53153c], edi
mov dword [0x531540], edi
mov dword [0x531544], edi
mov dword [0x531530], 0x4c04d8
mov ecx, 0x531548
mov dword [esp + 0x2c], 8
mov dword [esp + 0x20], ecx
call sub.MFC42.DLL_CString::CString_4
mov ecx, 0x53154c
mov byte [esp + 0x2c], 9
call sub.MFC42.DLL_CString::CString_4
mov ecx, 0x531558
mov byte [esp + 0x2c], 0xa
call sub.MFC42.DLL_CString::CString_4
mov ecx, 0x53155c
mov byte [esp + 0x2c], 0xb
call sub.MFC42.DLL_CString::CString_4
push 0x41c0a0
mov dword [0x531530], 0x4c04d4
mov dword [0x531534], 4
mov dword [esp + 0x30], esi
call fcn.00422afc
add esp, 4
push 0x531530
call fcn.00401560
mov ecx, eax
call fcn.00401a40
push 0x3e8
mov ecx, 0x531530
call fcn.00403030
mov ecx, dword [esp + 0x24]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x28
ret
Function at 0x41c140
Capabilities:
Check mutex on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b55a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x5314ec]
push edi
test eax, eax
mov edi, ecx
je 0x41c1d1
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_4
push 0xf27d
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [ebp - 0x14]
push eax
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x41c1c2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x41c1e3
lea ecx, [ebp - 0x10]
push ecx
call fcn.0041c2c0
add esp, 4
mov edx, dword [ebp - 0x10]
push edx
push 0x400
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [edi + 0xcc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41c285
mov eax, dword [edi + 0xcc]
push esi
push 4
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x41c254
mov ecx, dword [esi]
push 0x201
push 0
push 0x464
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edx, dword [edi + 0xcc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
mov eax, 1
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
jmp 0x41c295
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x41c400
Capabilities:
Read file via mapping

Disassembly:
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 0x41c429
mov ecx, dword [esp + 4]
push eax
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
ret 4
Function at 0x41c430
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b56dc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0x66
mov dword [esp + 0x18], esi
call sub.MFC42.DLL_CDialog::CDialog_1
lea ecx, [esi + 0x64]
mov dword [esp + 0x1c], 0
call fcn.00416470
lea ebx, [esi + 0x130]
mov byte [esp + 0x1c], 1
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_4
lea edi, [esi + 0x134]
mov byte [esp + 0x1c], 2
mov ecx, edi
call fcn.0042211e
mov dword [edi], 0x4be5d0
push 1
lea ecx, [esi + 0x174]
mov byte [esp + 0x20], 3
call fcn.00417ed0
push fcn.0040bcc0
push fcn.0040bb10
push 0x64
lea ecx, [esi + 0x1a0]
push 0x7a0
push ecx
mov byte [esp + 0x30], 4
call fcn.00422c62
lea ecx, [esi + 0x2fc20]
mov byte [esp + 0x1c], 5
call fcn.0040e300
lea ecx, [esi + 0x2fdc0]
mov byte [esp + 0x1c], 6
call fcn.0040b260
lea ecx, [esi + 0x30370]
mov byte [esp + 0x1c], 7
call fcn.0040ebf0
lea ecx, [esi + 0x305d0]
mov byte [esp + 0x1c], 8
call fcn.0040b690
lea edi, [esi + 0x306a8]
mov byte [esp + 0x1c], 9
mov ecx, edi
mov dword [esp + 0x24], edi
call sub.MFC42.DLL_CPropertySheet::CPropertySheet
lea ebp, [edi + 0x90]
mov byte [esp + 0x1c], 0xa
mov ecx, ebp
call fcn.0042211e
mov dword [ebp], 0x4beda4
mov dword [edi], 0x4becd8
lea ecx, [esi + 0x3077c]
mov byte [esp + 0x1c], 0xb
call fcn.00438560
lea ecx, [esi + 0x307bc]
mov byte [esp + 0x1c], 0xc
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x307c4]
mov byte [esp + 0x1c], 0xd
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x307c8]
mov byte [esp + 0x1c], 0xe
call sub.MFC42.DLL_CString::CString_4
lea edi, [esi + 0x30828]
mov byte [esp + 0x1c], 0xf
mov ecx, edi
call sub.MFC42.DLL_CString::CString_4
push 0x531438
mov ecx, ebx
mov byte [esp + 0x20], 0x10
mov dword [esi], 0x4c06e0
call sub.MFC42.DLL_CString::operator_1
push 0x531438
mov ecx, edi
call sub.MFC42.DLL_CString::operator_1
call sub.MFC42.DLL_AfxGetModuleState
push 0x80
push 0xe
push 0x80
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x19c], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x41d500
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b5887
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 + 0x307bc]
push eax
push 0xffffffffffffffff
push str.AutoRunTime
push 0x511f6c
call edi
mov ebx, eax
test ebx, ebx
jl 0x41d67f
mov eax, dword [esi + 0x307bc]
push eax
push 0
push str.PrimaryMacro
push 0x511f6c
call edi
cmp eax, dword [esi + 0x30790]
jge 0x41d575
test eax, eax
jl 0x41d575
mov ecx, dword [esi + 0x30788]
je 0x41d577
mov ecx, dword [ecx]
dec eax
jne 0x41d56e
jmp 0x41d577
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 0x41d669
push 0
push ecx
lea eax, [edi + 0xc]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ebx
lea ecx, [esp + 0x1c]
call fcn.00404930
lea ecx, [esp + 0x10]
mov dword [esp + 0x100], 0
call sub.MFC42.DLL_CDialog::DoModal
cmp eax, 2
jne 0x41d619
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 0x41d67f
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.00439090
add esp, 0xc
mov ecx, dword [esp + 0xf8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xf8
ret