Function at 0x4042c0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x17d8
call fcn.0042ab60
mov eax, dword [0x458190]
mov ecx, dword [0x456830]
mov dword [esp + 0x17d4], eax
imul ecx, ecx, 0xffffea8e
push ebx
push esi
mov esi, dword [0x456834]
mov eax, 0x214d0215
imul esi
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0xe6005641
imul esi
add edx, esi
sar edx, 0xc
add ecx, edx
mov ebx, edx
mov edx, dword [0x456818]
imul edx, edx, 0x11cf
shr ebx, 0x1f
add ebx, ecx
add ebx, edx
push edi
mov edi, dword [0x456820]
mov eax, 0x4f950fb3
imul edi
sar edx, 0xa
add ebx, edx
mov ecx, edx
mov edx, dword [0x45682c]
mov eax, 0x61e35267
imul edx
sar edx, 0xb
shr ecx, 0x1f
add ecx, ebx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [str._r_____r____]
mov dword [0x456818], ecx
imul ecx, ecx, 0x1ec0
imul edx, edx, 0x14ec
sub ecx, eax
add ecx, edx
mov eax, 0x776d83ad
imul edi
mov edi, dword [esp + 0x17e8]
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
sub ecx, esi
sub ecx, 0x11cf
test edi, edi
mov dword [0x456820], ecx
je 0x404650
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4043a2
sub eax, edx
mov dword [esp + 0xc], eax
je 0x404650
mov ebx, dword [esp + 0x17ec]
test ebx, ebx
je 0x404650
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4043d0
sub eax, edx
mov dword [esp + 0xc], eax
je 0x404650
mov ecx, dword [0x456824]
mov eax, 0xbdd265f5
imul ecx
add edx, ecx
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov esi, ecx
mov ecx, dword [0x456838]
mov eax, 0x9f248ed3
imul ecx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45681c]
push ebp
imul edx, edx, 0x1530
mov ebp, eax
mov eax, ecx
imul eax, eax, 0x11cf
sub ebp, esi
add ebp, edx
sub ebp, eax
mov eax, 0xb838211b
imul ecx
add edx, ecx
sar edx, 0xa
mov esi, edx
add ebp, edx
shr esi, 0x1f
add esi, ebp
lea ecx, [esp + 0xfe4]
mov dword [0x456828], esi
mov eax, edi
sub ecx, edi
pop ebp
lea esp, [esp]
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x404460
lea ecx, [esp + 0xfe0]
push ecx
call fcn.004040f0
imul esi, esi, 0xcde
mov ecx, dword [0x45681c]
mov edi, dword [0x45682c]
mov eax, 0x88927c53
imul edi, edi, 0x11cf
imul ecx
mov ecx, dword [0x456824]
add esp, 4
imul ecx, ecx, 0xb97
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
push str.C:WINDOWS_system32driversetc_service5.ini
add eax, edx
push 0x800
lea edx, [esp + 0x7e8]
push edx
sub eax, edi
push 0x446e15
add eax, esi
push ebx
add eax, ecx
push str.GameType1
mov dword [0x456830], eax
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 0x4044e7
sub eax, edx
mov dword [esp + 0xc], eax
je 0x4045fd
mov ecx, dword [0x45682c]
mov eax, 0xc152500d
imul ecx
add edx, ecx
mov ecx, dword [0x456834]
sar edx, 0xc
imul ecx, ecx, 0x11cf
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
sub esi, ecx
mov ecx, dword [str._r_____r____]
mov eax, 0x4f950fb3
imul ecx
mov ecx, dword [0x456820]
sar edx, 0xa
imul ecx, ecx, 0x6f
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [esp + 0x7e0]
push edx
sub esi, eax
lea eax, [esp + 0x14]
sub esi, ecx
push 0x1f4
push eax
mov dword [0x456838], esi
call fcn.0040cb10
mov edi, eax
add esp, 0xc
xor esi, esi
test edi, edi
jle 0x4045fd
mov ecx, dword [0x456824]
mov eax, 0xbdd265f5
imul ecx
add edx, ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45681c]
mov ebx, eax
mov eax, 0x5f7fac71
imul edx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0x61e35267
imul ecx
mov eax, dword [0x456838]
sar edx, 0xb
imul eax, eax, 0x58f
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x456830]
imul edx, edx, 0x1525
sub ebx, ecx
mov ecx, dword [esp + esi*4 + 0x10]
add ebx, edx
push ecx
lea edx, [esp + 0xfe4]
add ebx, eax
push edx
mov dword [str._r_____r____], ebx
call fcn.0042af90
add esp, 8
test eax, eax
jne 0x404668
inc esi
cmp esi, edi
jl 0x404573
mov esi, dword [0x456828]
mov eax, dword [str._r_____r____]
imul esi, esi, 0x1ec0
mov ecx, dword [0x45682c]
imul eax, eax, 0x1594
add esi, eax
mov eax, 0xc152500d
imul ecx
mov eax, dword [0x456830]
add edx, ecx
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x456818]
imul edx, edx, 0x1525
sub esi, ecx
add esi, eax
lea eax, [edx + esi - 0x11cf]
mov dword [0x456824], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x17d4]
call fcn.0042a321
add esp, 0x17d8
ret
mov ecx, dword [0x456838]
mov esi, dword [0x45681c]
mov eax, 0xbdd265f5
imul ecx
add edx, ecx
imul ecx, ecx, 0x58f
sar edx, 0xc
mov edi, edx
shr edi, 0x1f
add edi, edx
mov eax, 0xc152500d
imul esi
add edx, esi
sar edx, 0xc
add edi, edx
mov eax, edx
mov edx, dword [0x456830]
imul edx, edx, 0x1525
shr eax, 0x1f
add eax, edi
add eax, edx
mov edx, dword [str._r_____r____]
sub eax, ecx
mov ecx, dword [esp + 0x17e0]
sub eax, edx
add eax, 0x1126
pop edi
pop esi
mov dword [0x45681c], eax
mov eax, 1
pop ebx
call fcn.0042a321
add esp, 0x17d8
ret