Function at 0x406ce0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447740
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfdc
mov eax, dword [0x45b4b0]
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ebx, dword [0x459b44]
mov esi, dword [0x459b58]
mov eax, 0x5e407cd
imul esi, esi, 0x171ed6e
imul ebx
sar edx, 0x14
mov edi, dword [0x459b3c]
mov ecx, edx
mov eax, edi
imul eax, eax, 0x1a0fa8c
shr ecx, 0x1f
add ecx, edx
add eax, ecx
add esi, eax
mov eax, 0x702fe9a3
imul ebx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, dword [0x459b50]
shl esi, 1
imul ebx, ebx, 0x1a0fa8c
sub esi, eax
mov eax, 0x565ef47
imul edi
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x545b9e19
imul edi
mov eax, dword [ebp + 8]
sar edx, 0x17
add ebx, ecx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea edx, [ecx + ebx*2 + 0x3409364]
sub edx, esi
test eax, eax
mov dword [str._r_____r____], esi
mov dword [0x459b3c], edx
je 0x407243
lea edx, [eax + 1]
jmp 0x406db0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406db0
sub eax, edx
mov dword [ebp - 0x818], eax
je 0x407243
mov ecx, dword [ebp + 0xc]
push str.C:_WINDOWS_system32driversetc_service5.ini
push 0x800
lea eax, [ebp - 0x814]
push eax
push 0x449e59
push ecx
push str.GameType1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [0x459b4c]
mov eax, 0x545b9e19
imul ecx
sar edx, 0x17
mov esi, dword [0x459b58]
mov eax, edx
imul esi, esi, 0x171ed6e
mov edi, ecx
imul edi, edi, 0x341f518
shr eax, 0x1f
add eax, edx
mov edx, dword [0x459b44]
mov ebx, dword [0x459b48]
sub edi, eax
imul ebx, ebx, 0xd0a84b
mov eax, 0x5e407cd
imul edx
sar edx, 0x14
add edi, edx
mov eax, edx
mov edx, dword [str._r_____r____]
imul edx, edx, 0x2b75400
shr eax, 0x1f
add eax, edi
mov edi, dword [0x459b50]
add edx, esi
add edx, eax
add ebx, edx
lea edx, [ebx + edi - 0x53d33c3]
lea eax, [ebp - 0x814]
lea ebx, [eax + 1]
mov dword [0x459b44], edx
mov dword [ebp - 0x818], ebx
mov bl, byte [eax]
inc eax
test bl, bl
jne 0x406e70
sub eax, dword [ebp - 0x818]
mov dword [ebp - 0x818], eax
je 0x4071e3
mov eax, 0x5e407cd
imul ecx, ecx, 0x53d33c3
imul edi, edi, 0x185d014
imul edx
sar edx, 0x14
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov edx, dword [0x459b54]
mov eax, 0x702fe9a3
imul edx
sar edx, 0x19
add ebx, edx
mov eax, edx
shr eax, 0x1f
add eax, ebx
add eax, edi
add eax, ecx
mov ecx, dword [0x459b40]
imul ecx, ecx, 0xbdb188
add eax, ecx
mov ecx, dword [0x459b3c]
mov ebx, eax
mov eax, 0x2742b221
imul ecx
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [ebp - 0x814]
push ecx
sub ebx, eax
lea edx, [ebp - 0xfe8]
push 0x1f4
add ebx, esi
push edx
mov dword [0x459b4c], ebx
call fcn.0040e230
mov edi, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x818], eax
xor esi, esi
lea ebx, [ebx]
cmp esi, dword [ebp - 0x818]
jge 0x4071d7
mov ebx, dword [0x459b38]
mov eax, dword [0x459b58]
imul ebx, ebx, 0x18470b7
mov ecx, dword [0x459b44]
imul eax, eax, 0x171ed6e
add ebx, eax
mov eax, 0x5e407cd
imul ecx
mov ecx, dword [str._r_____r____]
sar edx, 0x14
imul ecx, ecx, 0x2b75400
add ebx, edx
mov eax, edx
shr eax, 0x1f
add eax, ebx
add eax, ecx
mov ecx, dword [0x459b54]
mov ebx, eax
mov eax, 0x702fe9a3
imul ecx
mov ecx, dword [0x459b48]
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0x5e407cd
imul ecx
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0x565ef47
imul ecx
sar edx, 0x12
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [ebp + esi*4 - 0xfe8]
push edx
sub ebx, ecx
push edi
mov dword [0x459b54], ebx
call fcn.0042db80
add esp, 8
test eax, eax
je 0x4071d1
mov edi, dword [0x459b58]
mov ecx, dword [0x459b40]
imul edi, edi, 0x171ed6e
mov eax, 0x5e407cd
imul dword [0x459b44]
sar edx, 0x14
mov esi, edx
shr esi, 0x1f
add esi, edx
lea eax, [esi + edi]
mov dword [ebp + 8], eax
mov eax, 0x540f9495
imul ecx
sar edx, 0x17
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov edx, dword [0x459b38]
imul edx, edx, 0x53d33c3
add ebx, edx
mov eax, 0x186e8b3d
imul ecx
sar edx, 0x17
add ebx, edx
mov ecx, edx
shr ecx, 0x1f
add ecx, ebx
mov ebx, dword [0x459b50]
mov eax, ebx
imul ebx, ebx, 0x1a0fa8c
imul eax, eax, 0xbdb188
sub ecx, eax
mov eax, 0x2742b221
imul dword [0x459b54]
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x459b3c]
sub ecx, eax
add ecx, dword [ebp + 8]
mov eax, 0x545b9e19
imul edx
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [str._r_____r____]
add ebx, esi
lea eax, [eax + ebx*2 + 0x3409364]
sub eax, edx
mov dword [0x459b3c], eax
mov eax, dword [0x55d54c]
inc eax
cmp eax, 5
mov dword [0x459b38], ecx
mov dword [0x55d54c], eax
jg 0x407165
cmp dword [ebp + 0x10], 1
jne 0x407165
mov edx, dword [0x459b4c]
imul ecx, ecx, 0xd0a84b
mov ebx, dword [0x459b48]
mov eax, 0x702fe9a3
imul ebx, ebx, 0x4905557
imul edx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0x4eb6fa85
imul dword [0x459b40]
mov eax, dword [0x459b54]
add ebx, ecx
sar edx, 0x18
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ebx, ecx
mov ecx, dword [0x459b3c]
sub ebx, eax
lea eax, [esi + edi]
lea edx, [ebx + eax - 0x53d33c3]
mov eax, ecx
imul eax, eax, 0x1a0fa8c
add eax, esi
add eax, edi
shl eax, 1
mov esi, eax
mov dword [0x459b40], edx
mov eax, 0x702fe9a3
imul dword [0x459b44]
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x565ef47
imul ecx
mov eax, dword [0x56d928]
sar edx, 0x12
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub esi, ecx
mov dword [str._r_____r____], esi
mov edx, dword [eax]
push eax
mov dword [ebp - 4], 0
call dword [edx + 0x30]
mov ecx, dword [0x459b58]
mov esi, dword [0x459b50]
mov eax, 0x5e407cd
imul esi, esi, 0x18470b7
imul dword [0x459b44]
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp + 8], eax
mov eax, 0x9d2b2fed
imul ecx
add edx, ecx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x58945bfd
imul ecx
imul ecx, ecx, 0x3cb4655
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add esi, edx
add eax, esi
sub eax, ecx
mov dword [0x459b48], eax
mov eax, 1
jmp 0x407245
inc esi
jmp 0x406f20
mov edx, dword [0x459b44]
mov ecx, dword [0x459b4c]
mov edi, dword [0x459b48]
imul ecx, ecx, 0x53d33c3
mov ebx, edx
imul edi, edi, 0x185d014
mov eax, 0x5e407cd
imul ebx, ebx, 0x171ed6e
imul edx
mov esi, dword [0x459b58]
sar edx, 0x14
imul esi, esi, 0x4b280d2
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, ebx
add eax, edi
sub eax, ecx
mov ecx, dword [0x459b3c]
mov ebx, eax
mov eax, 0x4eb6fa85
imul ecx
sar edx, 0x18
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ebx, ecx
add ebx, esi
mov dword [0x459b50], ebx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0042cf11
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret