Function at 0x406e50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449450
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfe0
mov eax, dword [0x45d320]
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ecx, dword [0x45b9b4]
mov ebx, dword [0x45b9c8]
mov eax, 0x92ea28a3
imul ebx, ebx, 0xde7fc
imul ecx
add edx, ecx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov edi, dword [0x45b9ac]
mov eax, 0x6352a551
imul edi
sar edx, 0x12
add ebx, edx
mov eax, edx
shr eax, 0x1f
add eax, ebx
mov ebx, eax
mov eax, 0x6352a551
imul ecx
sar edx, 0x12
add ebx, edx
mov ecx, edx
mov eax, 0x9dbc161
imul edi
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, dword [0x45b9c0]
shr ecx, 0x1f
imul esi, esi, 0x6a5ba
add ecx, ebx
sub ecx, eax
mov eax, 0x93a3ffdd
imul edi
add edx, edi
sar edx, 0x12
mov edi, edx
shr edi, 0x1f
add edi, edx
mov eax, 0x6352a551
imul dword [0x45b9c8]
sar edx, 0x12
add ecx, esi
add edi, edx
mov ebx, edx
mov eax, 0x6352a551
imul ecx
shr ebx, 0x1f
sar edx, 0x12
add ebx, edi
mov eax, edx
shr eax, 0x1f
add ebx, edx
add eax, ebx
sub eax, ecx
mov dword [str._r_____r____], ecx
lea ecx, [eax + esi + 0x3e2f3]
mov eax, dword [ebp + 8]
test eax, eax
mov dword [0x45b9ac], ecx
je 0x407479
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406f52
sub eax, edx
mov dword [ebp - 0x81c], eax
je 0x407479
mov eax, dword [ebp + 0xc]
push str.C:WINDOWS_system32driversetc_service5.ini
push 0x800
lea edx, [ebp - 0x814]
push edx
push 0x44bdb5
push eax
push str.GameType1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [0x45b9bc]
mov eax, 0x93a3ffdd
imul ecx
add edx, ecx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45b9c4]
mov ebx, eax
mov esi, dword [0x45b9c8]
mov eax, 0x6352a551
imul edx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [str._r_____r____]
imul edx, edx, 0xa4f50
sub eax, ebx
mov ebx, dword [0x45b9b8]
add eax, edx
imul ebx, ebx, 0xc0c12
mov edx, dword [0x45b9a8]
imul edx, edx, 0x6a5ba
mov edi, esi
imul edi, edi, 0x6f3fe
add edx, edi
add edx, eax
add ebx, edx
mov eax, ebx
mov ebx, dword [0x45b9c0]
lea edx, [eax + ebx - 0x53d95]
lea eax, [ebp - 0x814]
mov dword [0x45b9b4], edx
lea edx, [eax + 1]
mov dword [ebp - 0x818], edx
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x407020
sub eax, dword [ebp - 0x818]
mov dword [ebp - 0x81c], eax
je 0x40741e
mov esi, dword [0x45b9b0]
imul ebx, ebx, 0x85399
imul ecx, ecx, 0x53d95
mov eax, 0x92ea28a3
imul esi
add edx, esi
imul esi, esi, 0x67dee
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, ebx
mov dword [ebp - 0x818], eax
mov eax, 0x6352a551
imul dword [0x45b9b8]
mov eax, dword [ebp - 0x818]
sar edx, 0x12
add eax, edx
mov ebx, edx
shr ebx, 0x1f
add ebx, eax
add ebx, ecx
mov ecx, dword [0x45b9ac]
mov eax, 0x2a7feb
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [ebp - 0x814]
sub ebx, eax
push ecx
add ebx, edi
lea edx, [ebp - 0xfec]
push 0x1f4
add esi, ebx
push edx
mov dword [0x45b9bc], esi
call fcn.0040ee40
mov edi, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x818], eax
xor esi, esi
cmp esi, dword [ebp - 0x818]
jge 0x407412
mov ecx, dword [0x45b9c4]
mov ebx, dword [0x45b9c8]
mov eax, 0x92ea28a3
imul ebx, ebx, 0x6f3fe
imul ecx
add edx, ecx
mov ecx, dword [0x45b9a8]
sar edx, 0x12
imul ecx, ecx, 0x6ef8e
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
add ebx, ecx
mov ecx, dword [0x45b9b8]
mov edx, ecx
imul edx, edx, 0xa4f50
add ebx, edx
mov eax, 0x6352a551
imul ecx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45b9b4]
sub ebx, eax
mov eax, 0x6352a551
imul edx
sar edx, 0x12
mov eax, edx
add ebx, edx
shr eax, 0x1f
add eax, ebx
mov ebx, eax
mov eax, 0x9dbc161
imul ecx
sar edx, 0xe
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [ebp + esi*4 - 0xfec]
push edx
sub ebx, ecx
push edi
mov dword [0x45b9c4], ebx
call fcn.0042f890
add esp, 8
test eax, eax
je 0x40740c
mov ecx, dword [0x45b9b0]
mov ebx, dword [0x45b9a8]
mov eax, 0xf5f5c9f5
imul ecx
add edx, ecx
sar edx, 0x13
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x6352a551
imul ebx
imul ebx, ebx, 0x53d95
sar edx, 0x12
add ecx, edx
mov eax, edx
shr eax, 0x1f
add eax, ecx
mov dword [ebp + 8], eax
mov eax, 0x61b317a1
imul dword [0x45b9c4]
mov eax, dword [ebp + 8]
sar edx, 0x11
add eax, edx
mov ecx, edx
shr ecx, 0x1f
add ecx, eax
mov edi, dword [0x45b9c8]
mov eax, 0x2a7feb
imul dword [0x45b9c4]
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
add ecx, ebx
mov ebx, dword [0x45b9c0]
sub ecx, eax
mov edx, ebx
imul edx, edx, 0x67dee
sub ecx, edx
mov eax, 0x6352a551
imul edi
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp + 8], eax
mov eax, ebx
imul eax, eax, 0x6a5ba
mov esi, edi
imul esi, esi, 0x6f3fe
mov dword [ebp - 0x818], eax
add ecx, esi
mov dword [ebp - 0x81c], esi
mov esi, dword [0x45b9ac]
mov eax, 0x93a3ffdd
imul esi
add edx, esi
mov esi, dword [str._r_____r____]
sar edx, 0x12
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0x6352a551
imul esi
sar edx, 0x12
add ebx, edx
mov eax, edx
mov edx, dword [ebp - 0x818]
shr eax, 0x1f
add eax, ebx
mov ebx, dword [ebp + 8]
sub eax, esi
add eax, ebx
lea ebx, [eax + edx + 0x3e2f3]
mov eax, dword [0x55f3cc]
inc eax
cmp eax, 5
mov dword [0x45b9a8], ecx
mov dword [0x45b9ac], ebx
mov dword [0x55f3cc], eax
jg 0x407393
cmp dword [ebp + 0x10], 1
jne 0x407393
mov edx, dword [0x45b9bc]
imul esi, esi, 0x6f854
imul ecx, ecx, 0xc0c12
mov eax, 0x92ea28a3
imul edi, edi, 0xde7fc
imul edx
add edx, dword [0x45b9bc]
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x10779897
imul dword [0x45b9b0]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, dword [ebp - 0x81c]
add esi, ecx
sub esi, dword [0x45b9c4]
mov ecx, dword [ebp + 8]
add esi, eax
lea edx, [esi + ecx - 0x53d95]
mov ecx, dword [0x45b9b4]
mov dword [0x45b9b0], edx
mov eax, 0x92ea28a3
imul ecx
add edx, ecx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, 0x6352a551
imul ebx
sar edx, 0x12
mov esi, edx
add edi, edx
mov eax, 0x6352a551
imul ecx
shr esi, 0x1f
sar edx, 0x12
add esi, edi
add esi, edx
mov ecx, edx
mov eax, 0x9dbc161
imul ebx
sar edx, 0xe
shr ecx, 0x1f
mov eax, edx
add ecx, esi
mov esi, dword [ebp - 0x818]
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, dword [0x56f7a8]
add ecx, esi
mov dword [str._r_____r____], ecx
mov ecx, dword [eax]
push eax
mov dword [ebp - 4], 0
call dword [ecx + 0x30]
mov ebx, dword [0x45b9ac]
mov edi, dword [0x45b9c8]
mov eax, 0x24d17191
imul ebx, ebx, 0x6ef8e
imul edi
sar edx, 0x10
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x6352a551
imul dword [0x45b9c0]
sar edx, 0x12
add ecx, ebx
add ecx, edx
mov esi, edx
shr esi, 0x1f
add esi, ecx
mov ecx, dword [0x45b9b4]
mov eax, 0x6352a551
imul ecx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x2682f007
imul edi
mov ecx, edi
imul ecx, ecx, 0x1b669
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add eax, edx
add esi, ecx
sub esi, eax
mov dword [0x45b9b8], esi
mov eax, 1
jmp 0x40747b
inc esi
jmp 0x4070d4
mov esi, dword [0x45b9c8]
mov ecx, dword [0x45b9bc]
mov edx, dword [0x45b9ac]
imul esi, esi, 0x6f3fe
mov edi, dword [0x45b9b8]
mov eax, 0x10779897
imul edi, edi, 0x85399
imul edx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x6352a551
imul ecx
imul ecx, ecx, 0x53d95
mov eax, dword [0x45b9b4]
add esi, edi
imul eax, eax, 0x3110b
sar edx, 0x12
mov edi, edx
shr edi, 0x1f
add esi, edx
add edi, esi
sub edi, ecx
sub edi, eax
mov dword [0x45b9c0], edi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0042ec21
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret