Function at 0x4178e0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x17d8
call fcn.00427d10
mov eax, dword [0x455e64]
mov ecx, dword [0x454df4]
mov dword [esp + 0x17d4], eax
mov eax, 0x950d22f9
imul ecx
add edx, ecx
sar edx, 0xc
push ebx
push ebp
push esi
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
push edi
mov edi, dword [0x454e0c]
mov ecx, edi
imul ecx, ecx, 0x1a7f
sub esi, ecx
mov ecx, dword [0x454e08]
mov eax, 0xa06e4bd5
imul ecx
add edx, ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x454e10]
sub esi, eax
mov eax, 0x3de9fdd3
imul edx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x454dfc]
sub esi, eax
add esi, dword [str._r_____r_____n]
mov eax, 0x2d5481cb
imul edx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, eax
mov dword [0x454df4], esi
mov esi, dword [0x454e14]
mov eax, 0x5c6f35cd
imul esi
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebp, eax
mov eax, 0x5c6f35cd
imul ecx
sar edx, 0xb
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x3de9fdd3
imul edi
sar edx, 0xa
sub ebp, ebx
mov eax, edx
sub ebp, ecx
mov ecx, dword [esp + 0x17ec]
shr eax, 0x1f
add eax, edx
sub ebp, eax
sub ebp, 0x1b7b
test ecx, ecx
mov dword [0x454dfc], ebp
je 0x417c4a
mov eax, ecx
lea edi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4179e0
sub eax, edi
mov dword [esp + 0x10], eax
je 0x417c4a
mov ebx, dword [esp + 0x17f0]
test ebx, ebx
je 0x417c4a
mov eax, ebx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x417a07
sub eax, edi
mov dword [esp + 0x10], eax
je 0x417c4a
mov edx, dword [0x454e00]
mov eax, 0x1f5f3801
imul edx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, eax
mov eax, 0x1f5f3801
imul esi
imul esi, esi, 0x1b7b
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x454e04]
mov ebp, eax
mov eax, 0x7b214ec3
imul edx
sar edx, 0xb
sub ebp, edi
sub ebp, esi
mov eax, edx
shr eax, 0x1f
add ebp, edx
lea esi, [eax + ebp + 0x16c0]
lea edx, [esp + 0xfe4]
mov dword [0x454e04], esi
mov eax, ecx
sub edx, ecx
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x417a80
lea ecx, [esp + 0xfe4]
push ecx
call fcn.00417780
imul esi, esi, 0x8e6
mov ecx, dword [0x454df8]
mov eax, 0x2d5481cb
imul ecx
mov ecx, dword [str._r_____r_____n]
imul ecx, ecx, 0x1697
sar edx, 0xa
add esp, 4
mov eax, edx
shr eax, 0x1f
push str.C:WINDOWS_system32driversetc_service5.ini
add eax, edx
push 0x800
sub ecx, eax
lea eax, [esp + 0x7ec]
push eax
push 0x444dd9
push ebx
lea edx, [ecx + esi - 0x1b7b]
push str.GameType1
mov dword [0x454e0c], edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x7e4]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417b00
sub eax, edx
mov dword [esp + 0x10], eax
je 0x417bfd
mov ecx, dword [str._r_____r_____n]
mov esi, dword [0x454e0c]
mov eax, 0x5f91b42b
imul esi, esi, 0x20a4
imul ecx
sub edx, ecx
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edi, ecx
mov ecx, dword [0x454e04]
mov eax, 0xb40b40b5
imul ecx
add edx, ecx
mov ecx, dword [0x454dfc]
imul ecx, ecx, 0x9f1
sar edx, 0xc
mov eax, edx
sub edi, esi
shr eax, 0x1f
add edi, edx
add eax, edi
lea edx, [eax + ecx - 0x1b7b]
lea eax, [esp + 0x7e4]
push eax
lea ecx, [esp + 0x18]
push 0x1f4
push ecx
mov dword [0x454e14], edx
call fcn.00404d70
mov edi, eax
add esp, 0xc
xor esi, esi
test edi, edi
jle 0x417bfd
mov ecx, dword [0x454e08]
mov eax, 0x9a96bd3d
imul ecx
add edx, ecx
mov ecx, dword [0x454dfc]
imul ecx, ecx, 0x1628
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x454e14]
sub ecx, eax
imul edx, edx, 0x10a2
mov eax, dword [0x454df8]
imul eax, eax, 0x9f1
add ecx, edx
mov edx, dword [esp + esi*4 + 0x14]
lea ecx, [ecx + eax + 0x20a4]
push edx
lea eax, [esp + 0xfe8]
push eax
mov dword [str._r_____r_____n], ecx
call fcn.00428340
add esp, 8
test eax, eax
jne 0x417c63
inc esi
cmp esi, edi
jl 0x417b92
mov ecx, dword [0x454e08]
mov esi, dword [0x454e10]
mov eax, 0xb40b40b5
imul esi, esi, 0x1b7b
imul ecx
mov eax, dword [0x454df8]
add edx, ecx
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x454e04]
imul edx, edx, 0x108a
sub esi, ecx
add esi, edx
imul eax, eax, 0x9f1
lea ecx, [esi + eax + 0x20a4]
mov dword [0x454e00], ecx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x17d4]
call fcn.004274c1
add esp, 0x17d8
ret
mov ecx, dword [0x454dfc]
mov eax, 0x1f5f3801
imul ecx
mov eax, dword [0x454e14]
sar edx, 0xa
imul eax, eax, 0x10a2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x454e00]
imul edx, edx, 0x16c0
sub ecx, edx
mov edx, dword [0x454e0c]
imul edx, edx, 0x9f1
sub ecx, eax
pop edi
lea eax, [ecx + edx + 0x1697]
mov ecx, dword [esp + 0x17e0]
pop esi
pop ebp
mov dword [0x454df8], eax
mov eax, 1
pop ebx
call fcn.004274c1
add esp, 0x17d8
ret