Function at 0x415ae0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e850
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfd8
mov eax, dword [0x45193c]
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ecx, dword [0x4508ec]
imul ecx, ecx, 0x185
mov esi, dword [0x4508e0]
mov eax, 0xa61fcc17
imul esi
add edx, esi
mov esi, dword [0x4508d4]
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
sub edx, eax
sub edx, dword [0x4508d0]
lea eax, [edx + esi + 0xd7]
mov dword [str._r_____r_____n], eax
mov ebx, dword [ebp + 8]
mov eax, 0x97012e03
imul esi
mov edi, dword [0x4508e4]
imul edi, edi, 0x1a8
add edx, esi
sar edx, 8
mov eax, edx
shr eax, 0x1f
add edi, edx
mov edx, dword [0x4508d8]
add eax, edi
sub eax, ecx
sub eax, edx
add eax, 0x4f2
test ebx, ebx
mov dword [0x4508d0], eax
je 0x415ed8
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415b92
sub eax, edx
mov dword [ebp + 8], eax
je 0x415ed8
mov edx, dword [ebp + 0xc]
push str.C:WINDOWS_system32driversetc_service5.ini
push 0x800
lea ecx, [ebp - 0x814]
push ecx
push 0x440e09
push edx
push str.GameType1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, dword [0x4508dc]
mov ecx, dword [0x4508e0]
mov eax, edi
imul eax, eax, 0x377
mov esi, dword [0x4508d0]
mov dword [ebp + 8], eax
mov eax, 0x60f25deb
imul ecx
mov ecx, dword [ebp + 8]
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, esi
imul edx, edx, 0x1a8
sub ecx, eax
add ecx, dword [0x4508e8]
lea ecx, [edx + ecx - 0x15c]
lea eax, [ebp - 0x814]
lea edx, [eax + 1]
mov dword [0x4508d8], ecx
mov dword [ebp + 8], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x415c23
sub eax, dword [ebp + 8]
mov dword [ebp + 8], eax
je 0x415ea4
mov eax, 0xb61d7045
imul ecx, ecx, 0x30f
imul esi
mov edi, esi
imul edi, edi, 0x3a7
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, edi
add eax, ecx
mov ecx, dword [0x4508d4]
imul ecx, ecx, 0x315
add eax, ecx
lea edx, [ebp - 0x814]
push edx
mov dword [0x4508e0], eax
lea eax, [ebp - 0xfe4]
push 0x1f4
push eax
call fcn.004035b0
add esp, 0xc
mov edi, eax
xor esi, esi
jmp 0x415c90
cmp esi, edi
jge 0x415e98
mov eax, dword [0x4508cc]
mov ecx, dword [0x4508e8]
imul eax, eax, 0x2a4
mov dword [ebp + 8], eax
mov eax, 0x197b05f9
imul ecx
mov eax, dword [ebp + 8]
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x4508e0]
imul edx, edx, 0x1b2
sub eax, ecx
mov ecx, dword [0x4508d0]
add eax, edx
sub eax, ecx
sub eax, 0x163
mov dword [0x4508e8], eax
mov eax, dword [ebp + esi*4 - 0xfe4]
push eax
push ebx
call fcn.00424960
add esp, 8
test eax, eax
je 0x415e92
mov ecx, dword [0x4508e8]
mov edi, dword [0x4508e0]
mov eax, 0x49e28fbb
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x73d0e82d
imul edi
sub edx, edi
sar edx, 9
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [0x4508e4]
sub edx, ecx
mov ebx, dword [0x4508d4]
mov ecx, eax
imul eax, eax, 0x1a8
imul ecx, ecx, 0x315
sub edx, ecx
mov ecx, dword [str._r_____r_____n]
mov esi, dword [0x4508ec]
add edx, ecx
imul esi, esi, 0x185
mov ecx, dword [0x4508cc]
lea edx, [ecx + edx - 0x30e]
mov dword [ebp + 8], eax
mov dword [0x4508cc], edx
mov eax, 0x97012e03
imul ebx
mov eax, dword [ebp + 8]
add edx, ebx
sar edx, 8
add eax, edx
mov ecx, edx
mov edx, dword [0x4508d8]
shr ecx, 0x1f
add ecx, eax
mov eax, dword [0x463de4]
sub ecx, esi
sub ecx, edx
add ecx, 0x4f2
inc eax
cmp eax, 5
mov dword [0x4508d0], ecx
mov dword [0x463de4], eax
jg 0x415e35
cmp dword [ebp + 0x10], 1
jne 0x415e35
mov eax, 0x197b05f9
imul edi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp + 8], eax
mov eax, 0x21d814d3
imul ebx
sub edx, ebx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp + 8]
sub eax, edx
sub eax, dword [0x4508e4]
mov edx, dword [0x4508ec]
lea ebx, [eax + edx - 0x30e]
mov eax, 0xa61fcc17
imul edi
add edx, edi
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, dword [0x462c04]
sub esi, ecx
lea ecx, [esi + ebx + 0xd7]
mov dword [0x4508d4], ebx
mov dword [str._r_____r_____n], ecx
mov edx, dword [eax]
push eax
mov dword [ebp - 4], 0
call dword [edx + 0x30]
mov ecx, dword [0x4508dc]
mov esi, dword [0x4508ec]
mov eax, 0xa8791709
imul esi, esi, 0x30f
imul ecx
add edx, ecx
mov ecx, dword [0x4508d8]
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, eax
mov eax, 0x97012e03
imul ecx
add edx, ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
sub edi, esi
add ecx, edx
sub edi, ecx
add edi, 0x456
mov dword [0x4508dc], edi
mov eax, 1
jmp 0x415eda
inc esi
jmp 0x415c90
mov esi, dword [0x4508d0]
mov edi, dword [0x4508dc]
mov ecx, dword [str._r_____r_____n]
imul edi, edi, 0x222
mov eax, 0xde27eb2d
imul esi
add edx, esi
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
imul ecx, ecx, 0x24e
lea edx, [edi + ecx - 0x30e]
mov dword [0x4508e4], edx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00423a21
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret