Function at 0x472190
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54034a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
test eax, eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
je 0x4725d9
push 0x800
call fcn.004ee7cf
mov esi, eax
mov ecx, 0x200
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [0x591288]
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov edi, dword [ebp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
push 0x800
push esi
push 0x596660
push str.F_START
push str.Format
mov dword [ebp - 4], 0
call ebx
push esi
lea ecx, [ebp - 0x38]
call fcn.0050d586
push 0x5881a4
push str.F_ENTER
lea ecx, [ebp - 0x38]
call fcn.0050595c
push edi
push 0x800
push esi
push 0x596660
push str.F_END
push str.Format
call ebx
push esi
lea ecx, [ebp - 0x34]
call fcn.0050d586
push 0x5881a4
push str.F_ENTER
lea ecx, [ebp - 0x34]
call fcn.0050595c
push edi
push 0x800
push esi
push 0x596660
push str.C_START
push str.Format
call ebx
push esi
lea ecx, [ebp - 0x30]
call fcn.0050d586
push 0x5881a4
push str.F_ENTER
lea ecx, [ebp - 0x30]
call fcn.0050595c
push edi
push 0x800
push esi
push 0x596660
push str.C_END
push str.Format
call ebx
push esi
lea ecx, [ebp - 0x2c]
call fcn.0050d586
push 0x5881a4
push str.F_ENTER
lea ecx, [ebp - 0x2c]
call fcn.0050595c
push edi
push 0x800
push esi
push 0x596660
push str.ITEM
push str.Format
call ebx
push esi
lea ecx, [ebp - 0x28]
call fcn.0050d586
push 0x5881a4
push str.F_ENTER
lea ecx, [ebp - 0x28]
call fcn.0050595c
push esi
call fcn.004ee909
add esp, 4
lea ecx, [ebp - 0x4c]
call fcn.0050daae
mov eax, dword [0x591288]
mov dword [ebp - 0x3c], eax
xor esi, esi
lea ecx, [ebp - 0x3c]
push esi
mov byte [ebp - 4], 2
mov dword [ebp - 0x4c], vtable.CFileException.0
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], 0xffffffff
call fcn.0050d586
mov ebx, 3
push 0x10
mov byte [ebp - 4], bl
call fcn.0050d138
add esp, 4
mov dword [ebp + 0x14], eax
cmp eax, esi
mov byte [ebp - 4], 4
je 0x47235b
mov ecx, eax
call fcn.0050dff1
mov esi, eax
mov edi, dword [ebp + 8]
mov edx, dword [esi]
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
push 0x1012
push edi
mov dword [ebp + 0x14], esi
mov byte [ebp - 4], bl
call dword [edx + 0x20]
test eax, eax
jne 0x472388
test esi, esi
je 0x47238c
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
jmp 0x47238c
test esi, esi
jne 0x47240a
mov ecx, dword [ebp - 0x14]
push 0xf100
lea eax, [ebp - 0x4c]
push 1
push eax
push edi
call fcn.004726a0
mov dword [ebp - 0x4c], vtable.CFileException.0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.0050d3fd
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 9
call fcn.0050d3fd
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.0050d3fd
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call fcn.0050d3fd
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.0050d3fd
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.0050d3fd
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0x24]
call fcn.0050db4c
mov byte [ebp - 4], 0xb
call fcn.0052ba93
mov ecx, dword [eax + 4]
call fcn.00513e09
mov byte [ebp - 4], 0xc
call fcn.0042eff0
mov ecx, eax
call fcn.00434250
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx - 8]
test eax, eax
je 0x472446
mov edx, dword [esi]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x38]
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x47245b
mov edx, dword [ebp + 0x10]
lea eax, [ebp - 0x38]
push eax
push edx
push esi
call fcn.004728a0
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx - 8]
test eax, eax
je 0x47246e
mov edx, dword [esi]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x38]
mov ecx, dword [ebp - 0x14]
push 0
push esi
call fcn.00472860
call fcn.0042eff0
mov ecx, eax
call fcn.00434260
mov byte [ebp - 4], 0xb
call fcn.0052ba93
mov ecx, dword [eax + 4]
call fcn.00513e1e
mov dword [ebp - 4], ebx
call fcn.0050db8a
mov dword [ebp - 0x4c], vtable.CFileException.0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x16
call fcn.0050d3fd
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x1a
call fcn.0050d3fd
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x19
call fcn.0050d3fd
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x18
call fcn.0050d3fd
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x17
call fcn.0050d3fd
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.0050d3fd
jmp 0x472605
call fcn.0042eff0
mov ecx, eax
call fcn.00434250
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4725f9
mov eax, dword [ebp + 0x10]
push 0
push eax
push 0
call fcn.004728a0
call fcn.0042eff0
mov ecx, eax
call fcn.00434260
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10