Function at 0x4061f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444150
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfdc
mov eax, dword [0x458000]
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, dword [0x45668c]
mov edi, dword [0x456694]
mov eax, 0x95e7555
imul edi
sar edx, 9
mov ebx, esi
imul ebx, ebx, 0xdcfc
add ebx, edx
mov eax, edx
shr eax, 0x1f
add eax, ebx
mov ebx, eax
mov ecx, dword [0x4566a8]
mov eax, 0x5bdd0ecb
imul ecx, ecx, 0x3117
imul dword [0x456690]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45669c]
sub ebx, eax
mov eax, 0x6000f003
imul edx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
add ebx, ecx
mov dword [str._r_____r____], ebx
mov ebx, dword [0x4566a0]
mov eax, 0x95e7555
imul ebx, ebx, 0xdcfc
imul dword [0x456690]
sar edx, 9
add ebx, edx
mov eax, edx
shr eax, 0x1f
add eax, ebx
mov ebx, eax
mov eax, 0xb73ab967
imul esi
add edx, esi
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add ebx, edx
add eax, ebx
mov ebx, dword [ebp + 8]
sub eax, ecx
sub eax, edi
add eax, 0xdbb5
test ebx, ebx
mov dword [0x45668c], eax
je 0x4066e0
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4062e1
sub eax, edx
mov dword [ebp + 8], eax
je 0x4066e0
mov edx, dword [ebp + 0xc]
push str.C:WINDOWS_system32driversetc_service5.ini
push 0x800
lea ecx, [ebp - 0x814]
push ecx
push 0x446e25
push edx
push str.GameType1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [0x45668c]
mov eax, dword [str._r_____r____]
mov esi, dword [0x45669c]
imul eax, eax, 0x36a6
mov edi, ecx
imul edi, edi, 0xdcfc
add edi, eax
mov eax, 0xb73ab967
imul esi
add edx, esi
mov esi, dword [0x456698]
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, esi
imul edx, edx, 0x7f22
sub edi, eax
add edi, dword [0x4566a4]
lea edi, [edx + edi - 0xdd0b]
lea eax, [ebp - 0x814]
lea edx, [eax + 1]
mov dword [0x456694], edi
mov dword [ebp + 8], edx
jmp 0x406380
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x406380
sub eax, dword [ebp + 8]
mov dword [ebp + 8], eax
je 0x4066b2
mov esi, edi
mov eax, 0x5bdd0ecb
imul esi, esi, 0xdd0b
imul edi
mov eax, dword [0x456690]
sar edx, 0xe
imul eax, eax, 0xaaa9
mov edi, edx
add esi, edx
mov edx, ecx
imul edx, edx, 0x18161
shr edi, 0x1f
add edi, esi
add edi, eax
add edi, edx
mov eax, 0x80df83a9
imul ecx
add edx, ecx
sar edx, 0xe
mov eax, edx
lea ecx, [ebp - 0x814]
shr eax, 0x1f
push ecx
add eax, edx
lea edx, [ebp - 0xfe8]
sub edi, eax
push 0x1f4
push edx
mov dword [0x45669c], edi
call fcn.0040c0f0
add esp, 0xc
mov dword [ebp + 8], eax
xor esi, esi
cmp esi, dword [ebp + 8]
jge 0x4066a6
mov edx, dword [0x45668c]
mov ecx, dword [0x45669c]
mov eax, 0x95e7555
imul edx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456688]
mov edi, ecx
imul edx, edx, 0xb2d6
imul edi, edi, 0x36a6
sub edi, eax
add edi, edx
mov edx, dword [0x4566a4]
mov eax, 0x5bdd0ecb
imul edx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, 0x6000f003
imul ecx
sar edx, 0xe
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [ebp + esi*4 - 0xfe8]
push edx
sub edi, ecx
push ebx
mov dword [0x4566a4], edi
call fcn.00429d50
add esp, 8
test eax, eax
je 0x4066a0
mov ecx, dword [0x456690]
mov ebx, dword [0x4566a0]
mov eax, ecx
imul eax, eax, 0xdd0b
mov esi, ebx
imul esi, esi, 0xffff5557
sub esi, eax
mov eax, 0x55072b69
imul dword [0x45669c]
sar edx, 0xf
add esi, edx
mov edi, edx
shr edi, 0x1f
add edi, esi
mov esi, dword [0x4566a4]
mov eax, 0x80df83a9
imul esi
add edx, esi
mov esi, dword [str._r_____r____]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456688]
sub edi, eax
mov eax, ebx
imul eax, eax, 0xdcfc
mov dword [ebp + 8], eax
add edi, esi
add edx, edi
mov dword [0x456688], edx
mov esi, dword [0x4566a8]
mov eax, 0x95e7555
imul ecx
mov ecx, dword [ebp + 8]
sar edx, 9
add ecx, edx
mov eax, edx
shr eax, 0x1f
add eax, ecx
mov ecx, dword [0x45668c]
mov dword [ebp + 8], eax
mov eax, 0xb73ab967
imul ecx
mov eax, ecx
add edx, eax
mov eax, dword [ebp + 8]
mov edi, esi
imul edi, edi, 0x3117
sar edx, 0xf
add eax, edx
mov ecx, edx
mov edx, dword [0x456694]
shr ecx, 0x1f
add ecx, eax
mov eax, dword [0x55a3b4]
sub ecx, edi
sub ecx, edx
add ecx, 0xdbb5
inc eax
cmp eax, 5
mov dword [0x45668c], ecx
mov dword [0x55a3b4], eax
jg 0x406637
cmp dword [ebp + 0x10], 1
jne 0x406637
mov eax, 0x9524e185
imul esi, esi, 0xb25a
imul ecx, ecx, 0xdcfc
imul dword [0x456690]
add edx, dword [0x456690]
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x5bdd0ecb
imul dword [0x45669c]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, dword [0x456688]
imul eax, eax, 0x7f22
add esi, eax
mov eax, 0x95e7555
imul dword [0x456694]
sub esi, ebx
sar edx, 9
add ecx, edx
mov ebx, edx
sub esi, 0xdd0b
mov eax, 0x5bdd0ecb
imul esi
shr ebx, 0x1f
add ebx, ecx
sar edx, 0xe
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x6000f003
imul dword [0x45669c]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
sub ebx, ecx
add eax, edx
sub ebx, eax
mov eax, dword [0x56a790]
add ebx, edi
mov dword [0x456690], esi
mov dword [str._r_____r____], ebx
mov ecx, dword [eax]
push eax
mov dword [ebp - 4], 0
call dword [ecx + 0x30]
mov esi, dword [0x4566a8]
mov ebx, dword [0x4566a0]
mov eax, 0x6bb7d05b
imul ebx, ebx, 0xb2d6
imul esi
sub edx, esi
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, esi
mov esi, eax
imul ecx, ecx, 0xdd0b
mov eax, 0x95e7555
imul dword [0x456694]
sub esi, ecx
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub esi, ecx
mov ecx, dword [0x456698]
mov eax, 0x14dc1615
imul ecx
sar edx, 0xa
add esi, ebx
mov eax, edx
shr eax, 0x1f
add esi, edx
add eax, esi
mov dword [0x456698], eax
mov eax, 1
jmp 0x4066e2
inc esi
jmp 0x406400
mov ecx, dword [0x45668c]
mov esi, dword [0x456698]
mov eax, 0x9524e185
imul esi, esi, 0x733f
imul ecx
mov eax, dword [str._r_____r____]
add edx, ecx
imul eax, eax, 0xdbb5
sar edx, 0xf
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub esi, ecx
add esi, eax
mov dword [0x4566a0], esi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00429911
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret