Function at 0x406b70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444c00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfdc
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, 0x281003eb
imul edi
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, eax
mov eax, 0x9b24a0b5
imul edi
add edx, edi
mov esi, dword [0x456838]
sar edx, 0x19
imul esi, esi, 0xdc19cb
mov ecx, dword [0x456830]
mov eax, edx
imul ecx, ecx, 0x340e3f9
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45682c]
sub eax, ebx
mov ebx, eax
mov eax, 0x4eff369
imul edx
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
add ebx, esi
add ebx, ecx
mov dword [str._r_____r____], ebx
mov ebx, dword [0x456838]
mov eax, 0x9b24a0b5
imul ebx
add edx, ebx
sar edx, 0x19
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov edx, dword [0x45681c]
mov eax, 0x4eff7f81
imul edx
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add ebx, edx
add eax, ebx
sub eax, esi
sub eax, edi
lea ecx, [eax + ecx + 0x298583a]
mov eax, dword [ebp + 8]
test eax, eax
mov dword [0x45681c], ecx
je 0x40705c
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406c58
sub eax, edx
mov dword [ebp - 0x818], eax
je 0x40705c
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 edi, dword [0x456828]
mov edx, dword [0x456818]
mov eax, dword [str._r_____r____]
imul edx, edx, 0x340e3f9
mov esi, dword [0x45682c]
imul eax, eax, 0x34cd890
mov ecx, edi
imul ecx, ecx, 0x4b2efd8
add ecx, edx
add ecx, eax
mov eax, 0x4eff7f81
imul esi
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456834]
sub ecx, eax
lea ecx, [ecx + edx - 0x2b747a3]
lea eax, [ebp - 0x814]
mov dword [0x456824], ecx
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x406cf0
sub eax, ebx
mov dword [ebp - 0x818], eax
je 0x407027
mov edx, dword [0x45681c]
imul ecx, ecx, 0x2b747a3
mov esi, dword [0x456820]
mov eax, 0x6cf5c25f
imul edx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, eax
mov eax, 0x281003eb
imul esi
imul esi, esi, 0x33d9a16
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456830]
imul edx, edx, 0x1eadb5a
sub eax, edi
add eax, edx
add eax, ecx
add eax, esi
mov dword [0x45682c], eax
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0xfe8]
push 0x1f4
push ecx
call fcn.0040cb20
add esp, 0xc
mov dword [ebp - 0x818], eax
xor edi, edi
lea ecx, [ecx]
cmp edi, dword [ebp - 0x818]
jge 0x407015
mov ecx, dword [0x456834]
mov esi, dword [0x456828]
mov eax, 0x281003eb
imul ecx
mov ecx, dword [0x45681c]
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, esi
imul ebx, ebx, 0x34cd890
sub ebx, eax
mov eax, 0x9b24a0b5
imul ecx
add edx, ecx
sar edx, 0x19
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x4eff369
imul esi
sub ebx, ecx
mov ecx, dword [0x456818]
sar edx, 0x14
imul ecx, ecx, 0x33d9718
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp + edi*4 - 0xfe8]
sub ebx, eax
mov eax, dword [ebp + 8]
push edx
add ebx, ecx
push eax
mov dword [0x456834], ebx
call fcn.0042a800
add esp, 8
test eax, eax
je 0x40700f
mov esi, dword [0x456834]
mov eax, 0x6cf5c25f
imul esi
sar edx, 0x19
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edi, ecx
mov ecx, dword [0x456820]
mov eax, 0x858372bd
imul ecx
add edx, ecx
imul ecx, ecx, 0x2b747a3
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, eax
sub ebx, edi
mov eax, 0x17908a77
imul esi
mov esi, dword [0x456830]
add ebx, ecx
sar edx, 0x16
add ebx, edx
mov ecx, edx
mov edx, esi
imul esi, esi, 0x340e3f9
imul edx, edx, 0x33d9a16
shr ecx, 0x1f
add ecx, ebx
mov ebx, dword [0x456838]
sub ecx, edx
mov eax, 0x9b24a0b5
imul ebx
add edx, ebx
sar edx, 0x19
mov edi, ebx
mov ebx, edx
imul edi, edi, 0xdc19cb
shr ebx, 0x1f
add ebx, edx
mov edx, dword [0x45681c]
mov eax, 0x4eff7f81
imul edx
sar edx, 0x18
add ebx, edx
mov eax, edx
shr eax, 0x1f
add eax, ebx
mov ebx, dword [0x456824]
sub eax, edi
sub eax, ebx
lea edx, [eax + esi + 0x298583a]
mov eax, dword [0x55a22c]
inc eax
cmp eax, 5
mov dword [0x456818], ecx
mov dword [0x45681c], edx
mov dword [0x55a22c], eax
jg 0x406fa2
cmp dword [ebp + 0x10], 1
jne 0x406fa2
mov eax, 0x281003eb
imul ecx, ecx, 0x4b2efd8
imul dword [0x45682c]
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [str._r_____r____]
sub ecx, eax
imul edx, edx, 0x331ebb8
add ecx, edx
mov eax, 0x62a5c8bd
imul dword [0x456820]
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
sub ecx, dword [0x456830]
mov eax, 0x281003eb
imul ebx
sub ecx, 0x2b747a3
sar edx, 0x17
mov dword [0x456820], ecx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x9b24a0b5
imul ebx
add edx, ebx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, eax
mov eax, 0x4eff369
imul dword [0x45682c]
mov eax, dword [0x56a608]
sub ebx, ecx
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 [0x456824]
mov ecx, dword [0x456838]
mov eax, 0x2757ae75
imul ecx
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, 0x64db5f4b
imul ebx
sub edx, ebx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
imul edx, edx, 0x2b747a3
mov edi, eax
sub edi, esi
sub edi, edx
mov eax, 0x4a704a7b
imul ecx
mov eax, dword [0x45681c]
imul eax, eax, 0x33d9718
sar edx, 0x16
mov ecx, edx
shr ecx, 0x1f
add edi, edx
add ecx, edi
add ecx, eax
mov dword [0x456828], ecx
mov eax, 1
jmp 0x40705e
inc edi
jmp 0x406d80
mov ecx, dword [0x456824]
mov esi, dword [0x45682c]
mov edi, dword [0x456828]
mov edx, dword [0x45681c]
imul ecx, ecx, 0x298583a
imul esi, esi, 0x2b747a3
mov eax, 0x62a5c8bd
imul edi, edi, 0x10ec18f
imul edx
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
sub ecx, esi
add ecx, edi
mov dword [0x456830], ecx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0042a3c1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret