Function at 0x413e50
Capabilities:
Accept command line arguments
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414fa6
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x22c
mov eax, dword [0x41e018]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x224]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov dword [ebp - 4], 0
push 0x4188a4
push 0x4188a8
lea ecx, [ebp - 0x224]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace]
lea ecx, [ebp - 0x224]
call dword [sym.imp.mfc90u.dll_]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.00412b30
add esp, 8
mov dword [ebp - 0x234], eax
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x238], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x238]
push edx
lea ecx, [ebp - 0x224]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x22c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0x4188ac
lea ecx, [ebp - 0x224]
call dword [0x41716c]
push 0x41ea20
lea ecx, [ebp - 0x224]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea ecx, [ebp - 0x224]
call dword [sym.imp.mfc90u.dll_]
push eax
push 0x104
lea eax, [ebp - 0x220]
push eax
mov ecx, 0x41ea3c
call dword [sym.imp.mfc90u.dll_]
push eax
mov ecx, 0x41ea2c
call dword [sym.imp.mfc90u.dll_]
push eax
mov ecx, 0x41ea24
call dword [sym.imp.mfc90u.dll_]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x41ea3c
lea ecx, [ebp - 0x220]
push ecx
call fcn.00401210
add esp, 8
movzx edx, al
test edx, edx
je 0x413f99
lea eax, [ebp - 0x220]
push eax
mov ecx, 0x41ea3c
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
xor ecx, ecx
mov word [ebp - 0x220], cx
lea ecx, [ebp - 0x224]
call dword [sym.imp.mfc90u.dll_]
push eax
push 0x104
lea edx, [ebp - 0x220]
push edx
mov ecx, 0x41ea38
call dword [sym.imp.mfc90u.dll_]
push eax
mov ecx, 0x41ea28
call dword [sym.imp.mfc90u.dll_]
push eax
mov ecx, 0x41ea24
call dword [sym.imp.mfc90u.dll_]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x41ea38
lea eax, [ebp - 0x220]
push eax
call fcn.00401210
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x414012
lea edx, [ebp - 0x220]
push edx
mov ecx, 0x41ea38
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
xor eax, eax
mov word [ebp - 0x220], ax
lea ecx, [ebp - 0x224]
call dword [sym.imp.mfc90u.dll_]
push eax
push 0x104
lea ecx, [ebp - 0x220]
push ecx
mov ecx, 0x41ea34
call dword [sym.imp.mfc90u.dll_]
push eax
mov ecx, 0x41ea30
call dword [sym.imp.mfc90u.dll_]
push eax
mov ecx, 0x41ea24
call dword [sym.imp.mfc90u.dll_]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x41ea34
lea edx, [ebp - 0x220]
push edx
call fcn.00401210
add esp, 8
movzx eax, al
test eax, eax
je 0x41408b
lea ecx, [ebp - 0x220]
push ecx
mov ecx, 0x41ea34
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov dword [ebp - 0x228], 0
mov byte [ebp - 0x11], 0
mov byte [ebp - 4], 2
call fcn.00413c10
mov byte [ebp - 0x239], al
mov dl, byte [ebp - 0x239]
mov byte [ebp - 0x11], dl
jmp 0x4140c0
mov dword [ebp - 4], 0
cmp dword [0x41e9d4], 0
je 0x4140d6
call dword [0x41e9d4]
mov eax, dword [0x41e9c8]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x41e9c8], 0
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
jne 0x4140f9
call fcn.00413280
mov edx, dword [ebp - 0x228]
mov dword [ebp - 0x230], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [ebp - 0x230]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0040df76
mov esp, ebp
pop ebp
ret 0x10