Function at 0x4175c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4402b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfdc
mov eax, dword [0x453ad4]
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edx, dword [0x452a78]
mov ecx, dword [0x452a84]
imul ecx, ecx, 0xe8
mov eax, 0xfe03f81
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x452a6c]
mov esi, ecx
sub esi, eax
sub esi, dword [0x452a68]
lea eax, [esi + edx + 0x21b]
mov dword [str._r_____r_____n], eax
mov eax, 0x577f7cc1
imul edx
mov esi, dword [0x452a70]
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x452a7c]
imul edx, edx, 0x21e
add eax, edx
sub eax, ecx
sub eax, esi
add eax, 0x33e
mov dword [0x452a68], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x4179ad
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417670
sub eax, edx
mov dword [ebp - 0x818], eax
je 0x4179ad
mov ecx, dword [ebp + 0xc]
push str.C:WINDOWS_system32driversetc_service5.ini
push 0x800
lea eax, [ebp - 0x814]
push eax
push 0x442e2d
push ecx
push str.GameType1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [0x452a78]
mov esi, dword [0x452a68]
mov edi, dword [0x452a74]
mov eax, 0x7a0a7ce7
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, esi
imul ecx, ecx, 0x21e
mov edx, edi
imul edx, edx, 0x79
sub ecx, eax
add ecx, dword [0x452a80]
lea ecx, [edx + ecx + 0x215]
lea eax, [ebp - 0x814]
mov dword [0x452a70], ecx
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4176f8
sub eax, ebx
mov dword [ebp - 0x818], eax
je 0x417979
mov edx, dword [0x452a6c]
imul ecx, ecx, 0xd9
mov eax, esi
imul edx, edx, 0x102
imul eax, eax, 0x193
sub ecx, eax
add ecx, edx
mov eax, 0x43b3d5b
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov dword [0x452a78], ecx
lea ecx, [ebp - 0x814]
push ecx
lea edx, [ebp - 0xfe8]
push 0x1f4
push edx
call fcn.00404580
add esp, 0xc
mov edi, eax
xor esi, esi
cmp esi, edi
jge 0x41796d
mov ecx, dword [0x452a80]
mov eax, 0xae4c415d
imul ecx
mov ebx, dword [0x452a68]
add edx, ecx
mov ecx, dword [0x452a78]
sar edx, 9
imul ecx, ecx, 0x2ed
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x452a64]
imul edx, edx, 0x219
sub ecx, eax
mov eax, dword [ebp + esi*4 - 0xfe8]
add ecx, edx
sub ecx, ebx
add ecx, 0x1eb
mov dword [0x452a80], ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.004263c0
add esp, 8
test eax, eax
je 0x417967
mov edi, dword [0x452a78]
mov esi, dword [0x452a7c]
mov ecx, dword [0x452a80]
imul esi, esi, 0xfffffefe
mov eax, 0xa29ecf17
imul edi
add edx, edi
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x43b3d5b
imul ecx
sar edx, 1
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 [0x452a64]
mov ebx, dword [0x452a84]
lea eax, [edx + esi - 0xd8]
mov dword [0x452a64], eax
mov eax, 0x577f7cc1
imul dword [0x452a6c]
mov eax, dword [0x565f8c]
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x452a7c]
imul edx, edx, 0x21e
mov esi, ebx
imul esi, esi, 0xe8
add ecx, edx
mov edx, dword [0x452a70]
sub ecx, esi
sub ecx, edx
add ecx, 0x33e
inc eax
cmp eax, 5
mov dword [0x452a68], ecx
mov dword [0x565f8c], eax
jg 0x417914
cmp dword [ebp + 0x10], 1
jne 0x417914
mov eax, 0xae4c415d
imul edi
add edx, edi
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, eax
mov eax, 0x2053e08b
imul dword [0x452a6c]
sub edx, dword [0x452a6c]
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x452a7c]
sub eax, ebx
sub eax, edx
mov edx, dword [0x452a84]
lea ebx, [eax + edx - 0xd2]
mov eax, 0xfe03f81
imul edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, dword [0x564db0]
sub esi, ecx
lea ecx, [esi + ebx + 0x21b]
mov dword [0x452a6c], ebx
mov dword [str._r_____r_____n], ecx
mov edx, dword [eax]
push eax
mov dword [ebp - 4], 0
call dword [edx + 0x30]
mov ebx, dword [0x452a84]
mov ecx, dword [0x452a74]
imul ebx, ebx, 0xd9
mov eax, 0x577f7cc1
imul dword [0x452a70]
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ecx, esi
sub ecx, ebx
add ecx, 0x506
mov dword [0x452a74], ecx
mov eax, 1
jmp 0x4179af
inc esi
jmp 0x417762
mov esi, dword [0x452a68]
mov edi, dword [0x452a74]
mov ecx, dword [str._r_____r_____n]
imul edi, edi, 0xab
mov eax, 0xdfac1f75
imul esi
add edx, esi
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
imul ecx, ecx, 0x125
lea edx, [edi + ecx - 0xd8]
mov dword [0x452a7c], edx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00425481
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret