Function at 0x405fd0
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 ecx, dword [0x456824]
mov eax, 0x7f3171f
imul ecx
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, eax
mov eax, 0x61bc1a5d
imul ecx
sar edx, 0x19
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ecx, ebx
mov ebx, dword [0x45681c]
mov eax, 0x979d1eb7
imul ebx
add edx, ebx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x13a45601
imul ebx
sar edx, 0x16
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0x61bc1a5d
imul dword [0x456838]
mov esi, dword [0x456838]
imul esi, esi, 0x372f5c1
mov edi, dword [0x456830]
imul edi, edi, 0x293deaa
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add ebx, edx
add eax, ebx
mov ebx, dword [ebp + 8]
add ecx, edi
add ecx, esi
sub eax, esi
sub eax, ecx
test ebx, ebx
mov dword [str._r_____r____], ecx
lea ecx, [eax + edi + 0x294039f]
mov dword [0x45681c], ecx
je 0x4064b9
mov eax, ebx
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4060b0
sub eax, edx
mov dword [ebp + 8], eax
je 0x4064b9
mov eax, dword [ebp + 0xc]
push str.C:WINDOWS_system32driversetc_service5.ini
push 0x800
lea edx, [ebp - 0x814]
push edx
push 0x446e15
push eax
push str.GameType1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [0x456828]
mov eax, dword [0x456818]
imul eax, eax, 0x293deaa
mov ecx, esi
imul ecx, ecx, 0xde454f
add eax, ecx
mov ecx, dword [0x45682c]
mov dword [ebp + 8], eax
mov eax, 0x13a45601
imul ecx
mov edi, dword [0x456830]
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp + 8]
sub edx, eax
mov eax, dword [str._r_____r____]
imul eax, eax, 0x53d1950
add edx, edi
lea edx, [eax + edx - 0x5305094]
lea eax, [ebp - 0x814]
mov dword [0x456824], edx
lea edx, [eax + 1]
mov dword [ebp + 8], edx
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x406150
sub eax, dword [ebp + 8]
mov dword [ebp + 8], eax
je 0x40647f
mov esi, dword [0x456820]
imul ecx, ecx, 0x5305094
imul edi, edi, 0x22d753a
mov eax, 0x7f3171f
imul esi
imul esi, esi, 0x360833b
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, edi
add eax, ecx
mov ecx, dword [0x45681c]
mov dword [ebp + 8], eax
mov eax, 0x936c7f27
imul ecx
add edx, ecx
mov ecx, dword [ebp + 8]
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
add ecx, esi
mov dword [0x45682c], ecx
lea ecx, [ebp - 0x814]
push ecx
lea edx, [ebp - 0xfe4]
push 0x1f4
push edx
call fcn.0040c9f0
add esp, 0xc
mov dword [ebp + 8], eax
xor esi, esi
lea esp, [esp]
cmp esi, dword [ebp + 8]
jge 0x406473
mov ecx, dword [0x456834]
mov edi, dword [0x456818]
mov eax, 0x7f3171f
imul edi, edi, 0x3422234
imul ecx
mov ecx, dword [0x456828]
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, 0x61bc1a5d
imul ecx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
imul edx, edx, 0x53d1950
sub edi, eax
add edi, edx
mov eax, 0x979d1eb7
imul ecx
add edx, ecx
mov ecx, dword [ebp + esi*4 - 0xfe4]
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
push ecx
sub edi, eax
push ebx
mov dword [0x456834], edi
call fcn.0042ade0
add esp, 8
test eax, eax
je 0x40646d
mov esi, dword [0x456834]
mov eax, 0x3ac7f767
imul dword [0x456820]
sar edx, 0x17
mov edi, edx
shr edi, 0x1f
add edi, edx
mov eax, 0x62ace781
imul esi
sar edx, 0x19
add edi, edx
mov ecx, edx
mov edx, dword [0x456818]
imul edx, edx, 0x5305094
mov ebx, dword [0x456830]
shr ecx, 0x1f
add ecx, edi
add ecx, edx
mov eax, 0x936c7f27
imul esi
add edx, esi
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov edx, ebx
imul ebx, ebx, 0x293deaa
imul edx, edx, 0x360833b
mov esi, dword [0x456838]
sub ecx, edx
mov edx, dword [0x45681c]
mov eax, 0x13a45601
imul edx
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp + 8], eax
mov eax, 0x61bc1a5d
imul esi
mov edi, esi
mov esi, dword [ebp + 8]
imul edi, edi, 0x372f5c1
sar edx, 0x19
add esi, edx
mov eax, edx
shr eax, 0x1f
add eax, esi
mov esi, dword [str._r_____r____]
sub eax, edi
sub eax, esi
lea edx, [eax + ebx + 0x294039f]
mov eax, dword [0x55a22c]
inc eax
cmp eax, 5
mov dword [0x456818], ecx
mov dword [0x45681c], edx
mov dword [0x55a22c], eax
jg 0x4063fe
cmp dword [ebp + 0x10], 1
jne 0x4063fe
mov edx, dword [0x45682c]
imul esi, esi, 0x4067eec
imul ecx, ecx, 0xde454f
mov eax, 0x7f3171f
imul edx
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
add esi, ecx
mov eax, 0x31a5bd5f
imul dword [0x456820]
sar edx, 0x17
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x456834]
sub esi, ecx
mov ecx, dword [0x456824]
sub esi, edx
mov eax, 0x7f3171f
imul ecx
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, 0x5305094
mov dword [0x456820], esi
mov esi, eax
mov eax, 0x61bc1a5d
imul ecx
sar edx, 0x19
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, ecx
mov ecx, dword [0x45681c]
sub eax, esi
mov esi, eax
mov eax, 0x979d1eb7
imul ecx
add edx, ecx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, dword [0x56a608]
add esi, ebx
add esi, edi
mov dword [str._r_____r____], esi
mov ecx, dword [eax]
push eax
mov dword [ebp - 4], 0
call dword [ecx + 0x30]
mov ecx, dword [0x456838]
mov eax, 0x94723637
imul ecx
add edx, ecx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, 0x63510a67
imul ecx
imul ecx, ecx, 0x5305094
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, dword [0x45681c]
imul eax, eax, 0x3422234
sub esi, ecx
mov ecx, dword [0x456824]
add esi, eax
mov eax, 0x61bc1a5d
imul ecx
sar edx, 0x19
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub esi, ecx
mov dword [0x456828], esi
mov eax, 1
jmp 0x4064bb
inc esi
jmp 0x4061e0
mov ecx, dword [0x45682c]
mov esi, dword [0x456828]
mov eax, dword [0x456824]
imul esi, esi, 0x22d753a
imul ecx, ecx, 0x5305094
imul eax, eax, 0xdef222
sub esi, eax
sub esi, ecx
mov ecx, dword [0x45681c]
mov eax, 0x31a5bd5f
imul ecx
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov dword [0x456830], esi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0042a171
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret