Function at 0x402a81
Capabilities:
Read .ini file

Disassembly:
jmp 0x412750
push 0xffffffffffffffff
push 0x461eb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov esi, ecx
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xcc]
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 0x5c]
mov dword [esp + 0x18], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xcc]
mov ecx, dword [eax]
lea eax, [esp + 0x18]
push eax
mov edx, dword [ecx]
call dword [edx + 0x60]
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], eax
call fcn.0045f748
mov ecx, dword [0x479cac]
xor ebx, ebx
push ecx
push 0x3c
push 0x3c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], ebx
call sub.MFC42.DLL_CString::GetBuffer
push eax
push ebx
push str.jstdefault
push str.setup
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov eax, dword [0x479cb8]
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x4787d0
push eax
call ebp
mov edi, dword [esp + 0x38]
add esp, 8
test eax, eax
je 0x41282f
mov eax, dword [0x479cb8]
push str.DR780
push eax
call ebp
add esp, 8
test eax, eax
je 0x41282f
mov eax, dword [0x479cb8]
push 0x4787f4
push eax
call ebp
add esp, 8
test eax, eax
je 0x41282f
push 1
jmp 0x41285b
mov edx, dword [esp + 0x10]
push 0x478900
push edx
call ebp
add esp, 8
test eax, eax
jne 0x412846
push 1
jmp 0x41285b
mov eax, dword [esp + 0x10]
push 0x4788fc
push eax
call ebp
add esp, 8
test eax, eax
jne 0x412863
push 2
push edi
mov ecx, esi
call fcn.004027c0
push ebx
push edi
mov ecx, esi
call fcn.0040295a
push ebx
push edi
mov ecx, esi
call fcn.00401f73
push 1
push edi
mov ecx, esi
call fcn.00401703
push ebx
push edi
mov ecx, esi
call fcn.00402ce8
push ebx
push edi
mov ecx, esi
call fcn.00401ff0
push ebx
push edi
mov ecx, esi
call fcn.0040112c
push ebx
push edi
mov ecx, esi
call fcn.00401f9b
push 1
push edi
mov ecx, esi
call fcn.0040209a
push ebx
push edi
mov ecx, esi
call fcn.00401401
push ebx
push edi
mov ecx, esi
call fcn.00401a5f
push ebx
push edi
mov ecx, esi
call fcn.004013c5
push ebx
push edi
mov ecx, esi
call fcn.00402ad1
push ebx
push edi
mov ecx, esi
call fcn.00401352
push ebx
push edi
mov ecx, esi
call fcn.00401d52
push ebx
push edi
mov ecx, esi
call fcn.0040148d
push ebx
push edi
mov ecx, esi
call fcn.00401424
push ebx
push edi
mov ecx, esi
call fcn.00402c75
push 1
push edi
mov ecx, esi
call fcn.004026f3
push ebx
push edi
mov ecx, esi
call fcn.004021cb
push ebx
push edi
mov ecx, esi
call fcn.00401249
push 1
push edi
mov ecx, esi
call fcn.00401825
push ebx
push edi
mov ecx, esi
call fcn.004010aa
push ebx
push edi
mov ecx, esi
call fcn.00401ed3
push ebx
push edi
mov ecx, esi
call fcn.004024eb
push 4
push edi
mov ecx, esi
call fcn.00402090
push ebx
push edi
mov ecx, esi
call fcn.00401a1e
push ebx
push edi
mov ecx, esi
call fcn.0040286a
push ebx
push edi
mov ecx, esi
call fcn.00401023
push 0x479a40
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 1
push ecx
push 1
push edi
mov ecx, esi
call fcn.00402c07
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
push 0x479a40
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString_1
lea edx, [esp + 0x30]
mov ecx, esi
push edx
push ebx
push edi
mov byte [esp + 0x34], 2
call fcn.00402c07
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
push ebx
push edi
mov ecx, esi
call fcn.00402d5b
push ebx
push edi
mov ecx, esi
call fcn.00402405
push 1
push edi
mov ecx, esi
call fcn.004013ed
xor ebp, ebp
push ebx
push ebp
push edi
mov ecx, esi
call fcn.00401a32
inc ebp
cmp ebp, 8
jl 0x4129df
push ebx
push edi
mov ecx, esi
call fcn.00402d60
push ebx
push edi
mov ecx, esi
call fcn.0040277f
lea ecx, [esp + 0x14]
call fcn.0045f748
mov eax, dword [esp + 0x1c]
mov ebp, 0x186a0
mov byte [esp + 0x28], 3
mov ecx, dword [eax + 0x82298]
mov eax, ecx
cdq
idiv ebp
mov eax, 0x14f8b589
push edx
imul ecx
sar edx, 0xd
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
push edx
lea edx, [esp + 0x1c]
push str._03d._05d
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea eax, [esp + 0x14]
mov ecx, esi
push eax
push 1
push edi
call fcn.00402e00
lea ecx, [esp + 0x14]
push ecx
push ebx
push edi
mov ecx, esi
call fcn.00402e00
push 1
push edi
mov ecx, esi
call fcn.00401947
push 1
push edi
mov ecx, esi
call fcn.00401082
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4