joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50b3b7
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0x5f9204
mov ecx, 0x603be8
call sub.MFC42.DLL_CMapStringToPtr::operator__
mov dword [eax], 0xc8
push 0x5f9208
mov ecx, 0x603be8
call sub.MFC42.DLL_CMapStringToPtr::operator__
mov dword [eax], 0x12c
push 0x5f920c
mov ecx, 0x603be8
call sub.MFC42.DLL_CMapStringToPtr::operator__
mov dword [eax], 0x190
push 0x5f9210
mov ecx, 0x603be8
call sub.MFC42.DLL_CMapStringToPtr::operator__
mov dword [eax], 0x514
push 0x5f9214
mov ecx, 0x603be8
call sub.MFC42.DLL_CMapStringToPtr::operator__
mov dword [eax], 0x64
push 0x5f9218
mov ecx, 0x603be8
call sub.MFC42.DLL_CMapStringToPtr::operator__
mov dword [eax], 0x65
push 0x5f921c
mov ecx, 0x603be8
call sub.MFC42.DLL_CMapStringToPtr::operator__
mov dword [eax], 0x1f4
push 0x5f9220
mov ecx, 0x603be8
call sub.MFC42.DLL_CMapStringToPtr::operator__
mov dword [eax], 0x1f5
push 0x5f9224
mov ecx, 0x603be8
call sub.MFC42.DLL_CMapStringToPtr::operator__
mov dword [eax], 0x2bc
push 0x5f9228
mov ecx, 0x603be8
call sub.MFC42.DLL_CMapStringToPtr::operator__
mov dword [eax], 0x44d
push 0x5f922c
mov ecx, 0x603be8
call sub.MFC42.DLL_CMapStringToPtr::operator__
mov dword [eax], 0x258
push 0x5f9234
mov ecx, 0x603be8
call sub.MFC42.DLL_CMapStringToPtr::operator__
mov dword [eax], 0x44c
push 0xc8
mov ecx, 0x603c08
call sub.MFC42.DLL_CMapWordToPtr::operator__
mov dword [eax], 0x5f9238
push 0x12c
mov ecx, 0x603c08
call sub.MFC42.DLL_CMapWordToPtr::operator__
mov dword [eax], 0x5f923c
push 0x190
mov ecx, 0x603c08
call sub.MFC42.DLL_CMapWordToPtr::operator__
mov dword [eax], 0x5f9240
push 0x514
mov ecx, 0x603c08
call sub.MFC42.DLL_CMapWordToPtr::operator__
mov dword [eax], 0x5f9244
push 0x64
mov ecx, 0x603c08
call sub.MFC42.DLL_CMapWordToPtr::operator__
mov dword [eax], 0x5f9248
push 0x65
mov ecx, 0x603c08
call sub.MFC42.DLL_CMapWordToPtr::operator__
mov dword [eax], 0x5f924c
push 0x1f4
mov ecx, 0x603c08
call sub.MFC42.DLL_CMapWordToPtr::operator__
mov dword [eax], 0x5f9250
push 0x1f5
mov ecx, 0x603c08
call sub.MFC42.DLL_CMapWordToPtr::operator__
mov dword [eax], 0x5f9254
push 0x2bc
mov ecx, 0x603c08
call sub.MFC42.DLL_CMapWordToPtr::operator__
mov dword [eax], 0x5f9258
push 0x44d
mov ecx, 0x603c08
call sub.MFC42.DLL_CMapWordToPtr::operator__
mov dword [eax], 0x5f925c
push 0x258
mov ecx, 0x603c08
call sub.MFC42.DLL_CMapWordToPtr::operator__
mov dword [eax], str.ILVA
push 0x44c
mov ecx, 0x603c08
call sub.MFC42.DLL_CMapWordToPtr::operator__
mov dword [eax], 0x5f9268
push 0x5f926c
push 0x104
push 0x603c28
push 0x5f9278
push 0x5f927c
push 0x5f9280
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x5f9288
push 0x603c28
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x50b5fb
push 0x5f928c
mov ecx, 0x603be8
call sub.MFC42.DLL_CMapStringToPtr::operator__
mov dword [eax], 0x44d
pop ebp
ret
Function at 0x50de36
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x50de65
xor eax, eax
jmp 0x50df0f
lea eax, [ebp - 0x14]
push eax
push 0
lea ecx, [ebp - 8]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x50de96
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x50df0f
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.0050e64f
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x50deea
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x10]
call fcn.0050e6a1
xor eax, eax
jmp 0x50df0f
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.0050e350
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x50df13
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x50df49
xor eax, eax
jmp 0x50df94
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0xc]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], 0
je 0x50df8f
xor eax, eax
jmp 0x50df94
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x50df98
Capabilities:
Delete registry value
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
lea eax, [ebp - 8]
push eax
push 0x2001f
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x50dfc7
xor eax, eax
jmp 0x50e12f
cmp dword [ebp + 0xc], 0
je 0x50e004
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], 0
je 0x50dfff
xor eax, eax
jmp 0x50e12f
jmp 0x50e12a
mov dword [ebp - 0xc], 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x50e049
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x50e12f
cmp dword [ebp - 0xc], 0
jbe 0x50e0fb
mov edx, dword [ebp - 0x14]
add edx, 1
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
add edx, 1
push edx
mov eax, dword [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x50e0b1
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x50e12f
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0050df98
add esp, 0xc
test eax, eax
jne 0x50e0e9
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x50e12f
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
cmp dword [ebp - 0xc], 0
ja 0x50e00b
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x50e12a
xor eax, eax
jmp 0x50e12f
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x50e133
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0xc], 0
je 0x50e148
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
cmp dword [ebp + 0x10], 0
je 0x50e157
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
lea edx, [ebp - 0xc]
push edx
push 0x20019
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x50e17d
xor eax, eax
jmp 0x50e1f3
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x10]
push edx
push 0
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 0
je 0x50e1b8
xor eax, eax
jmp 0x50e1f3
cmp dword [ebp + 0xc], 0
je 0x50e1c6
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
cmp dword [ebp + 0x10], 0
je 0x50e1d4
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
cmp dword [ebp - 4], 0
ja 0x50e1e9
cmp dword [ebp - 0x10], 0
ja 0x50e1e9
mov dword [ebp - 0x14], 0
jmp 0x50e1f0
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret

Function at 0x50eb90
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3608
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov cl, byte [ebp + 8]
mov byte [eax + 1], cl
mov edx, dword [ebp - 0x10]
mov ax, word [ebp + 0xc]
mov word [edx + 2], ax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x14], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x1c], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x4c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x50], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x54], 0
cmp dword [ebp + 0x10], 0
je 0x50ec66
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x10]
call dword [eax + 0x38]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x50], eax
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x28], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x50ec8a
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a361e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x10]
mov cl, byte [ebp + 8]
mov byte [eax + 1], cl
mov edx, dword [ebp - 0x10]
mov ax, word [ebp + 0xc]
mov word [edx + 2], ax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x10]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x1c], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x4c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x50], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x54], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x28], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x50ed69
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3652
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 4], 0
je 0x50ee9d
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x1c], 0
je 0x50ee9d
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
add ecx, 0x44
call fcn.00403d90
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x10], eax
push 0x20
mov ecx, dword [ebp - 0x2c]
add ecx, 0x44
call fcn.00403d90
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x50edf8
mov ecx, dword [ebp - 0x2c]
add ecx, 0x44
call fcn.00403d90
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x10], eax
jmp 0x50ee01
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0058dfec
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.0058df86
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 4]
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 4]
mov eax, dword [edx]
call dword [eax + 0x54]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x50ee73
push 1
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x1c]
call dword [edx + 4]
mov dword [ebp - 0x38], eax
jmp 0x50ee7a
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x28], 0
je 0x50ee91
lea ecx, [ebp - 0x14]
call fcn.00403d90
push eax
call sub.MFC42.DLL_CFile::Remove
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0058df86
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 8], 0
je 0x50eedd
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x1c], 0
je 0x50eedd
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
je 0x50eed6
push 1
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x24]
call dword [edx + 4]
mov dword [ebp - 0x3c], eax
jmp 0x50eedd
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x44
call fcn.0058df86
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2c]
add ecx, 0x3c
call fcn.0058df86
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x517570
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3ce7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x28]
mov dword [ecx], 0
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0x28]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0xc], 0
push 0x5fa650
push 0
push str.DebugLog
push 0x5fa668
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x51770e
mov edx, dword [ebp - 0x28]
mov dword [edx + 4], 1
push 0x5fa670
push 0
push str.DebugLogRequestAndReply
push 0x5fa694
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 8], eax
push 0x5fa69c
push 0
push str.DebugLogFtm
push 0x5fa6b4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0xc], eax
push 0x10
call fcn.00403600
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x517646
mov ecx, dword [ebp - 0x18]
call sub.MFC42.DLL_CFile::CFile_1
mov dword [ebp - 0x2c], eax
jmp 0x51764d
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x34]
push edx
push str.C:FIDIAPROGRAM_
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_operator_2
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.0058df86
push 0
push 0x5041
lea ecx, [ebp - 0x10]
call fcn.00403d90
push eax
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov edx, dword [eax]
call dword [edx + 0x28]
push 8
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x24], 0
je 0x5176e5
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x24]
call sub.MFC42.DLL_CDumpContext::CDumpContext
mov dword [ebp - 0x38], eax
jmp 0x5176ec
mov dword [ebp - 0x38], 0
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x20], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x10], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0058df86
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x517e3b
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x18], ecx
push 0x5fa760
push 0
push str.FTMCRCADD
push str.Fapi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [eax + 0xc4], 0
cmp dword [ebp - 4], 0
je 0x517ea6
push str.FAPI_SYSTEM_FAPICTRL
mov ecx, dword [ebp - 0x18]
add ecx, 0x10
call sub.MFC42.DLL_CString::Find_1
test eax, eax
jne 0x517e94
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0xc4], 0
jmp 0x517ea6
cmp dword [ebp + 0x14], 0
jne 0x517ea6
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov dword [edx + 0xc4], eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], 0x1a
mov edx, dword [ebp + 0xc]
mov dword [edx + 8], 0x1a
mov eax, dword [ebp + 0xc]
mov dword [eax + 0xc], 0x1a
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x5c], 0xb
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x60], 1
mov eax, dword [ebp + 0xc]
mov word [eax + 0xa6], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0x30
call fcn.00435ef0
test eax, eax
jne 0x517f68
mov ecx, dword [ebp - 0x18]
add ecx, 0x30
call fcn.00435f80
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x517f57
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0x30
call fcn.00435fa0
mov edx, dword [eax]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
movsx ecx, byte [eax]
movsx edx, byte [ebp + 8]
cmp ecx, edx
jne 0x517f55
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x517f4a
push 1
mov ecx, dword [ebp - 0x10]
call fcn.00518810
mov dword [ebp - 0x1c], eax
jmp 0x517f51
mov dword [ebp - 0x1c], 0
xor eax, eax
jmp 0x517f7c
jmp 0x517f01
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x18]
add ecx, 0x30
call sub.MFC42.DLL_CPtrList::AddHead
jmp 0x517f77
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x30
call sub.MFC42.DLL_CPtrList::AddHead
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10

Function at 0x520e79
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4dcc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0050bc40
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.ExeBlockRequest.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x28], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x2c], 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.0058e0f4
push str.Fidia.ini
push 0
push str.FordStyleCNCBLOC
push 0x5fb2fc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
jne 0x520f0b
push 0x5fb300
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.0058e586
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x5269a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov edx, dword [ebp + 0xc]
and edx, 0xff
cmp edx, 1
jne 0x5269e9
push str.FIDIA.INI
push 0
push str.LINUXPORT
push 0x5fbd6c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
jne 0x5269e9
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
add ecx, 0x3e8
mov edx, dword [ebp - 4]
mov dword [edx], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x526e98
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x34], 0
je 0x526ec3
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0xa0]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xa0]
mov eax, dword [edx]
call dword [eax + 0x24]
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0xbc], 7
jne 0x526fd9
mov edx, dword [ebp + 8]
cmp dword [edx + 0x40], 0x12c
jne 0x526fd9
mov eax, dword [ebp + 8]
cmp dword [eax + 0x34], 0
jne 0x526ef1
jmp 0x526fd9
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x34]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xa0]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xa0]
mov edx, dword [eax]
call dword [edx + 0x28]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x34], eax
cmp dword [ebp + 8], 0
je 0x526f8e
mov edx, dword [ebp + 8]
cmp dword [edx + 0x34], 3
jne 0x526f8e
mov eax, dword [ebp - 4]
cmp dword [eax + 0x98], 0
jne 0x526f8e
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0xcc], 0
je 0x526f8e
push 0x5fbe8c
push 0
push str.MANTEST
push 0x5fbea0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x526f63
mov edx, dword [ebp + 8]
mov dword [edx + 0x34], 1
jmp 0x526f8e
push 0
push 4
push 1
push 0
push str.FIDIA_WS_PROCLINKABORTED
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
call sub.MFC42.DLL_AfxMessageBox
cmp eax, 6
jne 0x526f8e
mov eax, dword [ebp + 8]
mov dword [eax + 0x34], 1
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x34], 1
je 0x526fa4
mov edx, dword [ebp - 4]
mov dword [edx + 0xc4], 0xa
mov eax, dword [ebp - 4]
mov dword [eax + 0xbc], 1
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xa0]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xa0]
mov edx, dword [eax]
call dword [edx + 0x18]
push 0
push 0
push 0x400
mov ecx, dword [ebp - 4]
call fcn.0043ce20
mov esp, ebp
pop ebp
ret 4