Function at 0x4044a0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x17d8
call fcn.004298a0
mov eax, dword [0x456fc0]
mov dword [esp + 0x17d4], eax
push ebx
mov ebx, dword [0x45569c]
mov eax, 0x5e17e411
imul ebx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4556a4]
mov ecx, dword [0x4556a0]
push ebp
mov ebp, dword [0x455690]
push esi
push edi
mov edi, eax
mov eax, 0x6d62dd3b
imul edx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, ecx
imul esi, esi, 0x16cb
mov edx, ebp
imul edx, edx, 0x5cc
sub edi, esi
mov esi, dword [str._r_____r____]
sub edi, eax
sub edi, edx
add edi, esi
mov esi, dword [0x455688]
add esi, edi
mov edi, dword [0x4556a8]
mov eax, edi
imul eax, eax, 0x14a2
mov dword [esp + 0x10], eax
mov eax, 0x6342662b
imul ebx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x10]
sub edx, eax
mov dword [0x455688], esi
imul esi, esi, 0x12b9
add edx, esi
mov ebx, dword [esp + 0x17ec]
mov dword [esp + 0x10], edx
mov eax, 0x1cb32649
imul ebp
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x10]
sub edx, eax
sub edx, ecx
sub edx, 0x5cc
test ebx, ebx
mov dword [0x455690], edx
je 0x404824
mov esi, ebx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x404590
sub esi, edx
mov dword [esp + 0x10], esi
je 0x404824
mov ebp, dword [esp + 0x17f0]
test ebp, ebp
je 0x404824
mov esi, ebp
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4045b7
sub esi, edx
mov dword [esp + 0x10], esi
je 0x404824
mov eax, 0xcc33a611
imul ecx, ecx, 0xe33
imul edi
add edx, edi
imul edi, edi, 0x5cc
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x455698]
sub ecx, eax
mov eax, 0x5da803a9
imul edx
sar edx, 0xa
add ecx, edx
mov esi, edx
shr esi, 0x1f
add esi, ecx
mov ecx, dword [0x455694]
mov eax, 0x4700d503
imul ecx
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub esi, ecx
sub esi, edi
lea ecx, [esp + 0xfe4]
mov dword [0x455698], esi
mov eax, ebx
sub ecx, ebx
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x404630
lea edx, [esp + 0xfe4]
push edx
call fcn.004042e0
imul esi, esi, 0x509
mov ecx, dword [0x45568c]
mov eax, 0x1cb32649
imul ecx
mov ecx, dword [str._r_____r____]
add esp, 4
imul ecx, ecx, 0x11d7
sar edx, 9
mov eax, edx
push str.C:WINDOWS_system32driversetc_service5.ini
shr eax, 0x1f
push 0x800
add eax, edx
lea edx, [esp + 0x7ec]
push edx
push 0x445dd9
sub ecx, eax
push ebp
add ecx, esi
push str.GameType1
mov dword [0x4556a0], ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x7e4]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4046b0
sub eax, edx
mov dword [esp + 0x10], eax
je 0x4047d0
mov ecx, dword [str._r_____r____]
mov esi, dword [0x455690]
mov eax, 0x5e17e411
imul esi, esi, 0x140f
imul ecx
mov ecx, dword [0x455698]
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x903bb8bb
imul ecx
add edx, ecx
sar edx, 0xb
mov ecx, edx
add esi, edx
mov edx, dword [0x4556a0]
imul edx, edx, 0xd02
shr ecx, 0x1f
add ecx, esi
sub ecx, edx
lea eax, [esp + 0x7e4]
push eax
mov dword [0x4556a8], ecx
lea ecx, [esp + 0x18]
push 0x1f4
push ecx
call fcn.0040c0a0
mov edi, eax
add esp, 0xc
xor esi, esi
test edi, edi
jle 0x4047d0
lea ecx, [ecx]
mov ecx, dword [0x45569c]
mov eax, 0x59da2e6b
imul ecx
mov ecx, dword [0x455690]
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, eax
mov eax, 0x9cbd99d5
imul ecx
mov eax, dword [0x4556a8]
sar edx, 0xb
imul eax, eax, 0xaef
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x45568c]
imul edx, edx, 0x140f
mov ebp, ecx
mov ecx, dword [0x455694]
sub ebp, ebx
add ebp, edx
add ebp, eax
mov eax, 0x4700d503
imul ecx
sar edx, 9
mov ecx, edx
add ebp, edx
mov edx, dword [esp + esi*4 + 0x14]
shr ecx, 0x1f
push edx
lea eax, [esp + 0xfe8]
add ecx, ebp
push eax
mov dword [str._r_____r____], ecx
call fcn.00429cd0
add esp, 8
test eax, eax
jne 0x40483d
inc esi
cmp esi, edi
jl 0x404740
mov esi, dword [0x45568c]
mov ecx, dword [0x455698]
imul esi, esi, 0x140f
imul ecx, ecx, 0x12b9
add esi, ecx
mov ecx, dword [0x45569c]
mov eax, 0x903bb8bb
imul ecx
add edx, ecx
mov ecx, dword [str._r_____r____]
sar edx, 0xb
imul ecx, ecx, 0x736
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
add esi, dword [0x4556a4]
lea edx, [ecx + esi - 0x5cc]
mov dword [0x455694], edx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x17d4]
call fcn.0042904d
add esp, 0x17d8
ret
mov ecx, dword [0x45568c]
mov esi, dword [0x4556a0]
mov eax, 0x903bb8bb
imul esi, esi, 0x140f
imul ecx
add edx, ecx
mov ecx, dword [0x4556a8]
imul ecx, ecx, 0xaef
sar edx, 0xb
mov edi, edx
add esi, edx
shr edi, 0x1f
add edi, esi
sub edi, ecx
mov ecx, dword [0x455690]
mov eax, 0x4700d503
imul ecx
mov ecx, dword [esp + 0x17e4]
sar edx, 9
mov eax, edx
shr eax, 0x1f
add edi, edx
mov edx, dword [0x455694]
add eax, edi
pop edi
sub eax, edx
add eax, 0x11d7
pop esi
pop ebp
mov dword [0x45568c], eax
mov eax, 1
pop ebx
call fcn.0042904d
add esp, 0x17d8
ret