Function at 0x4061a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443890
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfdc
mov eax, dword [0x456fc0]
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edx, dword [0x45569c]
mov eax, 0x59da2e6b
imul edx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov ecx, dword [0x4556a8]
mov eax, 0x9cbd99d5
imul ecx, ecx, 0xaef
imul dword [0x455690]
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, eax
sub edi, esi
mov esi, dword [0x45568c]
mov ebx, esi
mov eax, 0x4700d503
imul ebx, ebx, 0x140f
imul dword [0x455694]
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
add ebx, ecx
add ebx, edi
mov edi, dword [0x4556a0]
add eax, ebx
imul edi, edi, 0x140f
mov dword [str._r_____r____], eax
mov eax, 0x903bb8bb
imul esi
add edx, esi
mov ebx, dword [ebp + 8]
sar edx, 0xb
add edi, edx
mov esi, edx
mov eax, 0x4700d503
imul dword [0x455690]
sar edx, 9
shr esi, 0x1f
add esi, edi
mov eax, edx
shr eax, 0x1f
add esi, edx
mov edx, dword [0x455694]
add eax, esi
sub eax, ecx
sub eax, edx
add eax, 0x11d7
test ebx, ebx
mov dword [0x45568c], eax
je 0x40668e
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406294
sub eax, edx
mov dword [ebp + 8], eax
je 0x40668e
mov edx, dword [ebp + 0xc]
push str.C:WINDOWS_system32driversetc_service5.ini
push 0x800
lea ecx, [ebp - 0x814]
push ecx
push 0x445dd9
push edx
push str.GameType1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [0x45568c]
mov ecx, dword [0x455698]
imul ecx, ecx, 0x12b9
mov eax, esi
imul eax, eax, 0x140f
add eax, ecx
mov ecx, dword [0x45569c]
mov edi, dword [str._r_____r____]
mov dword [ebp + 8], eax
mov eax, 0x903bb8bb
imul ecx
add edx, ecx
mov ecx, dword [ebp + 8]
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, edi
imul edx, edx, 0x736
sub ecx, eax
add ecx, dword [0x4556a4]
lea ecx, [edx + ecx - 0x5cc]
lea eax, [ebp - 0x814]
lea edx, [eax + 1]
mov dword [0x455694], ecx
mov dword [ebp + 8], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x406335
sub eax, dword [ebp + 8]
mov dword [ebp + 8], eax
je 0x406662
mov edi, dword [0x455690]
imul edi, edi, 0x16cb
mov eax, esi
imul eax, eax, 0x15c4
add edi, eax
mov eax, 0x6342662b
imul ecx
imul ecx, ecx, 0x5cc
sar edx, 0xb
add edi, edx
mov eax, edx
shr eax, 0x1f
add eax, edi
mov edi, eax
mov eax, 0x6d62dd3b
imul esi
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
add edi, ecx
lea ecx, [ebp - 0x814]
push ecx
lea edx, [ebp - 0xfe8]
push 0x1f4
push edx
mov dword [0x45569c], edi
call fcn.0040c0a0
add esp, 0xc
mov dword [ebp + 8], eax
xor esi, esi
cmp esi, dword [ebp + 8]
jge 0x406656
mov ecx, dword [0x45569c]
mov eax, 0x59da2e6b
imul ecx
imul ecx, ecx, 0x736
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4556a4]
mov edi, eax
mov eax, 0x9cbd99d5
imul edx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x455688]
imul edx, edx, 0xe33
sub eax, edi
add eax, edx
add eax, ecx
mov ecx, dword [0x45568c]
mov edi, eax
mov eax, 0x4700d503
imul ecx
mov ecx, dword [ebp + esi*4 - 0xfe8]
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
push ecx
sub edi, eax
push ebx
mov dword [0x4556a4], edi
call fcn.00429cd0
add esp, 8
test eax, eax
je 0x406650
mov edi, dword [0x4556a0]
mov eax, 0x5e17e411
imul dword [0x45569c]
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov ecx, edi
imul ecx, ecx, 0x16cb
sub esi, ecx
mov ecx, dword [0x4556a4]
mov eax, 0x6d62dd3b
imul ecx
sar edx, 0xb
mov ebx, dword [str._r_____r____]
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x455690]
imul edx, edx, 0x5cc
sub esi, ecx
mov ecx, dword [0x45568c]
sub esi, edx
mov edx, dword [0x455688]
mov eax, edi
imul eax, eax, 0x140f
mov dword [ebp + 8], eax
add esi, ebx
add edx, esi
mov dword [0x455688], edx
mov esi, dword [0x4556a8]
mov eax, 0x903bb8bb
imul ecx
add edx, ecx
mov ecx, dword [ebp + 8]
sar edx, 0xb
add ecx, edx
mov eax, edx
shr eax, 0x1f
add eax, ecx
mov dword [ebp + 8], eax
mov eax, 0x4700d503
imul dword [0x455690]
mov eax, dword [ebp + 8]
mov ebx, esi
imul ebx, ebx, 0xaef
sar edx, 9
add eax, edx
mov ecx, edx
mov edx, dword [0x455694]
shr ecx, 0x1f
add ecx, eax
mov eax, dword [0x55936c]
sub ecx, ebx
sub ecx, edx
add ecx, 0x11d7
inc eax
cmp eax, 5
mov dword [0x45568c], ecx
mov dword [0x55936c], eax
jg 0x4065ea
cmp dword [ebp + 0x10], 1
jne 0x4065ea
mov eax, 0x6342662b
imul esi, esi, 0x14a2
imul ecx, ecx, 0x140f
imul dword [0x45569c]
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, dword [0x455688]
imul eax, eax, 0x12b9
add esi, eax
mov eax, 0x1cb32649
imul dword [0x455690]
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x59da2e6b
imul dword [0x45569c]
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, edi
mov edi, eax
sub esi, 0x5cc
mov eax, 0x9cbd99d5
imul esi
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [0x455690], esi
mov esi, eax
mov eax, 0x4700d503
imul dword [0x455694]
sar edx, 9
mov eax, edx
shr eax, 0x1f
add ecx, ebx
sub esi, edi
add eax, edx
add ecx, esi
add eax, ecx
mov dword [str._r_____r____], eax
mov eax, dword [0x569740]
mov ecx, dword [eax]
push eax
mov dword [ebp - 4], 0
call dword [ecx + 0x30]
mov esi, dword [0x4556a8]
mov edi, dword [0x4556a0]
mov ecx, dword [0x455698]
imul edi, edi, 0xe33
mov eax, 0xcc33a611
imul esi
add edx, esi
imul esi, esi, 0x5cc
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, 0x5da803a9
imul ecx
sar edx, 0xa
add edi, edx
mov ecx, edx
mov eax, 0x4700d503
imul dword [0x455694]
sar edx, 9
shr ecx, 0x1f
mov eax, edx
shr eax, 0x1f
add eax, edx
add ecx, edi
sub ecx, eax
sub ecx, esi
mov dword [0x455698], ecx
mov eax, 1
jmp 0x406690
inc esi
jmp 0x4063b4
mov edi, dword [str._r_____r____]
mov esi, dword [0x45568c]
mov eax, 0x1cb32649
imul edi, edi, 0x11d7
imul esi
mov eax, dword [0x455698]
sar edx, 9
imul eax, eax, 0x509
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub edi, ecx
add edi, eax
mov dword [0x4556a0], edi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0042904d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret