Function at 0x405080
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x17dc
call fcn.00430550
mov eax, dword [0x45e540]
xor eax, esp
mov dword [esp + 0x17d8], eax
mov eax, dword [esp + 0x17e4]
mov dword [esp + 4], eax
mov eax, 0x2900b7f9
imul dword [0x45cbe4]
sar edx, 0x14
mov ecx, edx
push ebx
shr ecx, 0x1f
add ecx, edx
push ebp
push esi
mov esi, dword [0x45cbd0]
mov ebp, dword [0x45cbe0]
mov eax, 0x3e38df13
imul esi
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add eax, edx
push edi
mov edi, eax
sub edi, ecx
mov ecx, dword [0x45cbc8]
imul ecx, ecx, 0x41d422
mov edx, ebp
imul edx, edx, 0x32d358
add edi, ecx
sub edi, edx
mov eax, 0x5ef6c237
imul esi
sar edx, 0x15
add edi, edx
mov ebx, edx
mov eax, 0x3d3e7a09
imul esi
sar edx, 0x15
shr ebx, 0x1f
add ebx, edi
add ebx, edx
mov edi, dword [0x45cbd8]
mov ecx, edx
mov eax, 0x3e13b50f
imul esi
shr ecx, 0x1f
add ecx, ebx
sar edx, 0x14
mov eax, edx
mov ebx, ecx
imul ebx, ebx, 0x63e546
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0x3e38df13
imul edi
imul edi, edi, 0x96af7c
sar edx, 0x14
mov esi, edx
add ebx, edx
shr esi, 0x1f
add esi, ebx
mov ebx, dword [0x45cbe8]
mov edx, ebx
imul edx, edx, 0x53439e
add esi, edx
mov edx, dword [0x45cbdc]
mov eax, 0x1b2eb4bf
imul edx
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
add esi, edi
mov edi, dword [0x45cbe4]
mov dword [0x45cbc8], ecx
sub esi, edi
mov edi, dword [esp + 0x17f0]
sub esi, 0x41d422
test edi, edi
mov dword [0x45cbd0], esi
je 0x4054ef
lea edx, [edi + 1]
lea esp, [esp]
mov al, byte [edi]
inc edi
test al, al
jne 0x4051b0
sub edi, edx
mov dword [esp + 0x10], edi
je 0x4054ef
mov edi, dword [esp + 0x14]
test edi, edi
je 0x4054ef
lea edx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x4051d2
sub edi, edx
mov dword [esp + 0x10], edi
je 0x4054ef
mov eax, 0xa1093dc9
imul ecx, ecx, 0x640b17
imul ebx
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, ebx
imul edi, edi, 0x41d422
sub eax, edi
mov edi, eax
mov eax, 0x6262bd7d
imul ebx
sar edx, 0x15
add edi, edx
mov eax, edx
mov edx, dword [0x45cbd4]
shr eax, 0x1f
add eax, edi
mov edi, dword [0x45cbd4]
mov dword [esp + 0x10], eax
mov eax, 0xa3c4e0d7
imul edx
add edx, edi
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x10]
sub edx, eax
add edx, ecx
mov dword [esp + 0x10], edx
mov eax, 0x4f7fd81
imul ebp
imul ebp, ebp, 0x670b79
mov eax, dword [esp + 0x10]
sar edx, 0x11
mov edi, edx
shr edi, 0x1f
add eax, edx
add edi, eax
mov eax, dword [esp + 0x17f0]
add edi, ebp
lea ebp, [esp + 0xfe8]
mov dword [0x45cbd8], edi
sub ebp, eax
nop
mov cl, byte [eax]
mov byte [eax + ebp], cl
inc eax
test cl, cl
jne 0x405280
lea ecx, [esp + 0xfe8]
push ecx
call fcn.00404e30
imul edi, edi, 0x85c28b
mov ecx, dword [0x45cbcc]
mov eax, 0x3e13b50f
imul ecx
mov ecx, dword [0x45cbdc]
sar edx, 0x14
imul ecx, ecx, 0x41d422
mov eax, edx
add esi, ebx
shr eax, 0x1f
imul esi, esi, 0x41fb8b
add eax, edx
mov edx, dword [0x45cbd4]
imul edx, edx, 0x53439e
sub esi, eax
sub esi, ecx
sub esi, edx
mov eax, 0x7a2fd6e1
imul ebx
add esp, 4
push str.C:_WINDoWS_system32driversetc_serViCe5.ini
push 0x800
sar edx, 0x16
lea ecx, [esp + 0x7f0]
push ecx
add esi, edi
mov eax, edx
add esi, edx
mov edx, dword [esp + 0x20]
push 0x44ce89
shr eax, 0x1f
push edx
add eax, esi
push str.GameType1
mov dword [0x45cbe0], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x7e8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405328
sub eax, edx
mov dword [esp + 0x10], eax
je 0x405488
mov ecx, dword [0x45cbd0]
mov eax, dword [0x45cbd8]
mov edx, dword [0x45cbe4]
lea esi, [eax + ecx]
imul edx, edx, 0x41d422
imul ecx, ecx, 0x640b17
imul esi, esi, 0x5643ad
sub esi, edx
mov edx, dword [str._r_____r____]
mov eax, 0x3d3e7a09
imul edx
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
sub esi, ecx
mov ecx, dword [0x45cbc8]
mov eax, 0xa3c4e0d7
imul ecx
add edx, ecx
sar edx, 0x16
mov edi, edx
add esi, edx
mov eax, 0x4f7fd81
imul ecx
shr edi, 0x1f
sar edx, 0x11
add edi, esi
mov ecx, edx
add edi, edx
lea edx, [esp + 0x7e8]
push edx
shr ecx, 0x1f
lea eax, [esp + 0x1c]
add ecx, edi
push 0x1f4
push eax
mov dword [0x45cbe8], ecx
call fcn.0040fbd0
mov ebx, eax
add esp, 0xc
xor edi, edi
test ebx, ebx
jle 0x405488
jmp 0x4053e0
mov ecx, dword [0x45cbcc]
mov esi, dword [0x45cbdc]
mov eax, dword [0x45cbe8]
imul esi, esi, 0x63e546
imul eax, eax, 0x53439e
mov edx, ecx
imul edx, edx, 0x5643ad
add esi, edx
add esi, eax
mov eax, 0x1b2eb4bf
imul ecx
sar edx, 0x14
mov ebp, edx
add esi, edx
shr ebp, 0x1f
add ebp, esi
mov esi, dword [0x45cbd4]
mov eax, 0x1b2eb4bf
imul esi
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov eax, 0x7a2fd6e1
imul ecx
sar edx, 0x16
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0xa3c4e0d7
imul esi
add edx, esi
sar edx, 0x16
sub ebp, ecx
mov ecx, dword [esp + edi*4 + 0x18]
mov eax, edx
add ebp, edx
shr eax, 0x1f
push ecx
lea edx, [esp + 0xfec]
add eax, ebp
push edx
mov dword [str._r_____r____], eax
call fcn.00430960
add esp, 8
test eax, eax
jne 0x40550a
inc edi
cmp edi, ebx
jl 0x4053e0
mov ecx, dword [0x45cbdc]
mov eax, dword [str._r_____r____]
mov edx, dword [0x45cbd8]
lea esi, [eax + edx]
imul eax, eax, 0x640b17
imul esi, esi, 0x63e546
mov edx, ecx
imul edx, edx, 0x5643ad
add esi, edx
add esi, eax
mov eax, 0xa3c4e0d7
imul ecx
add edx, ecx
sar edx, 0x16
add esi, edx
mov edi, edx
mov eax, 0x4f7fd81
imul ecx
mov ecx, dword [0x45cbe0]
sar edx, 0x11
mov eax, edx
shr edi, 0x1f
shr eax, 0x1f
add eax, edx
add edi, esi
sub edi, eax
lea edx, [edi + ecx - 0x41d422]
mov dword [0x45cbd4], edx
xor eax, eax
mov ecx, dword [esp + 0x17e8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042fd0d
add esp, 0x17dc
ret
mov ecx, dword [0x45cbd4]
mov eax, 0x2900b7f9
imul ecx
mov eax, dword [0x45cbe4]
imul eax, eax, 0x41d422
sar edx, 0x14
mov esi, edx
shr esi, 0x1f
add esi, edx
mov edx, dword [0x45cbe8]
add esi, eax
imul edx, edx, 0x53439e
mov eax, dword [0x45cbe0]
imul eax, eax, 0x5643ad
sub esi, edx
add esi, eax
mov eax, 0xa3c4e0d7
imul ecx
add edx, ecx
mov ecx, dword [0x45cbcc]
sar edx, 0x16
add esi, edx
mov edi, edx
mov eax, 0x4f7fd81
imul ecx
sar edx, 0x11
shr edi, 0x1f
add edi, esi
mov ecx, edx
shr ecx, 0x1f
add edi, edx
mov edx, dword [str._r_____r____]
add ecx, edi
sub ecx, edx
add ecx, 0x41fb8b
mov dword [0x45cbcc], ecx
mov eax, 1
jmp 0x4054f1