Function at 0x406200
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443a40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfdc
mov eax, dword [0x456fc0]
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, dword [0x455690]
mov eax, 0x709ad4e5
imul esi
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45569c]
mov edi, eax
mov ecx, dword [0x4556a8]
mov eax, 0xc2c05bdf
imul ecx, ecx, 0x12b
imul edx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, eax
sub ebx, edi
mov edi, dword [0x45568c]
mov eax, 0xe070381d
imul edi, edi, 0x217
imul dword [0x455694]
add edx, dword [0x455694]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
add edi, ecx
add edi, ebx
mov ebx, dword [0x4556a0]
add eax, edi
imul ebx, ebx, 0x217
mov edi, dword [0x45568c]
mov dword [str._r_____r____], eax
mov eax, 0xc3a13de7
imul edi
add edx, edi
sar edx, 8
add ebx, edx
mov edi, edx
mov eax, 0xe070381d
imul esi
add edx, esi
sar edx, 7
shr edi, 0x1f
add edi, ebx
mov ebx, dword [ebp + 8]
mov eax, edx
shr eax, 0x1f
add edi, edx
mov edx, dword [0x455694]
add eax, edi
sub eax, ecx
sub eax, edx
add eax, 0x1d3
test ebx, ebx
mov dword [0x45568c], eax
je 0x406710
mov eax, ebx
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406300
sub eax, edx
mov dword [ebp + 8], eax
je 0x406710
mov edx, dword [ebp + 0xc]
push str.C:WINDOWS_system32driversetc_service5.ini
push 0x800
lea ecx, [ebp - 0x814]
push ecx
push 0x445dd9
push edx
push str.GameType1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [0x45568c]
mov eax, dword [0x455698]
imul eax, eax, 0x1ed
mov ecx, esi
imul ecx, ecx, 0x217
add eax, ecx
mov ecx, dword [0x45569c]
mov edi, dword [str._r_____r____]
mov dword [ebp + 8], eax
mov eax, 0xc3a13de7
imul ecx
add edx, ecx
mov ecx, dword [ebp + 8]
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, edi
imul edx, edx, 0x92
sub ecx, eax
add ecx, dword [0x4556a4]
lea ecx, [edx + ecx - 0xb8]
lea eax, [ebp - 0x814]
lea edx, [eax + 1]
mov dword [0x455694], ecx
mov dword [ebp + 8], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4063a0
sub eax, dword [ebp + 8]
mov dword [ebp + 8], eax
je 0x4066e5
mov eax, 0x709ad4e5
imul ecx
imul ecx, ecx, 0xb8
sar edx, 8
mov edi, edx
shr edi, 0x1f
add edi, edx
mov edx, dword [0x455690]
mov eax, esi
imul edx, edx, 0x217
imul eax, eax, 0x23c
add edi, eax
add edi, edx
mov eax, 0x42776e9b
imul esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
add edi, ecx
lea ecx, [ebp - 0x814]
push ecx
lea edx, [ebp - 0xfe8]
push 0x1f4
push edx
mov dword [0x45569c], edi
call fcn.0040c150
add esp, 0xc
mov dword [ebp + 8], eax
xor esi, esi
lea ecx, [ecx]
cmp esi, dword [ebp + 8]
jge 0x4066d9
mov ecx, dword [0x4556a4]
mov eax, 0x709ad4e5
imul ecx
mov ecx, dword [0x45569c]
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, eax
mov eax, 0xc2c05bdf
imul ecx
imul ecx, ecx, 0x92
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x455688]
imul edx, edx, 0x14f
sub eax, edi
add eax, edx
add eax, ecx
mov ecx, dword [0x45568c]
mov edi, eax
mov eax, 0xe070381d
imul ecx
add edx, ecx
mov ecx, dword [ebp + esi*4 - 0xfe8]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
push ecx
sub edi, eax
push ebx
mov dword [0x4556a4], edi
call fcn.00429e80
add esp, 8
test eax, eax
je 0x4066d3
mov ecx, dword [0x4556a4]
mov eax, 0x42776e9b
imul ecx
mov ecx, dword [0x4556a0]
sar edx, 7
mov esi, ecx
mov ebx, dword [0x455690]
imul esi, esi, 0xfffffde9
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x3949660b
imul dword [0x45569c]
sar edx, 7
add esi, edx
mov edi, dword [0x4556a8]
mov eax, edx
shr eax, 0x1f
add eax, esi
mov esi, dword [str._r_____r____]
mov edx, ebx
imul edx, edx, 0xb8
sub eax, edx
add eax, esi
mov esi, dword [0x455688]
add esi, eax
mov eax, edi
imul eax, eax, 0x12b
mov dword [ebp + 8], eax
mov eax, ecx
mov ecx, dword [0x45568c]
imul eax, eax, 0x217
mov dword [ebp - 0x818], eax
mov eax, 0xc3a13de7
imul ecx
add edx, ecx
mov ecx, dword [ebp - 0x818]
sar edx, 8
add ecx, edx
mov eax, edx
shr eax, 0x1f
add eax, ecx
mov dword [ebp - 0x818], eax
mov eax, 0xe070381d
imul ebx
mov eax, dword [ebp - 0x818]
add edx, ebx
sar edx, 7
add eax, edx
mov ecx, edx
mov edx, dword [0x455694]
shr ecx, 0x1f
add ecx, eax
sub ecx, dword [ebp + 8]
mov eax, dword [0x55936c]
sub ecx, edx
add ecx, 0x1d3
inc eax
cmp eax, 5
mov dword [0x455688], esi
mov dword [0x45568c], ecx
mov dword [0x55936c], eax
jg 0x406662
cmp dword [ebp + 0x10], 1
jne 0x406662
imul esi, esi, 0x1ed
imul edi, edi, 0x246
imul ecx, ecx, 0x217
add esi, edi
mov edi, dword [0x45569c]
mov eax, 0x709ad4e5
imul edi
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x8c55841d
imul ebx
add edx, ebx
mov ebx, dword [0x4556a0]
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
sub esi, ebx
sub esi, 0xb8
mov eax, 0x709ad4e5
imul esi
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [0x455690], esi
mov esi, eax
mov eax, 0xc2c05bdf
imul edi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, eax
add ecx, dword [ebp + 8]
sub edi, esi
mov esi, dword [0x455694]
mov eax, 0xe070381d
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
add ecx, edi
add eax, ecx
mov dword [str._r_____r____], eax
mov eax, dword [0x569740]
mov ecx, dword [eax]
push eax
mov dword [ebp - 4], 0
call dword [ecx + 0x30]
mov edi, dword [0x4556a8]
mov ecx, dword [0x455698]
mov eax, 0x3d3fa421
imul edi
imul edi, edi, 0xb8
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, 0x6d978b8f
imul ecx
mov eax, dword [0x4556a0]
imul eax, eax, 0x14f
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov ebx, ecx
mov ecx, dword [0x455694]
sub ebx, esi
add ebx, eax
mov eax, 0xe070381d
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, edi
sub ebx, eax
mov dword [0x455698], ebx
mov eax, 1
jmp 0x406712
inc esi
jmp 0x406420
mov edi, dword [str._r_____r____]
mov esi, dword [0x45568c]
mov eax, 0x8c55841d
imul edi, edi, 0x1d3
imul esi
mov eax, dword [0x455698]
add edx, esi
imul eax, eax, 0x59
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub edi, ecx
add edi, eax
mov dword [0x4556a0], edi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.004291fd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret