Function at 0x4154d0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x17d8
call fcn.004251e0
mov eax, dword [0x452944]
mov dword [esp + 0x17d4], eax
push ebx
mov ecx, dword [0x4518ec]
push esi
mov esi, dword [0x4518e8]
mov eax, 0xd45237bd
imul esi
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4518f0]
mov ebx, eax
mov eax, 0x27a02fad
imul edx
push edi
sar edx, 0xb
mov edi, ecx
imul edi, edi, 0x5c10
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [str._r_____r_____n]
sub ebx, edi
sub ebx, eax
add ebx, edx
mov edx, dword [0x4518d4]
lea eax, [edx + ebx - 0x5a74]
mov edx, dword [0x4518dc]
mov dword [0x4518d4], eax
mov eax, 0x57bc6617
imul edx
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, eax
mov eax, 0xf1bde717
imul esi
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, edi
mov edi, dword [esp + 0x17e8]
sub eax, ecx
test edi, edi
mov ecx, dword [0x4518f4]
lea edx, [eax + ecx - 0x5a6f]
mov dword [0x4518dc], edx
je 0x4157e4
mov eax, edi
lea esi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4155a0
sub eax, esi
mov dword [esp + 0xc], eax
je 0x4157e4
mov ebx, dword [esp + 0x17ec]
test ebx, ebx
je 0x4157e4
mov eax, ebx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4155c7
sub eax, esi
mov dword [esp + 0xc], eax
je 0x4157e4
mov esi, dword [0x4518e4]
imul ecx, ecx, 0x5a75
mov eax, 0xa5820cf9
imul esi
add edx, esi
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
sub esi, ecx
mov ecx, dword [0x4518e0]
mov eax, 0x7225d683
imul ecx
sar edx, 0xf
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub esi, ecx
add esi, 0x1f366
lea ecx, [esp + 0xfe0]
mov dword [0x4518e4], esi
mov eax, edi
sub ecx, edi
lea ecx, [ecx]
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x415630
lea edx, [esp + 0xfe0]
push edx
call fcn.00415380
imul esi, esi, 0x588f
mov ecx, dword [0x4518d8]
mov eax, 0x57bc6617
imul ecx
mov ecx, dword [str._r_____r_____n]
imul ecx, ecx, 0x5d5f
sar edx, 0xd
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 - 0x5a74]
push str.GameType1
mov dword [0x4518ec], edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x7e0]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4156b0
sub eax, edx
mov dword [esp + 0xc], eax
je 0x41579e
mov ecx, dword [0x4518e4]
mov esi, dword [0x4518dc]
mov eax, 0x9a5307c5
imul esi, esi, 0xd4a0
imul ecx
add edx, ecx
mov ecx, dword [str._r_____r_____n]
sar edx, 0xf
mov edi, edx
add esi, edx
mov eax, 0x2badc843
imul ecx
sar edx, 0xd
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x4518ec]
imul edx, edx, 0x11f11
shr edi, 0x1f
add edi, esi
sub edi, ecx
lea eax, [esp + 0x7e0]
push eax
sub edi, edx
lea ecx, [esp + 0x14]
push 0x1f4
sub edi, 0x5a74
push ecx
mov dword [0x4518f4], edi
call fcn.00403e90
mov edi, eax
add esp, 0xc
xor esi, esi
test edi, edi
jle 0x41579e
nop
mov ecx, dword [0x4518e8]
mov ebx, dword [0x4518f4]
mov eax, 0x58fba7b7
imul ebx, ebx, 0x62fe
imul ecx
mov ecx, dword [0x4518dc]
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4518d8]
sub ebx, eax
mov eax, dword [esp + esi*4 + 0x10]
sub ebx, edx
lea edx, [ebx + ecx + 0xd46b]
push eax
lea ecx, [esp + 0xfe4]
push ecx
mov dword [str._r_____r_____n], edx
call fcn.004258d0
add esp, 8
test eax, eax
jne 0x4157fc
inc esi
cmp esi, edi
jl 0x415740
mov ecx, dword [0x4518e8]
mov esi, dword [0x4518d8]
mov eax, 0x9a5307c5
imul esi, esi, 0xd4a0
imul ecx
mov eax, dword [0x4518f0]
add edx, ecx
sar edx, 0xf
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x4518e4]
imul edx, edx, 0x33af
sub esi, ecx
add esi, eax
lea eax, [edx + esi + 0xc49d]
mov dword [0x4518e0], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x17d4]
call fcn.00424991
add esp, 0x17d8
ret
mov edx, dword [0x4518f4]
mov esi, dword [0x4518ec]
imul edx, edx, 0x62fe
mov ecx, dword [0x4518dc]
imul esi, esi, 0xd4a0
sub esi, edx
mov eax, 0x7225d683
imul ecx
mov ecx, dword [esp + 0x17e0]
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add esi, edx
mov edx, dword [0x4518e0]
add eax, esi
sub eax, edx
add eax, 0x131b4
pop edi
pop esi
mov dword [0x4518d8], eax
mov eax, 1
pop ebx
call fcn.00424991
add esp, 0x17d8
ret