joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4010a7
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x406120
call fcn.00401f98
mov edi, 0x94
mov eax, edi
call fcn.00401ff0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x408c70], ecx
mov eax, dword [esi + 4]
mov dword [0x408c7c], eax
mov edx, dword [esi + 8]
mov dword [0x408c80], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x408c74], esi
cmp ecx, 2
je 0x401107
or esi, 0x8000
mov dword [0x408c74], esi
shl eax, 8
add eax, edx
mov dword [0x408c78], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x401142
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401142
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x40115a
cmp eax, 0x20b
je 0x401147
mov dword [ebp - 0x1c], esi
jmp 0x40116e
cmp dword [ecx + 0x84], 0xe
jbe 0x401142
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x401168
cmp dword [ecx + 0x74], 0xe
jbe 0x401142
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.00401f45
pop ecx
test eax, eax
jne 0x401182
push 0x1c
call fcn.00401083
pop ecx
call fcn.00401ebc
test eax, eax
jne 0x401193
push 0x10
call fcn.00401083
pop ecx
call fcn.00401da5
mov dword [ebp - 4], esi
call fcn.00401ba7
test eax, eax
jge 0x4011ac
push 0x1b
call fcn.0040105e
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x409434], eax
call fcn.00401a85
mov dword [0x408c60], eax
call fcn.004019e3
test eax, eax
jge 0x4011d2
push 8
call fcn.0040105e
pop ecx
call fcn.004017b0
test eax, eax
jge 0x4011e3
push 9
call fcn.0040105e
pop ecx
call fcn.004012bb
mov dword [ebp - 0x20], eax
cmp eax, esi
je 0x4011f6
push eax
call fcn.0040105e
pop ecx
mov dword [ebp - 0x38], esi
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00401747
mov dword [ebp - 0x68], eax
test byte [ebp - 0x38], 1
je 0x401217
movzx eax, word [ebp - 0x34]
jmp 0x40121a
push 0xa
pop eax
push eax
push dword [ebp - 0x68]
push esi
push esi
call edi
push eax
call fcn.00401000
mov edi, eax
mov dword [ebp - 0x6c], edi
cmp dword [ebp - 0x1c], esi
jne 0x401238
push edi
call fcn.004013f3
call fcn.00401415
jmp 0x40126a
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.00401fd3
ret
Function at 0x402282
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x408f18], ebx
push esi
push edi
jne 0x402302
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x40233d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x408f18], eax
je 0x40233d
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x408f1c], eax
call esi
cmp dword [0x408c70], 2
mov dword [0x408f20], eax
jne 0x402302
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x408f28], eax
je 0x402302
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x408f24], eax
mov eax, dword [0x408f24]
test eax, eax
je 0x402347
call eax
test eax, eax
je 0x40232e
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x408f28]
test eax, eax
je 0x40232e
test byte [ebp - 8], 1
jne 0x402347
cmp dword [0x408c7c], 4
jb 0x402341
or byte [ebp + 0x12], 0x20
jmp 0x402366
xor eax, eax
jmp 0x402376
or byte [ebp + 0x12], 4
jmp 0x402366
mov eax, dword [0x408f1c]
test eax, eax
je 0x402366
call eax
mov ebx, eax
test ebx, ebx
je 0x402366
mov eax, dword [0x408f20]
test eax, eax
je 0x402366
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x408f18]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x405435
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 4
pop eax
call fcn.00401ff0
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4054ca
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
lea esi, [eax - 1]
not esi
and esi, ebx
sub esi, eax
mov dword [ebp - 4], eax
mov eax, dword [0x408c70]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xffff1000
add ecx, 0x11000
add ecx, edi
cmp esi, ecx
jb 0x4054ca
cmp eax, 1
je 0x4054e2
mov ebx, edi
mov edi, 0x1000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4054ca
add ebx, dword [ebp - 0x18]
test dword [ebp - 0x14], edi
je 0x40549f
test byte [ebp - 0xf], 1
mov ebx, dword [ebp - 0x24]
je 0x4054c6
xor eax, eax
inc eax
jmp 0x4054fe
cmp esi, ebx
jae 0x4054ce
xor eax, eax
jmp 0x4054fe
push 4
push edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x408c70]
jmp 0x4054e4
mov ebx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 8]
push ecx
inc eax
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403edf
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call sub.MFC42.DLL_CDialog::OnInitDialog
push 0x45367c
push 1
push str.FapiPingTest
push 0x453698
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x403f38
push 0x5dc
call fcn.00402560
mov ecx, eax
add ecx, 0x44c
call fcn.00402550
push eax
call fcn.00402560
mov ecx, eax
call fcn.0040c5f0
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x60], eax
push 1
push 0
push str.FIDIA_FAPI_FAIL_0
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
mov ecx, dword [ebp - 4]
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov edx, dword [ebp - 4]
cmp dword [edx + 0x60], 0
je 0x403faa
push 1
push 0
push str.FIDIA_FAPI_TO_CNC_DEAD
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
push 0x3ed
mov ecx, dword [ebp - 4]
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
push 0
push 0x3ea
mov ecx, dword [ebp - 4]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
push 0
push 0x3ee
mov ecx, dword [ebp - 4]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
jmp 0x403ff6
push 1
push 0
push str.FIDIA_FAPI_FAIL_1
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
push 0x3ed
mov ecx, dword [ebp - 4]
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
push 0
push 0x3e9
mov ecx, dword [ebp - 4]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
push 0
push 0x3ec
mov ecx, dword [ebp - 4]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
push 1
push 0
push str.FIDIA_FAPI_FAIL_2
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
push 0x3ec
mov ecx, dword [ebp - 4]
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
push 1
push 0
push 0x4536f4
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
push 0x3ee
mov ecx, dword [ebp - 4]
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
push 1
push 0
push str.FIDIA_FAPI_FAIL_4
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
push 0x3ef
mov ecx, dword [ebp - 4]
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
push 3
push 0
push 0
push 0
push 0
mov eax, dword [sym.imp.MFC42.DLL_CWndconstCWnd::wndTopMost]
push eax
mov ecx, dword [ebp - 4]
call sub.MFC42.DLL_CWnd::SetWindowPos
push 0
push 0x1f4
push 1
mov ecx, dword [ebp - 4]
call fcn.004040f0
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x40a762
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441447
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x138], 5
jl 0x40a7a8
push 0x454618
push 1
push str.DynFilesSave
push 0x454634
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
je 0x40a7ad
jmp 0x40a878
push 0
push 0x45af90
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CSingleLock::CSingleLock
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x50]
xor edx, edx
mov dl, byte [ecx + 0xe8]
test edx, edx
jne 0x40a7de
lea ecx, [ebp - 0x18]
call fcn.0040ff20
test eax, eax
je 0x40a7fe
push 0
push str.900_Skipping_AskForDynamicFileSave._Service_area_busy
mov ecx, dword [ebp - 0x50]
call fcn.0040c713
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00402830
jmp 0x40a878
push 0
push str.900_INVOKING_FILESAVE
mov ecx, dword [ebp - 0x50]
call fcn.0040c713
push 0x64
push 0x45b058
push 0x45b05c
push 0x45b060
lea ecx, [ebp - 0x4c]
call fcn.00426aa3
mov byte [ebp - 4], 1
push str.FILESAVE
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::operator_1
push 0x45b064
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::operator_1
push 0x45b068
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::operator_1
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
call fcn.0041a5bc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.00402750
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00402830
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x40b705
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jae 0x40b76b
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x40b761
cmp dword [ebp - 0x1c], 0x12
jne 0x40b74b
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x40b76b
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x40b769
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40b717
mov esp, ebp
pop ebp
ret 4
Function at 0x40c502
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44159b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov dword [ebp - 0x6c], ecx
push 0x44
push 0
lea eax, [ebp - 0x60]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 0x34], 1
mov word [ebp - 0x30], 0
mov ecx, dword [ebp - 0x6c]
add ecx, 0x44c
push ecx
push str.arp.exe__d
lea edx, [ebp - 0x64]
push edx
call sub.MFC42.DLL_operator
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x60]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x32
lea ecx, [ebp - 0x64]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x40c5b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x68], eax
push 0
push 0
push 0
push str.FIDIA_FAPI_TO_CNC_ZERO_ARP_FAILED
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
mov ecx, dword [ebp - 0x6c]
call fcn.0040c713
jmp 0x40c5d3
push 0
push 0
push 0
push str.FIDIA_FAPI_TO_CNC_ZERO_ARP_SUCCEDED
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
mov ecx, dword [ebp - 0x6c]
call fcn.0040c713
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x40c5f0
Capabilities:
Initialize winsock library
Send icmp echo request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov dword [ebp - 0x19c], ecx
lea eax, [ebp - 0x194]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov word [ebp - 0x198], ax
movsx ecx, word [ebp - 0x198]
test ecx, ecx
je 0x40c637
push 0
push 0
push str.___Internal_error:_Could_not_initialise_network
mov ecx, dword [ebp - 0x19c]
call fcn.0040c881
call sub.ICMP.dll_IcmpCreateFile
mov dword [0x45af88], eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [0x45af74], eax
push 0x40
push 0x59
push 0x45aff0
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x5c
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [0x45b030], eax
push 0x5c
push 0
mov ecx, dword [0x45b030]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov edx, dword [0x45b030]
mov dword [edx + 0x10], 0x45af4c
mov eax, dword [0x45b030]
mov word [eax + 0xc], 0x40
mov ecx, dword [ebp + 0xc]
push ecx
push 0x5c
mov edx, dword [0x45b030]
push edx
push 0
push 0x40
push 0x45aff0
mov eax, dword [0x45af74]
push eax
mov ecx, dword [0x45af88]
push ecx
call sub.ICMP.dll_IcmpSendEcho
mov dword [0x45af84], eax
mov edx, dword [0x45af88]
push edx
call sub.ICMP.dll_IcmpCloseHandle
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [0x45af84], 0
jne 0x40c708
xor eax, eax
jmp 0x40c70d
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x40c713
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4415b7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov dword [ebp - 0x44], ecx
push 0x454b24
push 0
push 0x454b30
push 0x454b38
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
jne 0x40c75d
movsx eax, byte [ebp + 0xc]
test eax, eax
jne 0x40c75d
mov dword [ebp - 0x48], 0
jmp 0x40c764
mov dword [ebp - 0x48], 1
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
call fcn.0043fa26
mov dword [ebp - 4], 0
push 0x14
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.LANGUAGE.dll_void___cdecl_GetGlobalMessageNumberAndTime_char__]
add esp, 4
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0x454b3c
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::MakeUpper
cmp dword [ebp - 0x10], 0
jne 0x40c7ec
lea ecx, [ebp - 0x14]
call fcn.00402550
push eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x440]
call fcn.00407430
lea ecx, [ebp - 0x14]
call fcn.00402550
push eax
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx + 0x11c]
call fcn.00405779
mov edx, dword [ebp - 0x44]
cmp dword [edx + 0x118], 0
je 0x40c862
mov eax, dword [ebp + 8]
add eax, 4
push eax
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx + 0x118]
add ecx, 0x60
call sub.MFC42.DLL_CString::operator_1
push 1
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx + 0x118]
call fcn.0040ff00
cmp dword [ebp - 0x10], 0
je 0x40c862
lea ecx, [ebp - 0x40]
call fcn.0042b289
mov byte [ebp - 4], 1
push 1
lea ecx, [ebp - 0x40]
call fcn.00423507
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
call fcn.0043fa38
push 0
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x44]
call fcn.00411a56
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0040feb0
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 8

Function at 0x40ccdd
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40cd2f
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 8]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40cd2f
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esp, ebp
pop ebp
ret 4
Function at 0x40ced5
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x44], ecx
push 0x454c1c
push 0x40
lea eax, [ebp - 0x40]
push eax
push 0x454c28
push str.MaxCode
push 0x454c3c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x44]
add ecx, 0x110
push ecx
push 0x454c40
lea edx, [ebp - 0x40]
push edx
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0xc
push 0x454c44
push 0x40
lea eax, [ebp - 0x40]
push eax
push str.00000000
push str.MaxData
push 0x454c64
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x44]
add ecx, 0x114
push ecx
push 0x454c68
lea edx, [ebp - 0x40]
push edx
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0xc
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x110], 0
je 0x40cf6e
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + 0x114], 0
jne 0x40cf7f
push str.904_DPSAVE_Configuration_error:_please_reload
mov ecx, dword [ebp - 0x44]
call fcn.0040f2ac
xor al, al
jmp 0x40cf81
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x40ec13
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [eax + 0x100]
test ecx, ecx
je 0x40ec2d
xor eax, eax
jmp 0x40ec7f
push 0x4553a8
push 0
push str.DISABLENEWDPSAVE
push 0x4553c8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x40ec5b
push 0
push str.999_New_DPSAVE_disabled
mov ecx, dword [ebp - 4]
call fcn.0040c713
xor eax, eax
jmp 0x40ec7f
mov edx, dword [ebp - 4]
cmp dword [edx + 0x420], 1
jne 0x40ec7d
push 0
push 0
push 0
push 2
mov eax, dword [ebp - 4]
push eax
push 0x4083ca
call sub.MFC42.DLL_AfxBeginThread
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x410f90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441935
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x450
mov dword [ebp - 0x454], ecx
lea eax, [ebp - 0x438]
push eax
mov ecx, dword [ebp - 0x454]
add ecx, 4
call fcn.00412160
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x454]
mov dword [ecx], vtable.MessagesToIgnore.0
push 0x455a48
push 0x400
mov edx, dword [ebp - 0x454]
add edx, 0x10
push edx
push str.c:_fidiacustomFapiMessageIgnoreList.dat
push str.MessagesBlackListFileName
push 0x455a9c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x455aa4
mov eax, dword [ebp - 0x454]
add eax, 0x10
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x41102b
jmp 0x411182
mov dword [ebp - 0x10], 0x455aa8
mov ecx, dword [ebp - 0x14]
push ecx
push 0x400
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.MSVCRT.dll_fgets]
add esp, 0xc
test eax, eax
je 0x411175
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x424]
call fcn.00412280
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.MSVCRT.dll_strtok]
add esp, 8
mov dword [ebp - 0x418], eax
jmp 0x41109a
mov eax, dword [ebp - 0x10]
push eax
push 0
call dword [sym.imp.MSVCRT.dll_strtok]
add esp, 8
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 0
je 0x411138
mov ecx, dword [ebp - 0x418]
movsx edx, byte [ecx]
test edx, edx
je 0x411133
lea eax, [ebp - 0x440]
push eax
mov ecx, dword [ebp - 0x418]
push ecx
lea ecx, [ebp - 0x434]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov byte [ebp - 4], 2
lea edx, [ebp - 0x434]
push edx
lea eax, [ebp - 0x450]
push eax
mov ecx, dword [ebp - 0x454]
call fcn.00412010
mov dword [ebp - 0x458], eax
mov ecx, dword [ebp - 0x458]
mov dword [ebp - 0x45c], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x45c]
push edx
lea ecx, [ebp - 0x424]
call fcn.00412390
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x450]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x434]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x411085
lea ecx, [ebp - 0x424]
call fcn.00412370
and eax, 0xff
test eax, eax
jne 0x411161
lea eax, [ebp - 0x424]
push eax
mov ecx, dword [ebp - 0x454]
add ecx, 4
call fcn.00412250
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x424]
call fcn.004122c0
jmp 0x411032
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x454]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x417a20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441bf2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xcc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xc4], ecx
mov ecx, dword [ebp - 0xc4]
add ecx, 4
call fcn.0043fa26
mov dword [ebp - 4], 0
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, dword [ebp - 0xc4]
add ecx, 8
call fcn.00418470
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xc4]
mov dword [edx], vtable.ToolTableObjectSet.0
mov byte [ebp - 4], 2
push 0x455d88
push 0x80
lea eax, [ebp - 0x90]
push eax
push str.c:_fidia
push str.CncDir1
push 0x455d6c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x98]
call fcn.0043fa26
mov dword [ebp - 0xc8], eax
mov byte [ebp - 4], 3
mov ecx, dword [str.ExtToolTableColumnsSet.dat]
push ecx
lea edx, [ebp - 0x90]
push edx
push str._sCUSTOM_s
lea eax, [ebp - 0x98]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [ebp - 0x98]
call fcn.00402550
mov dword [ebp - 0xcc], eax
push 0x4000
mov ecx, dword [ebp - 0xcc]
push ecx
lea ecx, [ebp - 0xb0]
call sub.MFC42.DLL_CStdioFile::CStdioFile
mov dword [ebp - 0xd0], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x9c]
call fcn.0043fa26
mov dword [ebp - 0xd4], eax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xc4]
add edx, 4
push edx
lea ecx, [ebp - 0xb0]
call sub.MFC42.DLL_CStdioFile::ReadString
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x94], eax
jmp 0x417b81
lea ecx, [ebp - 0x9c]
push ecx
lea ecx, [ebp - 0xb0]
call sub.MFC42.DLL_CStdioFile::ReadString
mov dword [ebp - 0xdc], eax
mov edx, dword [ebp - 0xdc]
mov dword [ebp - 0x94], edx
cmp dword [ebp - 0x94], 0
je 0x417bb3
lea ecx, [ebp - 0x9c]
call sub.MFC42.DLL_CString::MakeUpper
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0xc0]
push ecx
mov ecx, dword [ebp - 0xc4]
add ecx, 8
call fcn.004184e0
jmp 0x417b5d
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x9c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb0]
call fcn.0043ffd2
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x98]
call sub.MFC42.DLL_CString::CString
jmp 0x417be8
mov dword [ebp - 4], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret