Function at 0x406a80
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4449a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfd8
mov eax, dword [0x458190]
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, dword [0x456824]
mov eax, 0x606c8017
imul edi
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45682c]
mov ebx, eax
mov eax, 0xc4570565
imul edx
add edx, dword [0x45682c]
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov esi, dword [0x456830]
mov ecx, dword [0x456838]
imul esi, esi, 0x53af19
mov eax, 0x329dfa79
imul ecx, ecx, 0x15bc8b
imul edi
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0x606c8017
imul dword [0x456838]
add ebx, esi
add ebx, ecx
sar edx, 0x15
mov dword [str._r_____r____], ebx
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov edx, dword [0x45681c]
mov eax, 0x622f07f9
imul edx
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add ebx, edx
add eax, ebx
sub eax, ecx
sub eax, edi
mov edi, dword [ebp + 8]
test edi, edi
lea ecx, [eax + esi + 0x42333a]
mov dword [0x45681c], ecx
je 0x406f63
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406b68
sub eax, edx
mov dword [ebp + 8], eax
je 0x406f63
mov eax, dword [ebp + 0xc]
push str.C:WINDOWS_system32driversetc_service5.ini
push 0x800
lea edx, [ebp - 0x814]
push edx
push 0x446e1d
push eax
push str.GameType1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [0x45682c]
mov ecx, dword [str._r_____r____]
mov eax, 0x622f07f9
imul ecx, ecx, 0x54f550
imul esi
mov ebx, dword [0x456828]
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456818]
imul edx, edx, 0x53af19
sub ecx, eax
add edx, dword [0x456834]
mov eax, ebx
imul eax, eax, 0x779018
add edx, ecx
lea ecx, [eax + edx - 0x45ab63]
lea eax, [ebp - 0x814]
lea edx, [eax + 1]
mov dword [0x456824], ecx
mov dword [ebp + 8], edx
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x406c00
sub eax, dword [ebp + 8]
mov dword [ebp + 8], eax
je 0x406f2e
mov edx, dword [0x456820]
imul ecx, ecx, 0x45ab63
mov esi, edx
mov eax, 0x329dfa79
imul esi, esi, 0x537276
imul edx
mov eax, dword [0x456830]
imul eax, eax, 0x31e0ba
sar edx, 0x14
mov ebx, edx
add esi, edx
shr ebx, 0x1f
add ebx, esi
add ebx, eax
add ebx, ecx
mov ecx, dword [0x45681c]
mov eax, 0x224214b1
imul ecx
sar edx, 0x14
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea edx, [ebp - 0x814]
push edx
lea eax, [ebp - 0xfe4]
sub ebx, ecx
push 0x1f4
push eax
mov dword [0x45682c], ebx
call fcn.0040c960
add esp, 0xc
mov dword [ebp + 8], eax
xor esi, esi
jmp 0x406c90
cmp esi, dword [ebp + 8]
jge 0x406f1c
mov edx, dword [0x45681c]
mov ecx, dword [0x456828]
mov eax, 0x606c8017
imul edx
mov ebx, ecx
sar edx, 0x15
imul ebx, ebx, 0x54f550
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0xc4570565
imul ecx
add edx, ecx
sar edx, 0x16
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x456818]
imul edx, edx, 0x536f78
sub ebx, ecx
mov ecx, dword [0x456834]
add ebx, edx
mov eax, 0x329dfa79
imul ecx
mov ecx, dword [ebp + esi*4 - 0xfe4]
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add eax, edx
push ecx
sub ebx, eax
push edi
mov dword [0x456834], ebx
call fcn.0042a5a0
add esp, 8
test eax, eax
je 0x406f16
mov ecx, dword [0x456820]
mov edi, dword [0x456830]
mov eax, 0x521ee247
imul ecx
imul ecx, ecx, 0x45ab63
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, eax
mov esi, edi
imul edi, edi, 0x53af19
imul esi, esi, 0x537276
sub ebx, esi
mov esi, dword [0x456834]
mov eax, 0x759571eb
imul esi
add ebx, ecx
sar edx, 0x15
add ebx, edx
mov ecx, edx
mov eax, 0x224214b1
imul esi
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456838]
shr ecx, 0x1f
add ecx, ebx
sub ecx, eax
mov esi, edx
mov eax, 0x606c8017
imul esi, esi, 0x15bc8b
imul edx
sar edx, 0x15
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov edx, dword [0x45681c]
mov eax, 0x622f07f9
imul edx
sar edx, 0x15
add ebx, edx
mov eax, edx
shr eax, 0x1f
add eax, ebx
mov ebx, dword [0x456824]
sub eax, esi
sub eax, ebx
lea ebx, [eax + edi + 0x42333a]
mov eax, dword [0x55a22c]
inc eax
cmp eax, 5
mov dword [0x456818], ecx
mov dword [0x45681c], ebx
mov dword [0x55a22c], eax
jg 0x406eb2
cmp dword [ebp + 0x10], 1
jne 0x406eb2
mov ebx, dword [str._r_____r____]
imul ecx, ecx, 0x779018
mov eax, 0x329dfa79
imul ebx, ebx, 0x50ebd8
imul dword [0x45682c]
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0x1eefbef3
imul dword [0x456820]
sar edx, 0x13
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456830]
sub ebx, eax
add ebx, ecx
mov ecx, dword [0x456824]
sub ebx, edx
mov eax, 0x606c8017
imul ecx
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, 0x45ab63
mov dword [0x456820], ebx
mov ebx, eax
mov eax, 0xc4570565
imul dword [0x45682c]
add edx, dword [0x45682c]
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0x329dfa79
imul ecx
mov eax, dword [0x56a608]
sar edx, 0x14
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ebx, ecx
add ebx, edi
add ebx, esi
mov dword [str._r_____r____], ebx
mov edx, dword [eax]
push eax
mov dword [ebp - 4], 0
call dword [edx + 0x30]
mov ebx, dword [0x45681c]
mov ecx, dword [0x456838]
imul ebx, ebx, 0x536f78
mov eax, 0x606c8017
imul dword [0x456824]
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0xbc70579
imul ecx
sar edx, 0x10
add ebx, 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 eax, edx
add esi, ebx
sub esi, eax
sub esi, ecx
mov dword [0x456828], esi
mov eax, 1
jmp 0x406f65
inc esi
jmp 0x406c90
mov ecx, dword [0x456824]
mov esi, dword [0x45682c]
mov ebx, dword [0x456828]
mov edx, dword [0x45681c]
imul ecx, ecx, 0x42333a
imul esi, esi, 0x45ab63
mov eax, 0x1eefbef3
imul ebx, ebx, 0x1c242f
imul edx
sar edx, 0x13
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
sub ecx, esi
add ecx, ebx
mov dword [0x456830], ecx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0042a161
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret