Function at 0x404c00
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x17d8
call fcn.0042d750
mov eax, dword [0x45b4b0]
mov ecx, dword [0x459b44]
mov dword [esp + 0x17d4], eax
push ebx
mov ebx, dword [0x459b40]
push ebp
mov eax, 0x5e407cd
imul ecx
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add eax, edx
push esi
mov esi, dword [0x459b58]
mov ecx, esi
imul ecx, ecx, 0x171ed6e
push edi
lea edi, [ecx + eax]
mov eax, 0x540f9495
imul ebx
sar edx, 0x17
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
mov eax, 0x186e8b3d
imul ebx
sar edx, 0x17
mov ecx, edx
add ebp, edx
mov edx, dword [0x459b38]
shr ecx, 0x1f
imul edx, edx, 0x53d33c3
add ecx, ebp
mov ebp, dword [0x459b50]
add ecx, edx
mov eax, ebp
imul eax, eax, 0xbdb188
sub ecx, eax
mov eax, 0x2742b221
imul dword [0x459b54]
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x459b4c]
sub ecx, eax
mov eax, 0x702fe9a3
imul edx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x459b48]
add ecx, edi
imul edx, edx, 0x4905557
mov dword [0x459b38], ecx
imul ecx, ecx, 0xd0a84b
sub edx, eax
add edx, ecx
mov dword [esp + 0x10], edx
mov eax, 0x4eb6fa85
imul ebx
mov eax, dword [esp + 0x10]
sar edx, 0x18
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
sub eax, dword [0x459b54]
mov ecx, dword [esp + 0x17ec]
test ecx, ecx
lea edx, [eax + edi - 0x53d33c3]
mov dword [0x459b40], edx
je 0x405004
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x404d18
sub eax, edi
mov dword [esp + 0x10], eax
je 0x405004
mov ebx, dword [esp + 0x17f0]
test ebx, ebx
je 0x405004
mov eax, ebx
lea edi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x404d40
sub eax, edi
mov dword [esp + 0x10], eax
je 0x405004
mov eax, 0x9d2b2fed
imul ebp, ebp, 0x18470b7
imul esi
add edx, esi
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov eax, 0x58945bfd
imul esi
sar edx, 0x17
mov edi, edx
add ebp, edx
mov edx, esi
imul edx, edx, 0x3cb4655
shr edi, 0x1f
add edi, ebp
sub edi, edx
lea edx, [esp + 0xfe4]
mov dword [0x459b48], edi
mov eax, ecx
sub edx, ecx
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x404da0
lea eax, [esp + 0xfe4]
push eax
call fcn.00404a20
imul edi, edi, 0x185d014
imul esi, esi, 0x4b280d2
mov ecx, dword [0x459b44]
mov eax, 0x5e407cd
imul ecx
sar edx, 0x14
mov ebp, ecx
mov ecx, edx
imul ebp, ebp, 0x171ed6e
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x459b4c]
imul edx, edx, 0x53d33c3
mov eax, ecx
mov ecx, dword [0x459b3c]
sub eax, ebp
add eax, edi
sub eax, edx
mov ebp, eax
mov eax, 0x4eb6fa85
imul ecx
add esp, 4
push str.C:_WINDOWS_system32driversetc_service5.ini
sar edx, 0x18
push 0x800
mov eax, edx
lea ecx, [esp + 0x7ec]
push ecx
shr eax, 0x1f
add eax, edx
push 0x449e59
sub ebp, eax
push ebx
add ebp, esi
push str.GameType1
mov dword [0x459b50], ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x7e4]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404e50
sub eax, edx
mov dword [esp + 0x10], eax
je 0x404f8d
mov ecx, dword [0x459b38]
mov eax, 0x545b9e19
imul ecx
mov ecx, dword [0x459b44]
sar edx, 0x17
mov esi, edx
shr esi, 0x1f
add esi, edx
mov edx, dword [0x459b58]
imul edx, edx, 0x171ed6e
add esi, edx
mov eax, 0x5e407cd
imul ecx
mov ecx, dword [str._r_____r____]
sar edx, 0x14
mov edi, edx
add esi, edx
mov eax, 0x540f9495
imul ecx
mov ecx, dword [0x459b54]
sar edx, 0x17
imul ecx, ecx, 0x53d33c3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x459b40]
shr edi, 0x1f
imul edx, edx, 0x8aa118
add edi, esi
sub edi, eax
lea eax, [esp + 0x7e4]
push eax
sub edi, ecx
lea ecx, [esp + 0x18]
add edi, edx
push 0x1f4
push ecx
mov dword [0x459b58], edi
call fcn.0040e230
mov ebx, eax
add esp, 0xc
xor esi, esi
test ebx, ebx
jle 0x404f8d
mov ecx, dword [0x459b3c]
mov edx, dword [0x459b58]
mov edi, dword [0x459b44]
imul edx, edx, 0x171ed6e
mov ebp, ecx
imul ebp, ebp, 0x1a0fa8c
add ebp, edx
mov eax, 0x5e407cd
imul edi
sar edx, 0x14
add ebp, edx
mov eax, edx
shr eax, 0x1f
add eax, ebp
shl eax, 1
mov ebp, eax
mov eax, 0x702fe9a3
imul edi
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov eax, 0x565ef47
imul ecx
sar edx, 0x12
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + esi*4 + 0x14]
push edx
lea eax, [esp + 0xfe8]
sub ebp, ecx
push eax
mov dword [str._r_____r____], ebp
call fcn.0042db80
add esp, 8
test eax, eax
jne 0x40501d
inc esi
cmp esi, ebx
jl 0x404f02
mov ecx, dword [0x459b4c]
mov eax, 0x545b9e19
imul ecx
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [str._r_____r____]
mov esi, ecx
imul edx, edx, 0x2b75400
mov ecx, dword [0x459b58]
imul esi, esi, 0x341f518
imul ecx, ecx, 0x171ed6e
mov edi, dword [0x459b50]
sub esi, eax
add esi, ecx
mov ecx, dword [0x459b44]
add esi, edx
mov eax, 0x5e407cd
imul ecx
mov ecx, dword [0x459b48]
sar edx, 0x14
imul ecx, ecx, 0xd0a84b
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, edi
add eax, esi
lea edx, [ecx + eax - 0x53d33c3]
mov dword [0x459b44], edx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x17d4]
call fcn.0042cf11
add esp, 0x17d8
ret
mov ecx, dword [0x459b44]
mov esi, dword [0x459b50]
mov eax, 0x5e407cd
imul esi, esi, 0x1a0fa8c
imul ecx
mov ecx, dword [0x459b3c]
sar edx, 0x14
add esi, edx
mov edi, edx
mov eax, 0x545b9e19
imul ecx
mov eax, dword [str._r_____r____]
sar edx, 0x17
mov ecx, edx
shr edi, 0x1f
shr ecx, 0x1f
add edi, esi
add ecx, edx
lea edx, [ecx + edi*2 + 0x3409364]
mov ecx, dword [esp + 0x17e4]
pop edi
pop esi
sub edx, eax
pop ebp
mov dword [0x459b3c], edx
mov eax, 1
pop ebx
call fcn.0042cf11
add esp, 0x17d8
ret