Function at 0x42b5e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x4cf0c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xb8], ecx
push 0x1e
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00474130
add esp, 0xc
mov ecx, dword [ebp + 0xc]
imul ecx, ecx, 9
imul ecx, dword [ebp + 0xc]
imul ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
imul edx, edx, 0x47
imul edx, dword [ebp + 0xc]
add ecx, edx
mov eax, dword [ebp + 0xc]
lea ecx, [ecx + eax*4 + 6]
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp + 0xc]
imul edx, edx, 0x1d
imul edx, dword [ebp + 0xc]
imul edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
imul eax, eax, 0x46
imul eax, dword [ebp + 0xc]
add edx, eax
mov ecx, dword [ebp + 0xc]
imul ecx, ecx, 5
lea edx, [edx + ecx + 6]
mov dword [ebp - 0xac], edx
mov eax, dword [ebp + 0xc]
imul eax, eax, 0x1d
imul eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
imul ecx, ecx, 0x11
imul ecx, dword [ebp + 0xc]
add eax, ecx
mov edx, dword [ebp + 0xc]
lea eax, [eax + edx*2 + 6]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp + 0xc]
imul ecx, ecx, 0x13
imul ecx, dword [ebp + 0xc]
imul ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
imul edx, edx, 0x46
imul edx, dword [ebp + 0xc]
add ecx, edx
mov eax, dword [ebp + 0xc]
lea ecx, [ecx + eax*2 + 6]
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0xac]
mov dword [ebp + 0xc], edx
mov dword [ebp - 0xac], 0x902
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + ecx + 0x56a0]
mov dword [ebp + 0xc], edx
push 0x28
push 0
lea eax, [ebp - 0xa0]
push eax
call fcn.00474130
add esp, 0xc
push 0x49fd9c
push 0x26
lea ecx, [ebp - 0xa0]
push ecx
push 0x49fdb8
push 0x49fdc4
push 0x49fdd0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x49fde0
lea edx, [ebp - 0xa0]
push edx
call fcn.004049f0
add esp, 8
test eax, eax
je 0x42b787
push 0x49fdec
push 0x49fe08
push 0x49fe44
push 0x49fe4c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x49fe5c
push 0x49fe78
push 0x49fe9c
push 0x49fea4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x49feb4
push 0x49fed0
push 0x49fefc
push 0x49ff04
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x49ff14
push 0x49ff30
push 0x49ff40
push 0x49ff4c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x28
push 0
lea eax, [ebp - 0xa0]
push eax
call fcn.00474130
add esp, 0xc
push 0x49ff5c
push 0x26
lea ecx, [ebp - 0xa0]
push ecx
push 0x49ff78
push 0x49ff84
push 0x49ff90
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x49ffa0
lea edx, [ebp - 0xa0]
push edx
call fcn.004049f0
add esp, 8
test eax, eax
je 0x42b7e9
push 0x49ffac
call fcn.004041d0
add esp, 4
push 1
call fcn.00476b1c
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0xa0]
push eax
call fcn.00474a90
add esp, 4
mov dword [ebp - 0xb4], eax
push 0x80
push 0
mov ecx, dword [ebp - 0xb8]
add ecx, 5
push ecx
call fcn.00474130
add esp, 0xc
lea edx, [ebp - 0xa0]
push edx
lea eax, [ebp - 0xa0]
push eax
call fcn.00474a90
add esp, 4
add eax, 2
push eax
mov ecx, dword [ebp - 0xb8]
add ecx, 5
push ecx
call fcn.00474a28
add esp, 0xc
mov dword [ebp - 0x1c], 0
jmp 0x42b85c
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0xb4]
jae 0x42b8b1
mov ecx, dword [ebp - 0x1c]
movsx edx, byte [ebp + ecx - 0xa0]
cmp edx, 0x2d
jne 0x42b8af
mov eax, dword [ebp - 0xb4]
sub eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp + ecx - 0x9f]
push edx
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp + eax - 0xa0]
push ecx
call fcn.00479b10
add esp, 0xc
mov edx, dword [ebp - 0xb4]
mov byte [ebp + edx - 0xa1], 0
jmp 0x42b8b1
jmp 0x42b853
cmp dword [ebp - 0x1c], 5
jbe 0x42b8cb
push 0x49ffcc
call fcn.004041d0
add esp, 4
push 1
call fcn.00476b1c
cmp dword [ebp - 0x1c], 2
jae 0x42b8e5
push 0x49fffc
call fcn.004041d0
add esp, 4
push 1
call fcn.00476b1c
movsx eax, byte [ebp - 0xa0]
cmp eax, 0x30
je 0x42b905
push 0x4a002c
call fcn.004041d0
add esp, 4
push 1
call fcn.00476b1c
push 0xa
push 0
lea ecx, [ebp - 0x10]
push ecx
call fcn.00474130
add esp, 0xc
push 3
lea edx, [ebp - 0xa0]
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.00476380
add esp, 0xc
push 0xa
push 0
lea ecx, [ebp - 0x10]
push ecx
call fcn.00474130
add esp, 0xc
push 4
lea edx, [ebp - 0xa0]
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.00476380
add esp, 0xc
push str.0086
lea ecx, [ebp - 0x10]
push ecx
call fcn.004749a0
add esp, 8
test eax, eax
jne 0x42b978
push 0x4a0054
call fcn.004041d0
add esp, 4
push 1
call fcn.00476b1c
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xb4], 0
jmp 0x42b9b5
mov edx, dword [ebp - 0xb4]
add edx, 1
mov dword [ebp - 0xb4], edx
lea eax, [ebp - 0xa0]
push eax
call fcn.00474a90
add esp, 4
cmp dword [ebp - 0xb4], eax
jae 0x42ba09
mov ecx, dword [ebp - 0xb4]
movsx edx, byte [ebp + ecx - 0xa0]
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0xb0]
push eax
call fcn.0047a1f5
add esp, 4
test eax, eax
jg 0x42ba07
push 0x4a006c
call fcn.004041d0
add esp, 4
push 1
call fcn.00476b1c
jmp 0x42b9a6
lea ecx, [ebp - 0xa0]
push ecx
call fcn.00474ce7
add esp, 4
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], edx
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0xa4], 0
jg 0x42ba61
jl 0x42ba4d
cmp dword [ebp - 0xa8], 0x15b38
jae 0x42ba61
push 0x4a0094
call fcn.004041d0
add esp, 4
push 1
call fcn.00476b1c
lea ecx, [ebp - 0xa0]
push ecx
call fcn.00474a90
add esp, 4
cmp eax, 8
jae 0x42ba89
push 0x4a00bc
call fcn.004041d0
add esp, 4
push 1
call fcn.00476b1c
lea edx, [ebp - 0xa0]
push edx
call fcn.00474a90
add esp, 4
cmp eax, 0xd
jbe 0x42bab1
push 0x4a00e8
call fcn.004041d0
add esp, 4
push 1
call fcn.00476b1c
push str.8888888
lea eax, [ebp - 0xa0]
push eax
call fcn.004049f0
add esp, 8
test eax, eax
je 0x42badd
push 0x4a011c
call fcn.004041d0
add esp, 4
push 1
call fcn.00476b1c
mov ecx, dword [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0xa8]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x4d3be8
call fcn.00423c30
push 0xa
push 0xc
mov ecx, dword [ebp + 8]
add ecx, 5
push ecx
mov edx, dword [ebp - 0x1c]
sub edx, 1
push edx
call fcn.00477239
add esp, 0x10
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00474590
mov esp, ebp
pop ebp
ret 8