Function at 0x4044b0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x17d8
call fcn.004298f0
mov eax, dword [0x456fc0]
mov dword [esp + 0x17d4], eax
push ebx
push ebp
push esi
push edi
mov ecx, dword [0x4556a4]
mov eax, 0x1784740b
imul ecx
sar edx, 0xf
mov ebx, dword [0x4556a0]
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, ebx
imul ecx, ecx, 0xfff23675
sub ecx, eax
mov esi, dword [0x45569c]
mov eax, 0x3b1db3af
imul esi
mov ebp, dword [str._r_____r____]
sar edx, 0x11
add ecx, edx
mov eax, edx
mov edx, dword [0x455690]
shr eax, 0x1f
add eax, ecx
mov ecx, edx
imul ecx, ecx, 0x205c4
sub eax, ecx
mov ecx, dword [0x455688]
add eax, ebp
add ecx, eax
mov eax, 0x57ab2ce3
imul edx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [0x455688], ecx
imul ecx, ecx, 0x5715a
mov edi, dword [0x4556a8]
mov edx, edi
imul edx, edx, 0xa0008
sub ecx, eax
mov ebp, dword [esp + 0x17ec]
add ecx, edx
mov eax, 0xcccc28f7
imul esi
add edx, esi
sar edx, 0x13
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
sub ecx, ebx
sub ecx, 0x205c4
test ebp, ebp
mov dword [0x455690], ecx
je 0x404822
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404590
sub eax, edx
mov dword [esp + 0x10], eax
je 0x404822
mov eax, dword [esp + 0x17f0]
test eax, eax
je 0x404822
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4045b5
sub eax, edx
mov dword [esp + 0x10], eax
je 0x404822
mov ecx, dword [0x455698]
imul ebx, ebx, 0x53aff
mov eax, 0x9e71fdc9
imul ecx
add edx, ecx
sar edx, 0x13
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x944b09c1
imul edi
add edx, edi
imul edi, edi, 0x205c4
sar edx, 0x12
mov esi, ecx
mov ecx, dword [0x455694]
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x3b1784cb
imul ecx
sar edx, 0x11
mov ecx, edx
shr ecx, 0x1f
add esi, ebx
add ecx, edx
sub esi, ecx
sub esi, edi
lea ecx, [esp + 0xfe4]
mov dword [0x455698], esi
mov eax, ebp
sub ecx, ebp
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x404632
lea edx, [esp + 0xfe4]
push edx
call fcn.004042e0
imul esi, esi, 0x64985
mov ecx, dword [0x45568c]
mov eax, 0xa854d31d
imul ecx
mov ecx, dword [str._r_____r____]
sar edx, 0x12
imul ecx, ecx, 0xbae2b
add esp, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
push str.C:WINDOWS_system32driversetc_service5.ini
push 0x800
sub eax, esi
add eax, ecx
lea edx, [esp + 0x7ec]
push edx
mov dword [0x4556a0], eax
mov eax, dword [esp + 0x17fc]
push 0x445dd9
push eax
push str.GameType1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x7e4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4046b2
sub eax, edx
mov dword [esp + 0x10], eax
je 0x4047d0
mov ecx, dword [0x455698]
mov esi, dword [0x455690]
mov eax, 0x30f1b28f
imul esi, esi, 0x6e7be
imul ecx
mov ecx, dword [0x4556a0]
imul ecx, ecx, 0xaafdf
sar edx, 0x10
mov edi, edx
add esi, edx
shr edi, 0x1f
add edi, esi
sub edi, ecx
mov ecx, dword [str._r_____r____]
mov eax, 0x3b1db3af
imul ecx
sar edx, 0x11
mov eax, edx
lea ecx, [esp + 0x7e4]
shr eax, 0x1f
push ecx
add eax, edx
lea edx, [esp + 0x18]
sub edi, eax
push 0x1f4
push edx
mov dword [0x4556a8], edi
call fcn.0040c080
mov edi, eax
add esp, 0xc
xor esi, esi
test edi, edi
jle 0x4047d0
lea ecx, [ecx]
mov ebx, dword [0x4556a8]
mov eax, dword [0x45568c]
imul ebx, ebx, 0xcecf4
mov ecx, dword [0x45569c]
imul eax, eax, 0x6e7be
add ebx, eax
mov eax, 0x948af151
imul ecx
add edx, ecx
sar edx, 0x13
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ebx, ecx
mov ecx, dword [0x455694]
mov eax, 0x3b1784cb
imul ecx
mov ecx, dword [0x455690]
sar edx, 0x11
mov ebp, edx
add ebx, edx
mov eax, 0xcccc28f7
imul ecx
add edx, ecx
mov ecx, dword [esp + esi*4 + 0x14]
sar edx, 0x13
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.00429d20
add esp, 8
test eax, eax
jne 0x40483b
inc esi
cmp esi, edi
jl 0x404740
mov esi, dword [0x455698]
mov edx, dword [0x45568c]
imul esi, esi, 0x5715a
mov ecx, dword [0x45569c]
imul edx, edx, 0x6e7be
add esi, edx
mov eax, 0x30f1b28f
imul ecx
mov ecx, dword [str._r_____r____]
sar edx, 0x10
imul ecx, ecx, 0x8aa1b
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
add esi, dword [0x4556a4]
lea edx, [ecx + esi - 0x205c4]
mov dword [0x455694], edx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x17d4]
call fcn.0042909d
add esp, 0x17d8
ret
mov eax, dword [0x4556a8]
mov esi, dword [0x4556a0]
imul eax, eax, 0xcecf4
mov ecx, dword [0x45568c]
imul esi, esi, 0x6e7be
sub esi, eax
mov eax, 0x30f1b28f
imul ecx
mov ecx, dword [0x455690]
sar edx, 0x10
add esi, edx
mov edi, edx
mov eax, 0x3b1784cb
imul ecx
shr edi, 0x1f
sar edx, 0x11
add edi, esi
mov ecx, edx
shr ecx, 0x1f
add edi, edx
mov edx, dword [0x455694]
add ecx, edi
sub ecx, edx
pop edi
add ecx, 0xbae2b
pop esi
mov dword [0x45568c], ecx
mov ecx, dword [esp + 0x17dc]
pop ebp
mov eax, 1
pop ebx
call fcn.0042909d
add esp, 0x17d8
ret