Function at 0x4060d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444f10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfdc
mov eax, dword [0x459190]
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ebx, dword [0x457824]
mov eax, 0x77c150d
imul ebx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, eax
mov eax, 0x9ad70599
imul ebx
add edx, ebx
mov ebx, dword [0x45781c]
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0xb7fe3405
imul ebx
add edx, ebx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x77c150d
imul dword [0x457838]
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x818], eax
mov eax, 0x17eb125
imul ebx
mov ebx, dword [ebp - 0x818]
mov esi, dword [0x457838]
imul esi, esi, 0x1685
mov edi, dword [0x457830]
imul edi, edi, 0x10e6
sar edx, 5
mov eax, edx
shr eax, 0x1f
add ebx, edx
add eax, ebx
add ecx, edi
add ecx, esi
sub eax, esi
sub eax, ecx
mov dword [str._r_____r____], ecx
lea ecx, [eax + edi + 0x1123]
mov eax, dword [ebp + 8]
test eax, eax
mov dword [0x45781c], ecx
je 0x4065e3
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4061c0
sub eax, edx
mov dword [ebp - 0x818], eax
je 0x4065e3
mov eax, dword [ebp + 0xc]
push str.C:WINDOWS_system32driversetc_service5.ini
push 0x800
lea edx, [ebp - 0x814]
push edx
push 0x447e15
push eax
push str.GameType1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [0x45782c]
mov esi, dword [str._r_____r____]
mov ebx, dword [0x457828]
imul esi, esi, 0x2234
mov edi, dword [0x457830]
mov eax, 0x17eb125
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x457818]
sub esi, eax
imul edx, edx, 0x10e6
mov eax, ebx
imul eax, eax, 0x59b
add edx, edi
add edx, esi
lea esi, [eax + edx - 0x2220]
lea eax, [ebp - 0x814]
lea edx, [eax + 1]
mov dword [0x457824], esi
mov dword [ebp - 0x818], edx
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x406260
sub eax, dword [ebp - 0x818]
mov dword [ebp - 0x818], eax
je 0x4065af
mov esi, dword [0x457820]
imul ecx, ecx, 0x2220
imul edi, edi, 0xe4e
mov eax, 0x9ad70599
imul esi
add edx, esi
imul esi, esi, 0x1643
sar edx, 0xc
mov ebx, edx
add ecx, edx
shr ebx, 0x1f
add ebx, ecx
mov ecx, dword [0x45781c]
mov eax, 0xb6adc247
imul ecx
add edx, ecx
sar edx, 0xa
mov eax, edx
lea ecx, [ebp - 0x814]
add ebx, esi
shr eax, 0x1f
push ecx
add eax, edx
add ebx, edi
lea edx, [ebp - 0xfe8]
sub ebx, eax
push 0x1f4
push edx
mov dword [0x45782c], ebx
call fcn.0040cc60
add esp, 0xc
mov dword [ebp - 0x818], eax
xor edi, edi
mov edi, edi
cmp edi, dword [ebp - 0x818]
jge 0x40659d
mov ecx, dword [0x457828]
mov esi, dword [0x457834]
mov eax, 0x77c150d
imul ecx
sar edx, 8
mov ebx, ecx
mov eax, edx
imul ebx, ebx, 0x2234
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0x9ad70599
imul esi
add edx, esi
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0xb7fe3405
imul ecx
mov eax, dword [ebp + edi*4 - 0xfe8]
add edx, ecx
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x457818]
imul edx, edx, 0x1568
sub ebx, ecx
mov ecx, dword [ebp + 8]
push eax
add ebx, edx
push ecx
mov dword [0x457834], ebx
call fcn.0042b350
add esp, 8
test eax, eax
je 0x406597
mov edi, dword [0x457834]
mov ecx, dword [0x457830]
mov eax, 0xf00f00f1
imul edi
add edx, edi
sar edx, 0xd
mov ebx, edx
mov esi, dword [0x457820]
shr ebx, 0x1f
add ebx, edx
mov edx, dword [0x457818]
imul edx, edx, 0x2220
add ebx, edx
mov eax, ecx
imul eax, eax, 0x1643
sub ebx, eax
mov eax, 0x8f2b7b75
imul esi
add edx, esi
sar edx, 0xb
add ebx, edx
mov esi, edx
mov eax, 0xb6adc247
imul edi
add edx, edi
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x457838]
shr esi, 0x1f
add esi, ebx
sub esi, eax
mov eax, ecx
imul eax, eax, 0x10e6
mov dword [ebp + 8], eax
mov ecx, dword [0x45781c]
mov ebx, edx
mov eax, 0x77c150d
imul ebx, ebx, 0x1685
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x818], eax
mov eax, 0x17eb125
imul ecx
mov ecx, dword [ebp - 0x818]
sar edx, 5
add ecx, edx
mov eax, edx
mov edx, dword [ebp + 8]
shr eax, 0x1f
add eax, ecx
mov ecx, dword [str._r_____r____]
sub eax, ebx
sub eax, ecx
lea eax, [eax + edx + 0x1123]
mov dword [0x45781c], eax
mov eax, dword [0x55b22c]
inc eax
cmp eax, 5
mov dword [0x457818], esi
mov dword [0x55b22c], eax
jg 0x406528
cmp dword [ebp + 0x10], 1
jne 0x406528
mov edx, dword [0x45782c]
imul ecx, ecx, 0x1a74
imul esi, esi, 0x59b
mov eax, 0x9ad70599
imul edx
add edx, dword [0x45782c]
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x77826bf5
imul dword [0x457820]
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
add ecx, esi
sub ecx, edi
sub ecx, 0x2220
mov dword [0x457820], ecx
mov ecx, dword [0x457824]
mov eax, 0x77c150d
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, 0x9ad70599
imul ecx
add edx, ecx
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub esi, ecx
mov ecx, dword [0x45781c]
mov eax, 0xb7fe3405
imul ecx
add edx, ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
add esi, dword [ebp + 8]
mov eax, dword [0x56b608]
add esi, ebx
mov dword [str._r_____r____], esi
mov ecx, dword [eax]
push eax
mov dword [ebp - 4], 0
call dword [ecx + 0x30]
mov edx, dword [0x457824]
mov ecx, dword [0x457838]
mov eax, 0xf883eaf3
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, eax
mov esi, ecx
imul esi, esi, 0x2220
mov eax, 0x2d78bd59
imul ecx
mov eax, dword [0x45781c]
imul eax, eax, 0x1568
sub edi, esi
sar edx, 0xa
mov esi, edx
add edi, edx
shr esi, 0x1f
add esi, edi
add esi, eax
mov eax, 0x7931d3bd
imul ecx
sar edx, 0xb
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub esi, ecx
mov dword [0x457828], esi
mov eax, 1
jmp 0x4065e5
inc edi
jmp 0x4062f0
mov esi, dword [0x457824]
mov ecx, dword [0x45782c]
mov ebx, dword [0x457828]
mov edx, dword [0x45781c]
imul ecx, ecx, 0x2220
imul ebx, ebx, 0xe4e
mov eax, 0x887d940b
imul esi, esi, 0x562
imul edx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, ecx
add eax, ebx
sub eax, esi
mov dword [0x457830], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0042a6e1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret