Function at 0x42f743
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x56aa08
call fcn.00524444
sub esp, 0x150
push ebx
push edi
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x18], ebx
call fcn.0055c7c5
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x28]
add eax, 0x1c8
push eax
call fcn.0053e8c4
mov eax, dword [0x61d784]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], eax
push 0x5c0624
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.0053ebbd
push 0x622c94
push dword [ebp - 0x28]
call fcn.00524dbe
pop ecx
test eax, eax
pop ecx
je 0x42fa2c
mov eax, dword [0x61d784]
push esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x14]
push ebx
push eax
mov eax, dword [0x62ae3c]
mov byte [ebp - 4], 4
lea ecx, [eax + 0x1c8]
call fcn.004f9149
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.0053ec88
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.0053eb4f
lea eax, [ebp - 0x14]
push ebx
push eax
mov eax, dword [0x62ae3c]
lea ecx, [eax + 0x1c8]
call fcn.004f9071
lea esi, [edi + 0x1e4]
push eax
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.0053ec88
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.0053eb4f
mov eax, dword [esi]
cmp dword [eax - 8], ebx
jne 0x42f829
push 0x5befd4
mov ecx, esi
call fcn.0053ecd8
push dword [ebp - 0x28]
push ebx
push 0x5c0698
push 0x5c062c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x3c], eax
call fcn.0053d5c9
lea eax, [ebp - 0x54]
push ebx
push eax
mov eax, dword [0x62ae3c]
mov byte [ebp - 4], 7
lea ecx, [eax + 0x1c8]
call fcn.004f8785
cmp dword [ebp - 0x4c], ebx
mov dword [ebp - 0x20], ebx
jle 0x42fa07
push dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x54]
push eax
call fcn.00420eef
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 8
cmp dword [eax - 8], ebx
je 0x42f9de
push 0x104
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.00528044
add esp, 0xc
cmp byte [ebp - 0x15c], bl
je 0x42f9fb
inc dword [ebp - 0x18]
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x10]
call fcn.0053ecd8
push 0x5c0750
lea ecx, [ebp - 0x10]
call fcn.0053aa84
cmp eax, 0xffffffff
jne 0x42f92c
push 0x5c074c
lea ecx, [ebp - 0x10]
call fcn.0053aa84
cmp eax, 0xffffffff
jne 0x42f92c
lea eax, [ebp - 0x2c]
push 0x5bc994
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0053ede4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
push ecx
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0053ed7e
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xa
call fcn.0053ec88
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 9
call fcn.0053eb4f
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 8
call fcn.0053eb4f
lea eax, [ebp - 0x15c]
push eax
call fcn.00525390
cmp eax, ebx
pop ecx
jle 0x42f9c8
cmp byte [ebp + eax - 0x15d], 0x5c
jne 0x42f9c8
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [0x62ae3c]
lea ecx, [eax + 0x1c8]
call fcn.004fab31
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call fcn.0053e8c4
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0xc
cmp dword [eax - 8], ebx
je 0x42f98a
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.0053ec88
push ebx
lea eax, [ebp - 0x10]
push dword [ebp - 0x3c]
mov ecx, edi
push eax
call fcn.0042f34d
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov ecx, esi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0053ec88
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call fcn.0053eb4f
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.0053eb4f
jmp 0x42f9de
mov eax, dword [edi + 0x204]
lea ecx, [edi + 0x1fc]
lea edx, [ebp - 0x10]
push edx
push eax
call fcn.0053d7d1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.0053eb4f
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x4c]
jl 0x42f86d
jmp 0x42fa07
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.0053eb4f
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 4
call fcn.0053d5fc
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.0053eb4f
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0053eb4f
pop esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.0053eb4f
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0053eb4f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0053eb4f
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret