Function at 0x404c50
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x17d8
call fcn.0042d840
mov eax, dword [0x45b4b0]
mov dword [esp + 0x17d4], eax
push ebx
push ebp
push esi
push edi
mov ecx, dword [0x459b44]
mov eax, 0x491979d9
imul ecx
sar edx, 0x11
mov ebp, dword [0x459b40]
mov esi, edx
shr esi, 0x1f
add esi, edx
mov eax, 0x20ab631d
imul ebp
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x10], eax
mov eax, 0x4c84c1e9
imul ebp
mov eax, dword [esp + 0x10]
sar edx, 0x12
add eax, edx
mov ecx, edx
mov edx, dword [0x459b50]
shr ecx, 0x1f
imul edx, edx, 0x1db98
add ecx, eax
mov eax, dword [0x459b38]
imul eax, eax, 0xd61e3
add ecx, eax
sub ecx, edx
mov eax, 0xf957fd3
imul dword [0x459b54]
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov ebx, dword [0x459b58]
mov eax, 0xf6ddfe9
imul ebp
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x459b4c]
mov ebp, eax
mov eax, 0xa89b51e5
imul edx
mov edi, ebx
imul edi, edi, 0x3b76e
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x459b48]
add ecx, esi
imul edx, edx, 0xbb797
add ecx, edi
mov dword [0x459b38], ecx
imul ecx, ecx, 0x20dab
sub eax, ebp
add eax, edx
mov edx, dword [0x459b54]
add eax, ecx
sub eax, edx
add eax, esi
lea eax, [eax + edi - 0xd61e3]
mov edi, dword [esp + 0x17ec]
test edi, edi
mov dword [0x459b40], eax
je 0x40505f
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404d70
sub eax, edx
mov dword [esp + 0x10], eax
je 0x40505f
mov ebp, dword [esp + 0x17f0]
test ebp, ebp
je 0x40505f
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404d97
sub eax, edx
mov dword [esp + 0x10], eax
je 0x40505f
mov ecx, dword [0x459b50]
mov eax, 0x3da796f7
imul ecx, ecx, 0x3eb37
imul ebx
sar edx, 0x11
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x89c36131
imul ebx
add edx, ebx
sar edx, 0x11
mov esi, edx
add ecx, edx
shr esi, 0x1f
add esi, ecx
mov ecx, ebx
imul ecx, ecx, 0x9aa75
sub esi, ecx
lea edx, [esp + 0xfe4]
mov dword [0x459b48], esi
mov eax, edi
sub edx, edi
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x404e00
lea edx, [esp + 0xfe4]
push edx
call fcn.00404a60
imul esi, esi, 0x3eb04
imul ebx, ebx, 0xc0332
mov eax, dword [0x459b4c]
mov ecx, dword [0x459b3c]
imul eax, eax, 0xd61e3
sub esi, eax
mov eax, 0xf6ddfe9
imul ecx
sar edx, 0xf
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub esi, ecx
mov ecx, dword [0x459b44]
mov edx, ecx
imul edx, edx, 0x3b76e
sub esi, edx
mov eax, 0x491979d9
imul ecx
add esp, 4
push str.C:_WINDOWS_system32driversetc_service5.ini
push 0x800
sar edx, 0x11
lea ecx, [esp + 0x7ec]
push ecx
add esi, ebx
mov eax, edx
push 0x449e59
shr eax, 0x1f
add esi, edx
push ebp
add eax, esi
push str.GameType1
mov dword [0x459b50], eax
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 0x404ea3
sub eax, edx
mov dword [esp + 0x10], eax
je 0x404fed
mov ecx, dword [str._r_____r____]
mov eax, 0x20ab631d
imul ecx
mov ecx, dword [0x459b38]
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, 0x415373e5
imul ecx
mov eax, dword [0x459b40]
sar edx, 0x10
imul eax, eax, 0x14cd8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x459b54]
mov edi, ecx
imul edx, edx, 0xd61e3
mov ecx, dword [0x459b58]
imul ecx, ecx, 0x3b76e
sub edi, esi
sub edi, edx
add edi, eax
add edi, ecx
mov ecx, dword [0x459b44]
mov eax, 0x491979d9
imul ecx
sar edx, 0x11
mov eax, edx
lea ecx, [esp + 0x7e4]
push ecx
add edi, edx
shr eax, 0x1f
lea edx, [esp + 0x18]
add eax, edi
push 0x1f4
push edx
mov dword [0x459b58], eax
call fcn.0040e2c0
mov ebx, eax
add esp, 0xc
xor esi, esi
test ebx, ebx
jle 0x404fed
jmp 0x404f60
mov ecx, dword [0x459b3c]
mov ebp, dword [0x459b58]
mov edi, dword [0x459b44]
imul ebp, ebp, 0x3b76e
mov eax, ecx
imul eax, eax, 0x426f4
add ebp, eax
mov eax, 0x491979d9
imul edi
sar edx, 0x11
add ebp, edx
mov eax, edx
shr eax, 0x1f
add eax, ebp
shl eax, 1
mov ebp, eax
mov eax, 0x89cc5bfb
imul ecx
add edx, ecx
sar edx, 0x10
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x5764ae1b
imul edi
sar edx, 0x12
mov eax, edx
sub ebp, ecx
mov ecx, dword [esp + esi*4 + 0x14]
shr eax, 0x1f
add eax, edx
push ecx
lea edx, [esp + 0xfe8]
sub ebp, eax
push edx
mov dword [str._r_____r____], ebp
call fcn.0042dc70
add esp, 8
test eax, eax
jne 0x405078
inc esi
cmp esi, ebx
jl 0x404f60
mov ecx, dword [0x459b4c]
mov esi, dword [str._r_____r____]
mov eax, 0x415373e5
imul esi, esi, 0x70110
imul ecx
imul ecx, ecx, 0x84de8
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x459b58]
sub ecx, eax
imul edx, edx, 0x3b76e
mov eax, dword [0x459b48]
imul eax, eax, 0x20dab
add ecx, edx
mov edx, dword [0x459b44]
add ecx, eax
add esi, dword [0x459b50]
mov eax, 0x491979d9
imul edx
sar edx, 0x11
mov eax, edx
shr eax, 0x1f
add eax, edx
add esi, ecx
lea ecx, [eax + esi - 0xd61e3]
mov dword [0x459b44], ecx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x17d4]
call fcn.0042d001
add esp, 0x17d8
ret
mov ecx, dword [0x459b44]
mov esi, dword [0x459b50]
mov eax, 0x491979d9
imul esi, esi, 0x426f4
imul ecx
mov ecx, dword [0x459b3c]
sar edx, 0x11
add esi, edx
mov edi, edx
mov eax, 0x415373e5
imul ecx
sar edx, 0x10
shr edi, 0x1f
mov eax, edx
shr eax, 0x1f
add edi, esi
add eax, edx
lea ecx, [eax + edi*2 + 0x84bc4]
mov eax, dword [str._r_____r____]
pop edi
sub ecx, eax
pop esi
mov dword [0x459b3c], ecx
mov ecx, dword [esp + 0x17dc]
pop ebp
mov eax, 1
pop ebx
call fcn.0042d001
add esp, 0x17d8
ret