Function at 0x10002c10
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1000f4bc
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x1001509c]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1001509c]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
cmp dword [0x10015740], 0
mov ebp, dword [esp + 0x148]
mov ebx, ecx
je 0x10002ef1
lea ecx, [esp + 0x18]
call dword [0x10010284]
lea ecx, [esp + 0x1c]
call dword [0x10010284]
lea ecx, [esp + 0x24]
call dword [0x10010284]
lea ecx, [esp + 0x14]
mov dword [esp + 0x140], 0
call dword [0x10010284]
lea ecx, [esp + 0x30]
call dword [0x10010284]
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x144], 2
call fcn.1000a5e0
mov byte [esp + 0x140], 3
test ebp, ebp
je 0x10002ead
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10002cc5
sub eax, edx
sar eax, 1
je 0x10002ead
test ebx, ebx
je 0x10002d12
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10002ce3
sub eax, edx
sar eax, 1
je 0x10002d12
mov ecx, dword [0x1001560c]
push ebx
push ebp
push ecx
lea edx, [esp + 0x20]
push str._s:_s:_s
push edx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0x14
jmp 0x10002d26
push ebp
lea eax, [esp + 0x18]
push 0x100106a4
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0xc
lea ecx, [esp + 0x34]
push ecx
lea esi, [esp + 0x18]
mov eax, 0x10015630
call fcn.10005180
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov edi, dword [0x10015648]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], esi
test ecx, ecx
je 0x10002d58
cmp ecx, dword [0x10015630]
je 0x10002d5e
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp esi, edi
jne 0x10002e6e
mov edx, dword [0x10015664]
mov eax, dword [esp + 0x14]
mov ecx, dword [0x10015660]
push edx
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
inc eax
push 0
mov edx, ebp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], eax
mov edi, eax
call fcn.100028c0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x144], 4
call dword [0x10010280]
lea ecx, [esp + 0x28]
mov byte [esp + 0x140], 3
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 0
push 0x5b
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find]
cmp eax, 0xffffffff
jne 0x10002e23
push 0
push 0x5d
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find]
cmp eax, 0xffffffff
jne 0x10002e23
lea edx, [esp + 0x14]
push edx
mov ecx, 0x10015630
call fcn.10005040
mov esi, eax
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call dword [0x10010280]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esi + 4]
call dword [0x10010280]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x24]
push eax
lea ecx, [esi + 0xc]
mov dword [esi + 8], edx
call dword [0x10010280]
jmp 0x10002e83
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x144], 2
call fcn.1000a710
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x18]
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, edi
jmp 0x10002ef3
lea esi, [esp + 0x28]
call fcn.10005200
mov edi, dword [eax + 0xc]
inc edi
call fcn.10005200
mov dword [eax + 0xc], edi
cmp dword [esp + 0x14c], 0
mov dword [0x10015650], 0
je 0x10002ea3
mov edx, dword [0x10015664]
push edx
call fcn.10002310
lea eax, [esp + 0x3c]
push eax
jmp 0x10002e28
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x144], 2
call fcn.1000a710
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.1000d2b5
add esp, 0x130
ret 8