Function at 0x413170
Capabilities:
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x43bae3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x480
mov eax, dword [0x47f070]
xor eax, esp
push ebx
push ebp
push esi
push edi
mov ebx, ecx
push str.OverLay.ini
mov dword [esp + 0x490], eax
lea edi, [ebx + 4]
lea eax, [esp + 0x14]
push edi
push eax
call fcn.004120e0
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push 0x400
lea ecx, [esp + 0x94]
push ecx
push 0x44093e
xor esi, esi
push esi
push esi
call ebp
lea ecx, [esp + 0x10]
call dword [0x43f434]
lea ecx, [esp + 0x14]
call sub.MFC71.DLL_CStringArray::CStringArray
lea edx, [esp + 0x8c]
push edx
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x4a0], esi
call fcn.00412290
mov ecx, dword [ebx + 0x10]
mov edx, dword [ecx + 4]
add ebx, 0xc
add esp, 8
push edx
mov ecx, ebx
mov dword [esp + 0x4c], ebx
call fcn.00413070
mov eax, dword [ebx + 4]
mov dword [eax + 4], eax
mov eax, dword [ebx + 4]
mov dword [ebx + 8], esi
mov dword [eax], eax
mov ebx, dword [ebx + 4]
mov dword [ebx + 8], ebx
cmp dword [esp + 0x1c], esi
jle 0x4135da
mov bl, 1
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x38]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
push str.OverLay.ini
lea eax, [esp + 0x44]
push edi
push eax
mov byte [esp + 0x4a4], bl
call fcn.004120e0
add esp, 0xc
test esi, esi
mov byte [esp + 0x498], 2
jl 0x413615
cmp esi, dword [esp + 0x1c]
jge 0x413615
mov ecx, dword [esp + 0x18]
lea edx, [ecx + esi*4]
mov ecx, eax
mov dword [esp + 0x10], edx
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov ecx, dword [esp + 0x10]
push eax
push 0x400
lea eax, [esp + 0x94]
push eax
push 0x44093e
push str.Caption
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call ebp
lea ecx, [esp + 0x40]
mov byte [esp + 0x498], bl
call dword [0x43f434]
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x3c]
call dword [0x43f528]
push str.OverLay.ini
lea edx, [esp + 0x48]
push edi
push edx
call fcn.004120e0
add esp, 0xc
cmp esi, dword [esp + 0x1c]
mov byte [esp + 0x498], 3
jge 0x413615
mov ecx, dword [esp + 0x18]
lea edx, [ecx + esi*4]
mov ecx, eax
mov dword [esp + 0x10], edx
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov ecx, dword [esp + 0x10]
push eax
push 0x400
lea eax, [esp + 0x94]
push eax
push 0x44093e
push str.Format
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call ebp
lea ecx, [esp + 0x44]
mov byte [esp + 0x498], bl
call dword [0x43f434]
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x38]
call dword [0x43f528]
push str.OverLay.ini
lea edx, [esp + 0x50]
push edi
push edx
call fcn.004120e0
add esp, 0xc
cmp esi, dword [esp + 0x1c]
mov byte [esp + 0x498], 4
jge 0x413615
mov ecx, dword [esp + 0x18]
lea edx, [ecx + esi*4]
mov ecx, eax
mov dword [esp + 0x10], edx
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov ecx, dword [esp + 0x10]
push eax
push 0x400
lea eax, [esp + 0x94]
push eax
push 0x44093e
push 0x441b80
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call ebp
lea ecx, [esp + 0x4c]
mov byte [esp + 0x498], bl
call dword [0x43f434]
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x34]
call dword [0x43f528]
push str.OverLay.ini
lea edx, [esp + 0x40]
push edi
push edx
call fcn.004120e0
add esp, 0xc
cmp esi, dword [esp + 0x1c]
mov byte [esp + 0x498], 5
jge 0x413615
mov ecx, dword [esp + 0x18]
lea edx, [ecx + esi*4]
mov ecx, eax
mov dword [esp + 0x10], edx
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov ecx, dword [esp + 0x10]
push eax
push 0x400
lea eax, [esp + 0x94]
push eax
push 0x44093e
push str.Footer
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0x498], bl
call dword [0x43f434]
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x30]
call dword [0x43f528]
sub esp, 0x14
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00412030
cmp esi, dword [esp + 0x30]
mov byte [esp + 0x4ac], 6
jge 0x413615
mov eax, dword [esp + 0x2c]
push ecx
lea eax, [eax + esi*4]
mov ecx, esp
mov dword [esp + 0x98], esp
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x80]
push ecx
mov byte [esp + 0x4b4], bl
call fcn.00412820
add esp, 0x1c
mov dword [esp + 0x10], eax
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x49c], 7
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov edx, dword [esp + 0x10]
add edx, 4
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0x49c], 8
call fcn.00412030
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x50]
mov byte [esp + 0x4a0], 9
call fcn.00412fa0
lea ecx, [esp + 0x64]
call dword [0x43f434]
lea ecx, [esp + 0x60]
call dword [0x43f434]
lea ecx, [esp + 0x5c]
call dword [0x43f434]
lea ecx, [esp + 0x58]
call dword [0x43f434]
lea ecx, [esp + 0x54]
call dword [0x43f434]
lea ecx, [esp + 0x50]
call dword [0x43f434]
lea ecx, [esp + 0x7c]
call dword [0x43f434]
lea ecx, [esp + 0x78]
call dword [0x43f434]
lea ecx, [esp + 0x74]
call dword [0x43f434]
lea ecx, [esp + 0x70]
call dword [0x43f434]
lea ecx, [esp + 0x6c]
call dword [0x43f434]
lea ecx, [esp + 0x68]
call dword [0x43f434]
lea ecx, [esp + 0x38]
call dword [0x43f434]
lea ecx, [esp + 0x34]
call dword [0x43f434]
lea ecx, [esp + 0x30]
call dword [0x43f434]
lea ecx, [esp + 0x2c]
call dword [0x43f434]
lea ecx, [esp + 0x28]
call dword [0x43f434]
mov eax, dword [esp + 0x1c]
inc esi
cmp esi, eax
jl 0x413240
lea ecx, [esp + 0x14]
mov dword [esp + 0x498], 0xffffffff
call fcn.00439f6c
mov ecx, dword [esp + 0x490]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x484]
pop ebp
pop ebx
xor ecx, esp
call fcn.0043a16b
add esp, 0x48c
ret
jmp fcn.00439dbc