Function at 0x405ee0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444590
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 eax, 0x1315e2c9
imul dword [0x456824]
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, eax
mov eax, 0x637bce79
imul dword [0x456824]
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x3b50a35b
imul dword [0x45681c]
sar edx, 0x11
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov ebx, dword [0x456838]
mov eax, 0x1315e2c9
imul ebx
sar edx, 0x10
mov esi, ebx
mov ebx, edx
imul esi, esi, 0x8cc35
shr ebx, 0x1f
add ebx, edx
mov eax, 0x3d63c959
imul dword [0x45681c]
mov edi, dword [0x456830]
imul edi, edi, 0x6a41a
sar edx, 0x11
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 + 0x6a5e7]
mov dword [0x45681c], ecx
je 0x4063aa
mov eax, ebx
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405fc0
sub eax, edx
mov dword [ebp + 8], eax
je 0x4063aa
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 ecx, dword [0x45682c]
mov esi, dword [str._r_____r____]
mov edi, dword [0x456830]
imul esi, esi, 0xd69d0
mov eax, 0x3d63c959
imul ecx
sar edx, 0x11
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456828]
sub esi, eax
imul edx, edx, 0x23d2f
mov eax, dword [0x456818]
imul eax, eax, 0x6a41a
add edx, edi
add edx, esi
lea esi, [eax + edx - 0xd5bac]
lea eax, [ebp - 0x814]
lea edx, [eax + 1]
mov dword [0x456824], esi
mov dword [ebp + 8], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x406056
sub eax, dword [ebp + 8]
mov dword [ebp + 8], eax
je 0x406370
mov esi, dword [0x456820]
imul ecx, ecx, 0xd5bac
imul edi, edi, 0x58c2a
mov eax, 0x637bce79
imul esi
imul esi, esi, 0x8a1c3
sar edx, 0x12
add ecx, edx
mov eax, edx
shr eax, 0x1f
add eax, ecx
mov ecx, dword [0x45681c]
mov dword [ebp + 8], eax
mov eax, 0x72563b0d
imul ecx
mov ecx, dword [ebp + 8]
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
add ecx, esi
add ecx, edi
mov dword [0x45682c], ecx
lea ecx, [ebp - 0x814]
push ecx
lea edx, [ebp - 0xfe4]
push 0x1f4
push edx
call fcn.0040c7e0
add esp, 0xc
mov dword [ebp + 8], eax
xor esi, esi
lea ecx, [ecx]
cmp esi, dword [ebp + 8]
jge 0x406364
mov ecx, dword [0x456828]
mov eax, 0x1315e2c9
imul ecx
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456818]
mov edi, ecx
imul edx, edx, 0x85714
imul edi, edi, 0xd69d0
sub edi, eax
add edi, edx
mov edx, dword [0x456834]
mov eax, 0x637bce79
imul edx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, 0x3b50a35b
imul ecx
sar edx, 0x11
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [ebp + esi*4 - 0xfe4]
push edx
sub edi, ecx
push ebx
mov dword [0x456834], edi
call fcn.0042a9d0
add esp, 8
test eax, eax
je 0x40635e
mov ecx, dword [0x456834]
mov eax, 0x4ca85b91
imul ecx
mov eax, dword [0x456818]
imul eax, eax, 0xd5bac
sar edx, 0x12
mov edi, edx
mov ebx, dword [0x456830]
shr edi, 0x1f
add edi, edx
add edi, eax
mov eax, 0x72563b0d
imul ecx
sar edx, 0x10
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, ebx
imul ebx, ebx, 0x6a41a
imul edx, edx, 0x8a1c3
sub edi, ecx
mov ecx, dword [0x456838]
sub edi, edx
mov eax, 0x2e259371
imul dword [0x456820]
sar edx, 0x10
add edi, edx
mov esi, edx
mov eax, 0x1315e2c9
imul ecx
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp + 8], eax
shr esi, 0x1f
add esi, edi
mov edi, ecx
mov ecx, dword [0x45681c]
imul edi, edi, 0x8cc35
mov eax, 0x3d63c959
imul ecx
mov ecx, dword [ebp + 8]
sar edx, 0x11
add ecx, edx
mov eax, edx
shr eax, 0x1f
add eax, ecx
mov ecx, dword [str._r_____r____]
sub eax, edi
sub eax, ecx
lea edx, [eax + ebx + 0x6a5e7]
mov eax, dword [0x55a22c]
inc eax
cmp eax, 5
mov dword [0x456818], esi
mov dword [0x45681c], edx
mov dword [0x55a22c], eax
jg 0x4062f1
cmp dword [ebp + 0x10], 1
jne 0x4062f1
mov edx, dword [0x45682c]
imul ecx, ecx, 0xa4b0c
imul esi, esi, 0x23d2f
mov eax, 0x637bce79
imul edx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x2681eb59
imul dword [0x456820]
add ecx, esi
mov esi, dword [0x456834]
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
sub ecx, esi
sub ecx, 0xd5bac
mov dword [0x456820], ecx
mov ecx, dword [0x456824]
mov eax, 0x1315e2c9
imul ecx
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, 0x637bce79
imul ecx
sar edx, 0x12
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x3b50a35b
imul dword [0x45681c]
sar edx, 0x11
mov eax, edx
sub esi, ecx
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 [0x456824]
mov eax, 0x1315e2c9
imul ecx
mov ecx, dword [0x456838]
mov esi, ecx
sar edx, 0x10
imul esi, esi, 0xfff2a454
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, dword [0x45681c]
imul eax, eax, 0x85714
add esi, eax
mov eax, 0x7464ef13
imul ecx
sar edx, 0x12
add esi, edx
mov edi, edx
mov eax, 0x4d18b8d9
imul ecx
sar edx, 0x11
mov ecx, edx
shr edi, 0x1f
shr ecx, 0x1f
add edi, esi
add ecx, edx
sub edi, ecx
mov dword [0x456828], edi
mov eax, 1
jmp 0x4063ac
inc esi
jmp 0x4060e0
mov esi, dword [0x456824]
mov ecx, dword [0x45682c]
imul ecx, ecx, 0xd5bac
imul esi, esi, 0xfffdd9b2
sub esi, ecx
mov ecx, dword [0x45681c]
mov eax, 0x2681eb59
imul ecx
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, dword [0x456828]
imul eax, eax, 0x58c2a
add 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.00429d61
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret