Function at 0x416aa0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f7c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfdc
mov eax, dword [0x452944]
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edx, dword [0x4518e8]
mov ecx, dword [0x4518f4]
imul ecx, ecx, 0x62fe
mov eax, 0x58fba7b7
imul edx
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4518d8]
mov esi, ecx
sub esi, eax
sub esi, edx
mov edx, dword [0x4518dc]
lea eax, [esi + edx + 0xd46b]
mov esi, dword [0x4518ec]
mov dword [str._r_____r_____n], eax
imul esi, esi, 0xd4a0
mov eax, 0x7225d683
imul edx
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add esi, edx
add eax, esi
mov esi, dword [0x4518e0]
sub eax, ecx
sub eax, esi
add eax, 0x131b4
mov dword [0x4518d8], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x416e91
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416b50
sub eax, edx
mov dword [ebp - 0x818], eax
je 0x416e91
mov edx, dword [ebp + 0xc]
push str.C:WINDOWS_system32driversetc_service5.ini
push 0x800
lea ecx, [ebp - 0x814]
push ecx
push 0x441e2d
push edx
push str.GameType1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [0x4518e8]
mov esi, dword [0x4518d8]
mov edi, dword [0x4518e4]
mov eax, 0x9a5307c5
imul ecx
add edx, ecx
mov ebx, esi
imul ebx, ebx, 0xd4a0
sar edx, 0xf
mov ecx, edi
imul ecx, ecx, 0x33af
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
add ebx, dword [0x4518f0]
lea ecx, [ecx + ebx + 0xc49d]
lea eax, [ebp - 0x814]
mov dword [0x4518e0], ecx
lea ebx, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x416be0
sub eax, ebx
mov dword [ebp - 0x818], eax
je 0x416e60
mov edi, dword [0x4518dc]
imul ecx, ecx, 0x5a75
imul edi, edi, 0x5c10
mov edx, esi
imul edx, edx, 0xbb8d
add edi, ecx
sub edi, edx
mov eax, 0x27a02fad
imul esi
sar edx, 0xb
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 [0x4518e8], edi
call fcn.00403e90
add esp, 0xc
mov edi, eax
xor esi, esi
jmp 0x416c50
cmp esi, edi
jge 0x416e54
mov ecx, dword [0x4518f0]
mov ebx, dword [0x4518d4]
mov eax, 0xe4218e9
imul ebx, ebx, 0xd455
imul ecx
mov ecx, dword [0x4518e8]
sar edx, 0xc
imul ecx, ecx, 0x11f11
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4518d8]
sub ebx, eax
mov eax, dword [ebp + 8]
add ebx, ecx
sub ebx, edx
mov edx, dword [ebp + esi*4 - 0xfe8]
push edx
add ebx, 0xc301
push eax
mov dword [0x4518f0], ebx
call fcn.004258d0
add esp, 8
test eax, eax
je 0x416e4e
mov ebx, dword [0x4518ec]
mov eax, 0xd45237bd
imul dword [0x4518e8]
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, ebx
imul ecx, ecx, 0x5c10
mov esi, eax
sub esi, ecx
mov ecx, dword [0x4518f0]
mov eax, 0x27a02fad
imul ecx
sar edx, 0xb
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [str._r_____r_____n]
sub esi, ecx
add esi, edx
mov edx, dword [0x4518d4]
mov edi, dword [0x4518f4]
lea eax, [edx + esi - 0x5a74]
mov dword [0x4518d4], eax
mov eax, ebx
mov ebx, dword [0x4518dc]
imul eax, eax, 0xd4a0
mov dword [ebp + 8], eax
mov eax, 0x7225d683
imul ebx
mov eax, dword [ebp + 8]
mov esi, edi
imul esi, esi, 0x62fe
sar edx, 0xf
add eax, edx
mov ecx, edx
mov edx, dword [0x4518e0]
shr ecx, 0x1f
add ecx, eax
mov eax, dword [0x564dec]
sub ecx, esi
sub ecx, edx
add ecx, 0x131b4
inc eax
cmp eax, 5
mov dword [0x4518d8], ecx
mov dword [0x564dec], eax
jg 0x416dfb
cmp dword [ebp + 0x10], 1
jne 0x416dfb
mov eax, 0x57bc6617
imul ebx
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, eax
mov eax, 0xf1bde717
imul dword [0x4518e8]
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4518ec]
sub eax, ebx
sub eax, edx
lea edi, [eax + edi - 0x5a6f]
mov eax, 0x58fba7b7
imul dword [0x4518e8]
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, dword [0x563c10]
sub esi, ecx
lea ecx, [esi + edi + 0xd46b]
mov dword [0x4518dc], edi
mov dword [str._r_____r_____n], ecx
mov edx, dword [eax]
push eax
mov dword [ebp - 4], 0
call dword [edx + 0x30]
mov edi, dword [0x4518f4]
mov ecx, dword [0x4518e4]
imul edi, edi, 0x5a75
mov eax, 0xa5820cf9
imul ecx
add edx, ecx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, eax
mov eax, 0x7225d683
imul dword [0x4518e0]
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, edi
sub ecx, eax
add ecx, 0x1f366
mov dword [0x4518e4], ecx
mov eax, 1
jmp 0x416e93
inc esi
jmp 0x416c50
mov esi, dword [0x4518d8]
mov edi, dword [0x4518e4]
mov eax, 0x57bc6617
imul esi
sar edx, 0xd
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [str._r_____r_____n]
imul edx, edx, 0x5d5f
sub edx, ecx
imul edi, edi, 0x588f
lea eax, [edx + edi - 0x5a74]
mov dword [0x4518ec], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00424991
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret