Function at 0x4042c0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x17d8
call fcn.0042a9b0
mov eax, dword [0x458190]
mov dword [esp + 0x17d4], eax
push ebx
push esi
mov esi, dword [0x456834]
push edi
mov edi, dword [0x456820]
mov eax, 0x3ac7f767
imul edi
sar edx, 0x17
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0x62ace781
imul esi
mov eax, dword [0x456818]
imul eax, eax, 0x5305094
sar edx, 0x19
add ebx, edx
mov ecx, edx
shr ecx, 0x1f
add ecx, ebx
add ecx, eax
mov eax, 0x936c7f27
imul esi
add edx, esi
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456830]
mov ebx, dword [str._r_____r____]
imul edx, edx, 0x360833b
sub ecx, eax
imul ebx, ebx, 0x4067eec
sub ecx, edx
mov edx, dword [0x45682c]
mov eax, 0x7f3171f
imul edx
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov dword [0x456818], ecx
imul ecx, ecx, 0xde454f
mov eax, 0x31a5bd5f
imul edi
mov edi, dword [esp + 0x17e8]
add ebx, ecx
sar edx, 0x17
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ebx, ecx
sub ebx, esi
sub ebx, 0x5305094
test edi, edi
mov dword [0x456820], ebx
je 0x4046cf
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4043a1
sub eax, edx
mov dword [esp + 0xc], eax
je 0x4046cf
mov ebx, dword [esp + 0x17ec]
test ebx, ebx
je 0x4046cf
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4043c8
sub eax, edx
mov dword [esp + 0xc], eax
je 0x4046cf
mov ecx, dword [0x456838]
mov eax, 0x94723637
imul ecx
add edx, ecx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, 0x63510a67
imul ecx
imul ecx, ecx, 0x5305094
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
sub esi, ecx
mov ecx, dword [0x45681c]
imul ecx, ecx, 0x3422234
add esi, ecx
mov ecx, dword [0x456824]
mov eax, 0x61bc1a5d
imul ecx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
lea ecx, [esp + 0xfe0]
mov dword [0x456828], esi
mov eax, edi
sub ecx, edi
lea esp, [esp]
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x404450
lea ecx, [esp + 0xfe0]
push ecx
call fcn.00404100
imul esi, esi, 0x22d753a
mov edx, dword [0x456824]
mov eax, dword [0x45682c]
imul edx, edx, 0xdef222
mov ecx, dword [0x45681c]
imul eax, eax, 0x5305094
sub esi, edx
sub esi, eax
mov eax, 0x31a5bd5f
imul ecx
add esp, 4
sar edx, 0x17
mov ecx, edx
push str.C:WINDOWS_system32driversetc_service5.ini
shr ecx, 0x1f
push 0x800
add ecx, edx
lea edx, [esp + 0x7e8]
push edx
push 0x446e15
push ebx
sub esi, ecx
push str.GameType1
mov dword [0x456830], esi
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 0x4044d7
sub eax, edx
push ebp
mov dword [esp + 0x10], eax
je 0x4045eb
mov ecx, dword [str._r_____r____]
mov esi, dword [0x456834]
mov eax, 0x3ac7f767
imul esi, esi, 0xfacfaf6c
imul ecx
mov ecx, dword [0x456820]
sar edx, 0x17
imul ecx, ecx, 0x2a93aa6
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
sub esi, ecx
mov ecx, dword [0x45682c]
mov eax, 0x13a45601
imul ecx
sar edx, 0x16
mov eax, edx
lea ecx, [esp + 0x7e4]
push ecx
add esi, edx
shr eax, 0x1f
lea edx, [esp + 0x18]
add eax, esi
push 0x1f4
push edx
mov dword [0x456838], eax
call fcn.0040c9f0
mov edi, eax
add esp, 0xc
xor esi, esi
test edi, edi
jle 0x4045eb
mov ecx, dword [0x456824]
mov ebx, dword [0x456838]
mov eax, 0x7f3171f
imul ebx, ebx, 0x372f5c1
imul ecx
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456830]
imul edx, edx, 0x293deaa
sub ebx, eax
add ebx, edx
mov eax, 0x61bc1a5d
imul ecx
mov ecx, dword [0x45681c]
sar edx, 0x19
mov ebp, edx
add ebx, edx
mov eax, 0x979d1eb7
imul ecx
add edx, ecx
mov ecx, dword [esp + esi*4 + 0x14]
sar edx, 0x19
mov eax, edx
shr ebp, 0x1f
shr eax, 0x1f
add eax, edx
add ebp, ebx
push ecx
lea edx, [esp + 0xfe8]
sub ebp, eax
push edx
mov dword [str._r_____r____], ebp
call fcn.0042ade0
add esp, 8
test eax, eax
jne 0x404657
inc esi
cmp esi, edi
jl 0x404562
mov esi, dword [0x456818]
mov edx, dword [0x456828]
imul esi, esi, 0x293deaa
mov ecx, dword [0x45682c]
imul edx, edx, 0xde454f
add esi, edx
mov eax, 0x13a45601
imul ecx
mov ecx, dword [str._r_____r____]
sar edx, 0x16
imul ecx, ecx, 0x53d1950
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, dword [0x456830]
pop ebp
add esi, eax
pop edi
lea edx, [ecx + esi - 0x5305094]
pop esi
mov dword [0x456824], edx
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x17d4]
call fcn.0042a171
add esp, 0x17d8
ret
mov ecx, dword [0x456838]
mov esi, dword [0x456830]
mov edx, dword [0x45681c]
imul esi, esi, 0x293deaa
mov eax, ecx
imul eax, eax, 0x372f5c1
sub esi, eax
mov eax, 0x13a45601
imul edx
sar edx, 0x16
add esi, edx
mov edi, edx
mov eax, 0x61bc1a5d
imul ecx
shr edi, 0x1f
sar edx, 0x19
add edi, esi
mov ecx, edx
add edi, edx
mov edx, dword [str._r_____r____]
shr ecx, 0x1f
add ecx, edi
pop ebp
pop edi
sub ecx, edx
add ecx, 0x294039f
pop esi
mov dword [0x45681c], ecx
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x17d4]
call fcn.0042a171
add esp, 0x17d8
ret
mov ecx, dword [esp + 0x17e0]
pop edi
pop esi
xor eax, eax
pop ebx
call fcn.0042a171
add esp, 0x17d8
ret