Function at 0x406100
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443c80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfdc
mov eax, dword [0x457000]
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edx, dword [0x45569c]
mov eax, 0x73b2d479
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, dword [0x455690]
mov edi, eax
mov eax, 0xd816735f
imul esi
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, eax
mov ecx, dword [0x4556a8]
sub ebx, edi
imul ecx, ecx, 0x212c
mov edi, dword [0x455694]
mov eax, 0x5d0a95d5
imul edi
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45568c]
add eax, ecx
imul edx, edx, 0x11be
add eax, ebx
add edx, eax
mov dword [str._r_____r____], edx
mov eax, 0x5d0a95d5
imul esi
mov eax, dword [0x4556a0]
imul eax, eax, 0x11be
sar edx, 0xb
mov esi, edx
shr esi, 0x1f
mov ebx, dword [ebp + 8]
add esi, edx
add esi, eax
mov eax, 0x4b438bdf
imul dword [0x45568c]
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add esi, edx
add eax, esi
sub eax, ecx
sub eax, edi
add eax, 0x1e03
test ebx, ebx
mov dword [0x45568c], eax
je 0x4065df
mov eax, ebx
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4061f0
sub eax, edx
mov dword [ebp + 8], eax
je 0x4065df
mov edx, dword [ebp + 0xc]
push str.C:WINDOWS_system32driversetc_service5.ini
push 0x800
lea ecx, [ebp - 0x814]
push ecx
push 0x445de9
push edx
push str.GameType1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, dword [str._r_____r____]
mov esi, dword [0x45568c]
mov edx, dword [0x455698]
imul edx, edx, 0xe0e
mov eax, edi
imul eax, eax, 0x1603
mov ecx, esi
imul ecx, ecx, 0x11be
add eax, ecx
mov ecx, dword [0x45569c]
add eax, edx
mov dword [ebp + 8], eax
mov eax, 0x4b438bdf
imul ecx
mov ecx, dword [ebp + 8]
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4556a4]
sub ecx, eax
lea ecx, [ecx + edx - 0x544]
lea eax, [ebp - 0x814]
lea edx, [eax + 1]
mov dword [0x455694], ecx
mov dword [ebp + 8], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x406291
sub eax, dword [ebp + 8]
mov dword [ebp + 8], eax
je 0x4065b3
mov edi, dword [0x455690]
mov eax, 0x27e98ca1
imul edi, edi, 0x2367
imul ecx
imul ecx, ecx, 0x544
sar edx, 0xa
add edi, edx
mov eax, edx
mov edx, esi
imul edx, edx, 0x15e3
shr eax, 0x1f
add eax, edi
add eax, edx
mov edi, eax
mov eax, 0x48dbb693
imul esi
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
add edi, ecx
lea ecx, [ebp - 0x814]
push ecx
lea edx, [ebp - 0xfe8]
push 0x1f4
push edx
mov dword [0x45569c], edi
call fcn.0040beb0
add esp, 0xc
mov dword [ebp + 8], eax
xor esi, esi
cmp esi, dword [ebp + 8]
jge 0x4065a7
mov ecx, dword [0x45569c]
mov eax, 0x73b2d479
imul ecx
imul ecx, ecx, 0x1603
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4556a4]
mov edi, eax
mov eax, 0xd816735f
imul edx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, edi
add eax, ecx
mov ecx, dword [0x45568c]
mov edi, eax
mov eax, 0x5d0a95d5
imul ecx
mov eax, dword [ebp + esi*4 - 0xfe8]
sar edx, 0xb
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x455688]
imul edx, edx, 0xd9b
sub edi, ecx
push eax
add edi, edx
push ebx
mov dword [0x4556a4], edi
call fcn.0042a0c0
add esp, 8
test eax, eax
je 0x4065a1
mov ebx, dword [0x4556a0]
mov eax, 0x5d929e5d
imul dword [0x45569c]
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov ecx, ebx
imul ecx, ecx, 0x2367
sub esi, ecx
mov ecx, dword [0x4556a4]
mov eax, 0x48dbb693
imul ecx
sar edx, 0xa
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x455690]
mov eax, edx
imul eax, eax, 0x544
sub esi, ecx
sub esi, eax
mov eax, 0x5d0a95d5
imul edx
mov edi, dword [str._r_____r____]
mov ecx, dword [0x455688]
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ebx
imul edx, edx, 0x11be
add eax, edx
mov edx, dword [0x45568c]
add esi, edi
add ecx, esi
mov dword [ebp + 8], eax
mov eax, 0x4b438bdf
imul edx
mov eax, dword [ebp + 8]
mov dword [0x455688], ecx
mov ecx, dword [0x4556a8]
mov edi, ecx
imul edi, edi, 0x212c
sar edx, 0xa
add eax, edx
mov esi, edx
mov edx, dword [0x455694]
shr esi, 0x1f
add esi, eax
mov eax, dword [0x5593ac]
sub esi, edi
sub esi, edx
add esi, 0x1e03
inc eax
cmp eax, 5
mov dword [0x45568c], esi
mov dword [0x5593ac], eax
jg 0x40653b
cmp dword [ebp + 0x10], 1
jne 0x40653b
mov eax, 0x443d7153
imul ecx, ecx, 0x19a8
imul esi, esi, 0x11be
imul dword [0x455690]
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x27e98ca1
imul dword [0x45569c]
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, dword [0x455688]
imul eax, eax, 0xe0e
add ecx, eax
mov eax, 0x73b2d479
imul dword [0x45569c]
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, ebx
mov ebx, eax
sub ecx, 0x544
mov eax, 0xd816735f
imul ecx
mov dword [0x455690], ecx
sar edx, 0xa
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x5d0a95d5
imul dword [0x455694]
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, ebx
add eax, edi
add eax, ecx
add esi, eax
mov eax, dword [0x569780]
mov dword [str._r_____r____], esi
mov ecx, dword [eax]
push eax
mov dword [ebp - 4], 0
call dword [ecx + 0x30]
mov ecx, dword [0x4556a8]
mov ebx, dword [0x4556a0]
mov edx, dword [0x455698]
imul ebx, ebx, 0xd9b
mov eax, 0x3dbd3249
imul edx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, 0x5d0a95d5
imul dword [0x455694]
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x736e5bc3
imul ecx
imul ecx, ecx, 0x544
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
add esi, ebx
sub esi, ecx
mov dword [0x455698], esi
mov eax, 1
jmp 0x4065e1
inc esi
jmp 0x406310
mov edi, dword [str._r_____r____]
mov esi, dword [0x45568c]
mov eax, 0x443d7153
imul edi, edi, 0x1e03
imul esi
mov eax, dword [0x455698]
sar edx, 0xb
imul eax, eax, 0x108d
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub edi, ecx
sub edi, eax
mov dword [0x4556a0], edi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00429441
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret