Function at 0x405bf0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443670
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfdc
mov eax, dword [0x457190]
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ecx, dword [0x455824]
mov eax, 0x51eb851f
imul dword [0x45581c]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, eax
mov eax, 0x6db6db6d
imul ecx
sub edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, ebx
mov ebx, eax
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov ecx, edx
mov esi, dword [0x455838]
shr ecx, 0x1f
imul esi, esi, 0xd
add ecx, edx
mov edi, dword [0x455830]
imul edi, edi, 0x35
mov eax, 0x4bda12f7
imul dword [0x455838]
add ebx, edi
add ecx, ebx
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0x4bda12f7
imul dword [0x45581c]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add ebx, edx
add eax, ebx
add ecx, esi
sub eax, esi
sub eax, ecx
mov dword [str._r_____r____], ecx
lea ecx, [eax + edi + 0x28]
mov eax, dword [ebp + 8]
test eax, eax
mov dword [0x45581c], ecx
je 0x40608f
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405cc7
sub eax, edx
mov dword [ebp - 0x818], eax
je 0x40608f
mov eax, dword [ebp + 0xc]
push str.C:WINDOWS_system32driversetc_service5.ini
push 0x800
lea edx, [ebp - 0x814]
push edx
push 0x445e15
push eax
push str.GameType1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [0x455828]
mov esi, dword [0x45582c]
lea edx, [ecx + ecx*8]
shl edx, 3
mov ebx, edx
mov edi, dword [0x455830]
mov eax, 0x4bda12f7
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x455818]
sub ebx, eax
imul edx, edx, 0x35
mov eax, dword [str._r_____r____]
imul eax, eax, 0x36
add edx, edi
add edx, ebx
lea ebx, [eax + edx - 0x31]
lea eax, [ebp - 0x814]
lea edx, [eax + 1]
mov dword [0x455824], ebx
mov dword [ebp - 0x818], edx
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x405d60
sub eax, dword [ebp - 0x818]
mov dword [ebp - 0x818], eax
je 0x406063
mov ecx, dword [0x455820]
imul esi, esi, 0x31
imul edi, edi, 0x22
mov eax, 0x92492493
imul ecx
add edx, ecx
imul ecx, ecx, 0x32
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
add ebx, ecx
mov ecx, dword [0x45581c]
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [ebp - 0x814]
add ebx, esi
push ecx
sub ebx, eax
lea edx, [ebp - 0xfe8]
push 0x1f4
add ebx, edi
push edx
mov dword [0x45582c], ebx
call fcn.0040c080
add esp, 0xc
mov dword [ebp - 0x818], eax
xor edi, edi
cmp edi, dword [ebp - 0x818]
mov ecx, dword [0x455828]
jge 0x406057
mov eax, dword [0x455818]
mov esi, dword [0x455834]
lea ebx, [ecx + eax]
mov eax, 0x92492493
imul ebx, ebx, 0x36
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0x51eb851f
imul ecx
mov eax, dword [ebp + 8]
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [ebp + edi*4 - 0xfe8]
push edx
sub ebx, ecx
push eax
mov dword [0x455834], ebx
call fcn.00429ab0
add esp, 8
test eax, eax
je 0x406051
mov ecx, dword [0x455834]
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x78787879
imul dword [0x455820]
sar edx, 4
mov edi, ecx
mov ecx, edx
sub edi, esi
add edi, edx
mov edx, dword [0x455818]
shr ecx, 0x1f
imul edx, edx, 0x31
add ecx, edi
mov edi, dword [0x455830]
mov eax, edi
imul edi, edi, 0x35
imul eax, eax, 0x32
add ecx, edx
mov edx, dword [0x455838]
sub ecx, eax
mov esi, edx
mov eax, 0x4bda12f7
imul esi, esi, 0xd
imul edx
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov edx, dword [0x45581c]
mov eax, 0x4bda12f7
imul edx
sar edx, 4
add ebx, edx
mov eax, edx
shr eax, 0x1f
add eax, ebx
mov ebx, dword [str._r_____r____]
sub eax, esi
sub eax, ebx
lea ebx, [eax + edi + 0x28]
mov eax, dword [0x55922c]
inc eax
cmp eax, 5
mov dword [0x455818], ecx
mov dword [0x45581c], ebx
mov dword [0x55922c], eax
jg 0x405ff0
cmp dword [ebp + 0x10], 1
jne 0x405ff0
mov eax, 0x66666667
imul dword [0x455820]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45582c]
mov ebx, eax
mov eax, 0x6db6db6d
imul edx
sub edx, dword [0x45582c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, ebx
mov ebx, dword [0x455834]
lea ecx, [ecx + ecx*8]
lea edx, [eax + ecx*8]
mov eax, dword [str._r_____r____]
imul eax, eax, 0x38
add edx, eax
sub edx, ebx
mov ecx, dword [0x455824]
sub edx, 0x31
mov dword [0x455820], edx
mov eax, 0x51eb851f
imul dword [0x45581c]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, eax
mov eax, 0x6db6db6d
imul ecx
sub edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, ebx
mov ebx, eax
mov eax, 0x4bda12f7
imul ecx
mov eax, dword [0x569608]
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add ebx, edi
add ecx, ebx
add ecx, esi
mov dword [str._r_____r____], ecx
mov edx, dword [eax]
push eax
mov dword [ebp - 4], 0
call dword [edx + 0x30]
mov ebx, dword [0x45581c]
mov esi, dword [0x455838]
imul ebx, ebx, 0x36
mov ecx, dword [0x455824]
mov eax, 0x4d4873ed
imul esi
sar edx, 4
mov edi, esi
imul edi, edi, 0xffffffcf
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x4ec4ec4f
imul esi
add edi, ebx
sar edx, 2
sub edi, ecx
mov eax, edx
shr eax, 0x1f
add edi, edx
add eax, edi
mov dword [0x455828], eax
mov eax, 1
jmp 0x406091
inc edi
jmp 0x405de3
mov ebx, dword [0x455824]
mov esi, dword [0x45582c]
mov edx, dword [0x45581c]
imul ecx, ecx, 0x22
imul esi, esi, 0x31
mov eax, 0x66666667
imul ebx, ebx, 0x1b
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
sub ecx, esi
add eax, edx
sub ecx, eax
add ecx, ebx
mov dword [0x455830], ecx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00428e41
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret