Function at 0x415570
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x17d8
call fcn.00425210
mov eax, dword [0x452944]
mov ecx, dword [0x4518e8]
mov dword [esp + 0x17d4], eax
mov eax, 0x4152dddf
imul ecx
sar edx, 0xa
push ebx
push esi
mov esi, dword [0x4518ec]
push edi
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4518f0]
mov edi, esi
imul edi, edi, 0xfffff5f8
sub edi, eax
mov eax, 0x6a79dd7b
imul edx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [str._r_____r_____n]
sub edi, eax
add edi, edx
mov edx, dword [0x4518d4]
lea eax, [edx + edi - 0x86c]
mov dword [0x4518d4], eax
mov eax, 0x8b081419
imul ecx
add edx, ecx
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edi, ecx
mov ecx, dword [0x4518dc]
mov eax, 0xa5b2ed37
imul ecx
mov ecx, dword [0x4518f4]
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, edi
mov edi, dword [esp + 0x17e8]
sub eax, esi
test edi, edi
lea edx, [eax + ecx - 0x866]
mov dword [0x4518dc], edx
je 0x41587f
mov eax, edi
lea esi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x415640
sub eax, esi
mov dword [esp + 0xc], eax
je 0x41587f
mov ebx, dword [esp + 0x17ec]
test ebx, ebx
je 0x41587f
mov eax, ebx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x415667
sub eax, esi
mov dword [esp + 0xc], eax
je 0x41587f
mov esi, dword [0x4518e0]
imul ecx, ecx, 0x86d
mov eax, 0x8c03f71d
imul esi
add edx, esi
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4518e4]
push ebp
mov ebp, eax
mov eax, 0x1bfba0af
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
sub esi, ebp
sub esi, ecx
add esi, 0x322e
lea ecx, [esp + 0xfe4]
mov dword [0x4518e4], esi
mov eax, edi
sub ecx, edi
pop ebp
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x4156d1
lea ecx, [esp + 0xfe0]
push ecx
call fcn.00415430
imul esi, esi, 0x687
mov ecx, dword [0x4518d8]
mov eax, 0x5a4d12c9
imul ecx
mov ecx, dword [str._r_____r_____n]
imul ecx, ecx, 0xb57
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 + 0x7e8]
push eax
push 0x441e2d
push ebx
lea edx, [ecx + esi - 0x86c]
push str.GameType1
mov dword [0x4518ec], edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x7e0]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415750
sub eax, edx
mov dword [esp + 0xc], eax
je 0x41583b
mov ecx, dword [0x4518ec]
mov esi, dword [0x4518dc]
imul ecx, ecx, 0x1d41
imul esi, esi, 0x1538
sub esi, ecx
mov ecx, dword [0x4518e4]
mov eax, 0x61dea4df
imul ecx
mov ecx, dword [str._r_____r_____n]
sar edx, 0xb
mov edi, edx
add esi, edx
mov eax, 0x4152dddf
imul ecx
sar edx, 0xa
mov eax, edx
shr edi, 0x1f
shr eax, 0x1f
add eax, edx
lea ecx, [esp + 0x7e0]
add edi, esi
push ecx
sub edi, eax
lea edx, [esp + 0x14]
push 0x1f4
sub edi, 0x86c
push edx
mov dword [0x4518f4], edi
call fcn.00403ea0
mov edi, eax
add esp, 0xc
xor esi, esi
test edi, edi
jle 0x41583b
lea ecx, [ecx]
mov ecx, dword [0x4518e8]
mov eax, 0x6614bc37
imul ecx
mov ecx, dword [0x4518f4]
imul ecx, ecx, 0x926
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4518dc]
sub ecx, eax
sub ecx, dword [0x4518d8]
lea eax, [ecx + edx + 0x1503]
mov ecx, dword [esp + esi*4 + 0x10]
push ecx
lea edx, [esp + 0xfe4]
push edx
mov dword [str._r_____r_____n], eax
call fcn.00425900
add esp, 8
test eax, eax
jne 0x415897
inc esi
cmp esi, edi
jl 0x4157e0
mov ecx, dword [0x4518e8]
mov esi, dword [0x4518d8]
mov eax, 0x61dea4df
imul esi, esi, 0x1538
imul ecx
mov ecx, dword [0x4518e4]
sar edx, 0xb
imul ecx, ecx, 0x4cf
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
add esi, dword [0x4518f0]
lea edx, [ecx + esi + 0x14d5]
mov dword [0x4518e0], edx
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x17d4]
call fcn.004249c1
add esp, 0x17d8
ret
mov ecx, dword [0x4518dc]
mov eax, 0x8c03f71d
imul ecx
add edx, ecx
mov ecx, dword [0x4518ec]
sar edx, 0xc
imul ecx, ecx, 0x1538
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4518f4]
imul edx, edx, 0x926
add eax, ecx
mov ecx, dword [esp + 0x17e0]
sub eax, edx
sub eax, dword [0x4518e0]
add eax, 0x2044
pop edi
pop esi
mov dword [0x4518d8], eax
mov eax, 1
pop ebx
call fcn.004249c1
add esp, 0x17d8
ret