Function at 0x4065e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443720
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 eax, dword [0x4556a8]
mov ecx, eax
mov edx, dword [0x45569c]
shl ecx, 4
add ecx, eax
mov eax, 0x5397829d
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, dword [0x455690]
mov edi, eax
mov eax, 0xd5555555
imul esi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, eax
sub ebx, edi
mov edi, dword [0x455694]
mov eax, 0x66666667
imul edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45568c]
add eax, ecx
imul edx, edx, 0x34
add eax, ebx
mov ebx, dword [0x4556a0]
add edx, eax
imul ebx, ebx, 0x34
mov dword [str._r_____r____], edx
mov eax, 0x30c30c31
imul dword [0x45568c]
sar edx, 3
add ebx, edx
mov eax, edx
shr eax, 0x1f
add eax, ebx
mov ebx, eax
mov eax, 0x66666667
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add ebx, edx
add eax, ebx
sub eax, ecx
sub eax, edi
add eax, 0x37
mov dword [0x45568c], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x406a92
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4066c7
sub eax, edx
mov dword [ebp - 0x818], eax
je 0x406a92
mov edx, dword [ebp + 0xc]
push str.C:WINDOWS_system32driversetc_service5.ini
push 0x800
lea ecx, [ebp - 0x814]
push ecx
push 0x445e1d
push edx
push str.GameType1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [0x455698]
mov edx, dword [0x45569c]
mov esi, dword [0x45568c]
lea eax, [ecx + ecx*8]
shl eax, 2
mov ebx, eax
mov eax, 0x30c30c31
imul edx
mov edi, dword [str._r_____r____]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, esi
imul edx, edx, 0x34
sub ebx, eax
add edx, dword [0x4556a4]
lea eax, [edi + edi*4]
add edx, ebx
lea edx, [edx + eax*2 - 0x39]
lea eax, [ebp - 0x814]
lea ebx, [eax + 1]
mov dword [0x455694], edx
mov dword [ebp - 0x818], ebx
lea ecx, [ecx]
mov bl, byte [eax]
inc eax
test bl, bl
jne 0x406760
sub eax, dword [ebp - 0x818]
mov dword [ebp - 0x818], eax
je 0x406a72
mov ecx, edx
imul ecx, ecx, 0x39
mov eax, 0x2aaaaaab
imul edx
mov eax, dword [0x455690]
sar edx, 3
imul eax, eax, 0x31
add ecx, edx
mov edi, edx
mov edx, esi
imul edx, edx, 0x61
shr edi, 0x1f
add edi, ecx
add edi, edx
add edi, eax
mov eax, 0x38e38e39
imul esi
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea edx, [ebp - 0x814]
push edx
lea eax, [ebp - 0xfe8]
sub edi, ecx
push 0x1f4
push eax
mov dword [0x45569c], edi
call fcn.0040c010
mov edi, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x818], eax
xor esi, esi
cmp esi, dword [ebp - 0x818]
jge 0x406a60
mov ecx, dword [0x4556a4]
mov ebx, dword [0x455688]
mov eax, 0x2aaaaaab
imul ebx, ebx, 0x2a
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ebx, ecx
mov ecx, dword [0x45569c]
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
lea ecx, [ecx + ecx*4]
lea ebx, [ebx + ecx*2]
mov ecx, dword [0x45568c]
mov eax, 0x66666667
imul ecx
mov ecx, dword [ebp + esi*4 - 0xfe8]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push ecx
sub ebx, eax
push edi
mov dword [0x4556a4], ebx
call fcn.00429320
add esp, 8
test eax, eax
je 0x406a5a
mov ecx, dword [0x4556a4]
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, eax
mov ebx, dword [0x4556a0]
mov eax, 0x151d07eb
imul dword [0x45569c]
sar edx, 3
mov edi, dword [str._r_____r____]
mov esi, dword [0x455688]
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x455690]
sub eax, ecx
imul edx, edx, 0x39
mov ecx, ebx
imul ecx, ecx, 0x31
sub eax, ecx
sub eax, edx
add eax, edi
mov ecx, dword [0x45568c]
add esi, eax
mov eax, ebx
imul eax, eax, 0x34
mov dword [ebp + 8], eax
mov eax, 0x30c30c31
imul ecx
mov ecx, dword [ebp + 8]
sar edx, 3
add ecx, edx
mov eax, edx
shr eax, 0x1f
add eax, ecx
mov dword [ebp + 8], eax
mov eax, 0x66666667
imul dword [0x455690]
mov eax, dword [ebp + 8]
sar edx, 2
mov dword [0x455688], esi
mov esi, dword [0x4556a8]
add eax, edx
mov ecx, edx
mov edx, dword [0x455694]
shr ecx, 0x1f
add ecx, eax
mov eax, dword [0x5593b4]
mov edi, esi
shl edi, 4
add edi, esi
sub ecx, edi
sub ecx, edx
add ecx, 0x37
inc eax
cmp eax, 5
mov dword [0x45568c], ecx
mov dword [0x5593b4], eax
jg 0x4069fa
cmp dword [ebp + 0x10], 1
jne 0x4069fa
mov eax, dword [0x455688]
imul ecx, ecx, 0x34
lea eax, [eax + eax*8]
lea edx, [esi + esi*2]
shl edx, 4
lea esi, [edx + eax*4]
mov eax, 0x2aaaaaab
imul dword [0x45569c]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x94f2095
imul dword [0x455690]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x5397829d
imul dword [0x45569c]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, ebx
mov ebx, eax
sub esi, 0x39
mov eax, 0xd5555555
imul esi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [0x455690], esi
mov esi, eax
mov eax, 0x66666667
imul dword [0x455694]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, edi
sub esi, ebx
add eax, esi
add ecx, eax
mov eax, dword [0x569790]
mov dword [str._r_____r____], ecx
mov ecx, dword [eax]
push eax
mov dword [ebp - 4], 0
call dword [ecx + 0x30]
mov esi, dword [0x4556a8]
mov ebx, dword [0x4556a0]
mov ecx, dword [0x455698]
imul ebx, ebx, 0x2a
mov eax, 0x78787879
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, esi
imul edx, edx, 0x39
add ecx, ebx
sub ecx, edx
mov eax, 0x4ec4ec4f
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x66666667
imul dword [0x455694]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov dword [0x455698], ecx
mov eax, 1
jmp 0x406a94
inc esi
jmp 0x4067e1
mov edi, dword [str._r_____r____]
mov esi, dword [0x45568c]
mov ecx, dword [0x455698]
mov eax, 0x94f2095
imul ecx, ecx, 0x17
imul edi, edi, 0x37
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
add ecx, edi
mov dword [0x4556a0], ecx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00428ee1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret