Function at 0x103b1b3
Capabilities:
Terminate process

Disassembly:
sub esp, 0x20c
mov eax, dword [0x1251b5c]
xor eax, dword [esp + 0x20c]
push ebx
push ebp
push esi
push edi
push 0x10024d2
push 0x1007174
mov dword [esp + 0x220], eax
mov edi, 0x1007168
push edi
lea eax, [esp + 0x1c]
push eax
mov esi, ecx
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push dword [eax]
mov ebp, dword [sym.imp.msvcrt.dll__snprintf]
mov ebx, 0x10023e4
push ebx
lea eax, [esp + 0x1c]
push 0x100
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.0105bcd2
lea eax, [esp + 0x14]
push eax
push ebx
lea eax, [esi + 0xe8]
push 0x104
push eax
call ebp
add esp, 0x10
push 0x10024d2
push 0x1007154
push edi
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push dword [eax]
lea eax, [esp + 0x18]
push ebx
push 0x100
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.0105bcd2
lea eax, [esp + 0x14]
push eax
push ebx
lea eax, [esi + 0x1ec]
push 0x104
push eax
call ebp
add esp, 0x10
push 0x64
push 0x1007148
push edi
mov ecx, esi
call sub.MFC42.DLL_CWinApp::GetProfileIntA
push 0xa
push 0x1007138
push edi
mov ecx, esi
mov dword [esi + 0x3f4], eax
call sub.MFC42.DLL_CWinApp::GetProfileIntA
push 0x10024d2
push 0x1007128
mov dword [esi + 0x3f8], eax
push edi
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push dword [eax]
lea eax, [esp + 0x18]
push ebx
push 0x100
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.0105bcd2
lea eax, [esp + 0x14]
push eax
push ebx
lea eax, [esi + 0x2f0]
push 0x104
push eax
call ebp
add esp, 0x10
push 0
push 0x100711c
push edi
mov ecx, esi
call sub.MFC42.DLL_CWinApp::GetProfileIntA
push 0x1007774
push 0x1007114
mov dword [esi + 0x3fc], eax
push edi
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push dword [eax]
lea eax, [esp + 0x18]
push ebx
push 0x100
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.0105bcd2
lea eax, [esp + 0x14]
push eax
push ebx
lea eax, [esi + 0xc8]
push 0x104
push eax
call ebp
add esp, 0x10
push 0x1007220
push 0x1007100
push edi
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push dword [eax]
lea eax, [esp + 0x18]
push ebx
push 0x100
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.0105bcd2
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.msvcrt.dll_atol]
cdq
mov dword [esp], 0x1007220
push 0x10070f0
mov dword [esi + 0x428], eax
push edi
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov dword [esi + 0x42c], edx
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push dword [eax]
lea eax, [esp + 0x18]
push ebx
push 0x100
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.0105bcd2
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.msvcrt.dll_atol]
pop ecx
push 0xa
cdq
push 0x10070e0
push edi
mov ecx, esi
mov dword [esi + 0x430], eax
mov dword [esi + 0x434], edx
call sub.MFC42.DLL_CWinApp::GetProfileIntA
push 0x1e
push 0x10070d4
push edi
mov ecx, esi
mov dword [esi + 0x43c], eax
call sub.MFC42.DLL_CWinApp::GetProfileIntA
push 0xffffffffffffffff
push 0x10070c8
push edi
mov ecx, esi
mov dword [esi + 0x440], eax
call sub.MFC42.DLL_CWinApp::GetProfileIntA
push 0
push 0x10070b8
push edi
mov ecx, esi
mov dword [esi + 0x878], eax
call sub.MFC42.DLL_CWinApp::GetProfileIntA
push 0
push 0x10070a8
push edi
mov ecx, esi
mov dword [esi + 0x87c], eax
call sub.MFC42.DLL_CWinApp::GetProfileIntA
push 0
push 0x1007098
push edi
mov ecx, esi
mov dword [esi + 0x884], eax
call sub.MFC42.DLL_CWinApp::GetProfileIntA
push 0
push 0x1007764
push edi
mov ecx, esi
mov dword [esi + 0x880], eax
call sub.MFC42.DLL_CWinApp::GetProfileIntA
push 0
push 0x100708c
mov dword [esi + 0x888], eax
push edi
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push dword [eax]
lea eax, [esi + 0x56c]
push ebx
push eax
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.0105bcd2
push 0
push 0x1007074
push edi
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push dword [eax]
lea eax, [esi + 0x670]
push ebx
push 0x104
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.0105bcd2
push 0
push 0x1007064
push edi
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push dword [eax]
lea eax, [esi + 0x774]
push ebx
push 0x104
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.0105bcd2
push 0x32
push 0x100704c
push edi
mov ecx, esi
call sub.MFC42.DLL_CWinApp::GetProfileIntA
mov dword [esi + 0x438], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push dword [eax + 0x90]
lea eax, [esp + 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esp + eax + 0x114]
mov byte [eax - 3], 0x65
mov byte [eax - 2], 0x78
mov byte [eax - 1], 0x65
lea eax, [esp + 0x114]
push eax
push 0x1007758
push edi
mov ecx, esi
call sub.MFC42.DLL_CWinApp::WriteProfileStringA
mov ecx, dword [esp + 0x218]
pop edi
pop esi
xor eax, eax
pop ebp
inc eax
xor ecx, dword [esp + 0x210]
pop ebx
add esp, 0x20c
jmp fcn.0105b9a4