Function at 0x45a132
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598f93
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x948
mov dword [ebp - 0x948], ecx
mov eax, dword [ebp - 0x948]
mov dword [eax + 0x224], 0xffffffff
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
test edx, edx
jne 0x45a175
jmp 0x45a42a
push 0x5e8950
push str.c:_fidiaprogramlogfile.cnc
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
jne 0x45a19c
jmp 0x45a42a
mov dword [ebp - 0x128], 1
mov eax, dword [ebp - 0x12c]
push eax
push 0x800
lea ecx, [ebp - 0x92c]
push ecx
call dword [sym.imp.MSVCRT.dll_fgets]
add esp, 0xc
test eax, eax
je 0x45a329
lea edx, [ebp - 0x92c]
push edx
lea ecx, [ebp - 0x930]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 0
push 0x3e
lea ecx, [ebp - 0x930]
call sub.MFC42.DLL_CString::Find
mov dword [ebp - 0x938], eax
cmp dword [ebp - 0x938], 0xffffffff
jne 0x45a222
mov eax, dword [ebp - 0x128]
add eax, 1
mov dword [ebp - 0x128], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x930]
call fcn.0058df86
jmp 0x45a1a6
mov ecx, dword [ebp - 0x938]
add ecx, 1
push ecx
lea edx, [ebp - 0x934]
push edx
lea ecx, [ebp - 0x930]
call sub.MFC42.DLL_CString::Mid
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x934]
call fcn.00403d90
push eax
lea eax, [ebp - 0x92c]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
mov dword [ebp - 0x93c], 0x5e8974
jmp 0x45a278
mov ecx, dword [ebp - 0x93c]
add ecx, 1
mov dword [ebp - 0x93c], ecx
mov edx, dword [ebp - 0x93c]
movsx eax, byte [edx]
test eax, eax
je 0x45a2b9
mov ecx, dword [ebp - 0x93c]
movsx edx, byte [ecx]
push edx
lea eax, [ebp - 0x92c]
push eax
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
mov dword [ebp - 0x940], eax
cmp dword [ebp - 0x940], 0
je 0x45a2b7
mov ecx, dword [ebp - 0x940]
mov byte [ecx], 0
jmp 0x45a269
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x92c]
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x45a2f4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x934]
call fcn.0058df86
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x930]
call fcn.0058df86
jmp 0x45a329
mov ecx, dword [ebp - 0x128]
add ecx, 1
mov dword [ebp - 0x128], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x934]
call fcn.0058df86
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x930]
call fcn.0058df86
jmp 0x45a1a6
mov edx, dword [ebp - 0x12c]
push edx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
lea ecx, [ebp - 0x124]
call fcn.0058be70
mov dword [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x944], esp
push str.c:FidiaWsFidiaRpcSCNotepad_notepad.exe
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x94c], eax
lea ecx, [ebp - 0x124]
call fcn.0058d910
mov dword [ebp - 0x950], eax
xor eax, eax
cmp dword [ebp - 0x950], 1
sete al
mov byte [ebp - 0x14], al
mov ecx, dword [ebp - 0x14]
and ecx, 0xff
test ecx, ecx
je 0x45a39d
mov dword [ebp - 0x954], str._c:FidiaWsFidiaRpcSCNotepad_notepad.exe___n_d__nosession__c:_fidiaprogramlogfile.cnc
jmp 0x45a3a7
mov dword [ebp - 0x954], str.c:_fidiawsNotepad2.exe__g__d_c:_fidiaprogramlogfile.cnc
push 0x5e89a8
push 0x100
lea edx, [ebp - 0x114]
push edx
mov eax, dword [ebp - 0x954]
push eax
push str.ExtTextEditorCMD
push 0x5e8a64
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x128]
push ecx
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push 0
push 0
push 0
lea ecx, [ebp - 0x10]
call fcn.00403d90
push eax
call fcn.00495d98
add esp, 0x10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.0058df86
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.0045be90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4