Function at 0x419100
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4422f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfdc
mov eax, dword [0x455e64]
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, dword [0x454e08]
mov eax, 0x9a96bd3d
imul esi
add edx, esi
mov ecx, dword [0x454e14]
sar edx, 0xc
imul ecx, ecx, 0x10a2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x454dfc]
mov esi, edx
imul esi, esi, 0x1628
sub esi, eax
mov eax, dword [0x454df8]
imul eax, eax, 0x9f1
add esi, ecx
lea eax, [eax + esi + 0x20a4]
mov dword [str._r_____r_____n], eax
mov eax, 0x1f5f3801
imul edx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x454e00]
imul edx, edx, 0x16c0
sub eax, edx
mov edx, dword [0x454e0c]
imul edx, edx, 0x9f1
add eax, edx
sub eax, ecx
add eax, 0x1697
mov dword [0x454df8], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x419556
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4191c1
sub eax, edx
mov dword [ebp - 0x818], eax
je 0x419556
mov ecx, dword [ebp + 0xc]
push str.C:WINDOWS_system32driversetc_service5.ini
push 0x800
lea eax, [ebp - 0x814]
push eax
push 0x444dd9
push ecx
push str.GameType1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [0x454e08]
mov ebx, dword [0x454e10]
mov edi, dword [0x454e04]
imul ebx, ebx, 0x1b7b
mov esi, dword [0x454df8]
mov eax, 0xb40b40b5
imul ecx
add edx, ecx
sar edx, 0xc
mov ecx, edi
imul ecx, ecx, 0x108a
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
add ebx, ecx
mov edx, esi
imul edx, edx, 0x9f1
lea ecx, [ebx + edx + 0x20a4]
lea eax, [ebp - 0x814]
mov dword [0x454e00], ecx
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x419256
sub eax, ebx
mov dword [ebp - 0x818], eax
je 0x419524
mov eax, dword [0x454dfc]
imul ecx, ecx, 0x1b7c
imul eax, eax, 0x1a7f
mov edx, esi
imul edx, edx, 0x1988
add ecx, eax
sub ecx, edx
mov eax, 0x3de9fdd3
imul esi
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov dword [0x454e08], ecx
lea ecx, [ebp - 0x814]
push ecx
lea edx, [ebp - 0xfe8]
push 0x1f4
push edx
call fcn.00404d70
add esp, 0xc
mov edi, eax
xor esi, esi
cmp esi, edi
jge 0x419518
mov ebx, dword [0x454e08]
mov eax, dword [0x454df4]
imul ebx, ebx, 0x20a4
mov ecx, dword [0x454e10]
imul eax, eax, 0x16c0
add ebx, eax
mov eax, 0x5c6f35cd
imul ecx
mov eax, dword [ebp + 8]
sar edx, 0xb
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x454df8]
sub ebx, ecx
sub ebx, edx
mov edx, dword [ebp + esi*4 - 0xfe8]
push edx
add ebx, 0x625
push eax
mov dword [0x454e10], ebx
call fcn.00428340
add esp, 8
test eax, eax
je 0x419512
mov ecx, dword [0x454df4]
mov eax, 0x950d22f9
imul ecx
add edx, ecx
sar edx, 0xc
mov edi, dword [0x454e08]
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x454e0c]
imul edx, edx, 0x1a7f
mov esi, ecx
sub esi, edx
mov ecx, dword [0x454e10]
mov eax, 0xa06e4bd5
imul edi
add edx, edi
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x3de9fdd3
imul ecx
sar edx, 0xa
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x1f5f3801
imul dword [0x454dfc]
sub esi, ecx
mov ecx, dword [str._r_____r_____n]
sar edx, 0xa
add esi, ecx
mov ecx, dword [0x454e14]
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x454e00]
mov dword [0x454df4], esi
imul edx, edx, 0x16c0
mov esi, eax
mov eax, dword [0x454e0c]
imul eax, eax, 0x9f1
mov ebx, ecx
imul ebx, ebx, 0x10a2
sub esi, edx
add esi, eax
mov eax, dword [0x56860c]
sub esi, ebx
add esi, 0x1697
inc eax
cmp eax, 5
mov dword [0x454df8], esi
mov dword [0x56860c], eax
jg 0x4194ad
cmp dword [ebp + 0x10], 1
jne 0x4194ad
mov eax, 0x2d5481cb
imul esi, esi, 0x9f1
imul dword [0x454dfc]
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp + 8], eax
mov eax, 0x5c6f35cd
imul ecx
mov eax, dword [ebp + 8]
sar edx, 0xb
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ecx, eax
mov eax, 0x5c6f35cd
imul edi
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x3de9fdd3
imul dword [0x454e0c]
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x9a96bd3d
imul edi
sub ecx, 0x1b7b
mov dword [0x454dfc], ecx
imul ecx, ecx, 0x1628
add edx, edi
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, dword [0x567430]
add ecx, ebx
lea ecx, [esi + ecx + 0x20a4]
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 [0x454e14]
mov eax, 0x1f5f3801
imul dword [0x454e00]
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, 0x1f5f3801
imul ecx
imul ecx, ecx, 0x1b7b
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, eax
sub edi, esi
sub edi, ecx
mov ecx, dword [0x454e04]
mov eax, 0x7b214ec3
imul ecx
sar edx, 0xb
mov ecx, edx
shr ecx, 0x1f
add edi, edx
lea edx, [ecx + edi + 0x16c0]
mov dword [0x454e04], edx
mov eax, 1
jmp 0x419558
inc esi
jmp 0x4192c0
mov esi, dword [0x454df8]
mov edi, dword [0x454e04]
mov ecx, dword [str._r_____r_____n]
mov eax, 0x2d5481cb
imul ecx, ecx, 0x1697
imul esi
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
imul edi, edi, 0x8e6
lea edx, [ecx + edi - 0x1b7b]
mov dword [0x454e0c], edx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.004274c1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret