Function at 0x404de0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x17d8
call fcn.0042aa70
mov eax, dword [0x458190]
mov dword [esp + 0x17d4], eax
push ebx
mov ebx, dword [0x456834]
push ebp
push esi
mov esi, dword [0x456820]
mov eax, 0x521ee247
imul esi
sar edx, 0x14
push edi
mov edi, dword [0x456830]
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebp, eax
mov ecx, edi
imul ecx, ecx, 0x537276
sub ebp, ecx
mov ecx, esi
imul ecx, ecx, 0x45ab63
mov eax, 0x759571eb
imul ebx
sar edx, 0x15
add ebp, ecx
add ebp, edx
mov ecx, edx
mov eax, 0x224214b1
imul ebx
mov ebx, dword [str._r_____r____]
sar edx, 0x14
imul ebx, ebx, 0x50ebd8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45682c]
shr ecx, 0x1f
add ecx, ebp
sub ecx, eax
mov eax, 0x329dfa79
imul edx
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0x1eefbef3
imul esi
mov dword [0x456818], ecx
imul ecx, ecx, 0x779018
sar edx, 0x13
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
add ebx, ecx
sub ebx, edi
mov edi, dword [esp + 0x17ec]
sub ebx, 0x45ab63
test edi, edi
mov dword [0x456820], ebx
je 0x40516c
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404ec1
sub eax, edx
mov dword [esp + 0x10], eax
je 0x40516c
mov ebx, dword [esp + 0x17f0]
test ebx, ebx
je 0x40516c
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404ee8
sub eax, edx
mov dword [esp + 0x10], eax
je 0x40516c
mov ecx, dword [0x456824]
mov ebp, dword [0x45681c]
mov eax, 0x606c8017
imul ebp, ebp, 0x536f78
imul ecx
sar edx, 0x15
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ebp, ecx
mov ecx, dword [0x456838]
mov eax, 0xbc70579
imul ecx
sar edx, 0x10
add ebp, edx
mov esi, edx
mov eax, 0x61e4609d
imul ecx
imul ecx, ecx, 0x45ab63
sar edx, 0x15
shr esi, 0x1f
mov eax, edx
shr eax, 0x1f
add esi, ebp
add eax, edx
sub esi, eax
sub esi, ecx
lea ecx, [esp + 0xfe4]
mov dword [0x456828], esi
mov eax, edi
sub ecx, edi
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x404f65
lea ecx, [esp + 0xfe4]
push ecx
call fcn.00404c20
imul esi, esi, 0x1c242f
mov ecx, dword [0x45681c]
mov edi, dword [0x456824]
mov eax, 0x1eefbef3
imul edi, edi, 0x42333a
imul ecx
mov ecx, dword [0x45682c]
add esp, 4
imul ecx, ecx, 0x45ab63
sar edx, 0x13
mov eax, edx
push str.C:WINDOWS_system32driversetc_service5.ini
shr eax, 0x1f
push 0x800
add eax, edx
lea edx, [esp + 0x7ec]
push edx
sub edi, eax
push 0x446e1d
sub edi, ecx
push ebx
add edi, esi
push str.GameType1
mov dword [0x456830], edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x7e4]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404ff0
sub eax, edx
mov dword [esp + 0x10], eax
je 0x40511b
mov ecx, dword [0x45682c]
mov eax, 0x622f07f9
imul ecx
mov ecx, dword [str._r_____r____]
mov esi, dword [0x456830]
sar edx, 0x15
imul esi, esi, 0x54f550
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, eax
mov eax, 0x521ee247
imul ecx
mov eax, dword [0x456834]
sar edx, 0x14
imul eax, eax, 0x45ab63
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x456820]
imul edx, edx, 0x53af19
sub edi, esi
sub edi, ecx
lea ecx, [esp + 0x7e4]
push ecx
add edi, edx
lea edx, [esp + 0x18]
sub edi, eax
push 0x1f4
push edx
mov dword [0x456838], edi
call fcn.0040c960
mov ebx, eax
add esp, 0xc
xor edi, edi
test ebx, ebx
jle 0x40511b
lea ebx, [ebx]
mov esi, dword [0x456824]
mov ecx, dword [0x45682c]
mov eax, 0x606c8017
imul esi
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebp, eax
mov eax, 0xc4570565
imul ecx
add edx, ecx
sar edx, 0x16
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x329dfa79
imul esi
sar edx, 0x14
sub ebp, ecx
mov ecx, dword [0x456838]
mov eax, edx
imul ecx, ecx, 0x15bc8b
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456830]
imul edx, edx, 0x53af19
sub ebp, eax
mov eax, dword [esp + edi*4 + 0x14]
add ebp, ecx
push eax
lea ecx, [esp + 0xfe8]
add ebp, edx
push ecx
mov dword [str._r_____r____], ebp
call fcn.0042a5a0
add esp, 8
test eax, eax
jne 0x405185
inc edi
cmp edi, ebx
jl 0x405090
mov ecx, dword [0x45682c]
mov esi, dword [str._r_____r____]
mov eax, 0x622f07f9
imul esi, esi, 0x54f550
imul ecx
mov ecx, dword [0x456818]
sar edx, 0x15
imul ecx, ecx, 0x53af19
mov eax, edx
shr eax, 0x1f
add eax, edx
add ecx, dword [0x456834]
mov edx, dword [0x456828]
imul edx, edx, 0x779018
sub esi, eax
add ecx, esi
lea eax, [edx + ecx - 0x45ab63]
mov dword [0x456824], eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x17d4]
call fcn.0042a161
add esp, 0x17d8
ret
mov ecx, dword [0x456838]
mov eax, 0x606c8017
imul ecx
imul ecx, ecx, 0x15bc8b
sar edx, 0x15
mov esi, edx
shr esi, 0x1f
add esi, edx
mov edx, dword [0x45681c]
mov eax, 0x622f07f9
imul edx
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add esi, edx
mov edx, dword [0x456824]
add eax, esi
sub eax, ecx
mov ecx, dword [0x456830]
imul ecx, ecx, 0x53af19
add eax, ecx
mov ecx, dword [esp + 0x17e4]
pop edi
sub eax, edx
add eax, 0x42333a
pop esi
pop ebp
mov dword [0x45681c], eax
mov eax, 1
pop ebx
call fcn.0042a161
add esp, 0x17d8
ret