Function at 0x4050b0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x17d8
call fcn.00430500
mov eax, dword [0x45e640]
mov dword [esp + 0x17d4], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [0x45ccd0]
mov eax, 0x10449d67
imul edi
sar edx, 0xe
mov ecx, edx
mov ebp, dword [0x45cce0]
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x45ccc8]
imul edx, edx, 0x3ef21
add ecx, edx
mov eax, 0x3da8152f
imul edi
sar edx, 0x11
add ecx, edx
mov esi, edx
shr esi, 0x1f
add esi, ecx
mov eax, ebp
imul eax, eax, 0x1c83d
add esi, eax
mov ebx, dword [0x45ccd8]
mov eax, 0x3ecaa423
imul dword [0x45cce4]
sar edx, 0x11
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0xcbb2b9d
imul edi
sub esi, ecx
sar edx, 0xf
add esi, edx
mov ecx, edx
mov eax, 0x10449d67
imul ebx
imul ebx, ebx, 0xd2812
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
shr ecx, 0x1f
add ecx, esi
mov esi, eax
mov eax, 0x60d8eff
imul edi
mov edi, dword [0x45ccdc]
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x9baa0995
imul edi
add edx, edi
sar edx, 0x13
mov edi, dword [0x45cce4]
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
add esi, ebx
mov ebx, dword [0x45cce8]
mov edx, ebx
imul edx, edx, 0x8a702
mov eax, ecx
imul eax, eax, 0x8276a
add esi, edx
add esi, eax
sub esi, edi
sub esi, 0x3ef21
mov dword [0x45ccc8], ecx
mov dword [0x45ccd0], esi
mov edi, dword [esp + 0x17ec]
test edi, edi
je 0x405513
lea edx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x4051d1
sub edi, edx
mov dword [esp + 0x10], edi
je 0x405513
mov edi, dword [esp + 0x17f0]
test edi, edi
je 0x405513
lea edx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x4051f6
sub edi, edx
mov dword [esp + 0x10], edi
je 0x405513
mov eax, 0x69f239fb
imul ecx, ecx, 0x85c24
imul ebp
imul ebp, ebp, 0x26a94
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45ccd4]
mov edi, ebx
imul edi, edi, 0x3ef21
sub eax, edi
add eax, ebp
mov dword [esp + 0x10], eax
mov eax, 0x1e9f4e3
imul edx
sar edx, 0xc
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, 0x3da8152f
imul ebx
mov eax, dword [esp + 0x10]
sar edx, 0x11
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
mov dword [esp + 0x10], eax
mov eax, 0x76595943
imul ebx
mov eax, dword [esp + 0x10]
sar edx, 0x12
mov edi, edx
add eax, edx
shr edi, 0x1f
add edi, eax
mov eax, dword [esp + 0x17ec]
lea ebp, [esp + 0xfe4]
mov dword [0x45ccd8], edi
sub ebp, eax
mov cl, byte [eax]
mov byte [eax + ebp], cl
inc eax
test cl, cl
jne 0x4052a1
lea edx, [esp + 0xfe4]
push edx
call fcn.00404e70
imul edi, edi, 0xa0dd9
mov edx, dword [0x45ccdc]
lea ecx, [ebx + esi]
imul edx, edx, 0x3ef21
imul ecx, ecx, 0x54963
sub ecx, edx
mov eax, 0x950cb67f
imul ebx
add edx, ebx
sar edx, 0x12
add ecx, edx
mov esi, edx
shr esi, 0x1f
add esi, ecx
mov ecx, dword [0x45cccc]
mov eax, 0x60d8eff
imul ecx
mov ecx, dword [0x45ccd4]
add esp, 4
imul ecx, ecx, 0x8a702
sar edx, 0xd
mov eax, edx
push str.C:_WINDoWS_system32driversetc_serViCe5.ini
shr eax, 0x1f
add eax, edx
push 0x800
lea edx, [esp + 0x7ec]
push edx
sub esi, eax
mov eax, dword [esp + 0x17fc]
push 0x44ce59
sub esi, ecx
push eax
add esi, edi
push str.GameType1
mov dword [0x45cce0], esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x7e4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405350
sub eax, edx
mov dword [esp + 0x10], eax
je 0x4054b1
mov ecx, dword [0x45ccd0]
mov edx, dword [0x45ccd8]
mov eax, dword [0x45cce4]
mov esi, dword [0x45ccc8]
imul eax, eax, 0x3ef21
lea edi, [edx + ecx]
imul ecx, ecx, 0x85c24
imul edi, edi, 0x84dd7
sub edi, eax
mov eax, 0x69f239fb
imul esi
sar edx, 0x10
mov ebx, edx
add edi, edx
mov eax, 0x1e9f4e3
imul esi
shr ebx, 0x1f
sar edx, 0xc
add ebx, edi
sub ebx, ecx
mov ecx, dword [str._r_____r____]
mov esi, edx
add ebx, edx
mov eax, 0xcbb2b9d
imul ecx
sar edx, 0xf
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea edx, [esp + 0x7e4]
shr esi, 0x1f
push edx
add esi, ebx
lea eax, [esp + 0x18]
sub esi, ecx
push 0x1f4
push eax
mov dword [0x45cce8], esi
call fcn.0040fd50
mov ebx, eax
add esp, 0xc
xor edi, edi
test ebx, ebx
jle 0x4054b1
mov edi, edi
mov ecx, dword [0x45cccc]
mov esi, dword [0x45ccd4]
mov eax, 0x950cb67f
imul ecx
add edx, ecx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebp, eax
mov eax, 0x1e9f4e3
imul esi
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
imul edx, edx, 0x84dd7
sub eax, ebp
add eax, edx
mov ebp, eax
mov eax, 0x9baa0995
imul ecx
add edx, ecx
sar edx, 0x13
mov ecx, edx
add ebp, edx
mov eax, 0x9baa0995
imul esi
add edx, esi
sar edx, 0x13
mov eax, edx
shr ecx, 0x1f
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45ccdc]
add ecx, ebp
imul edx, edx, 0x8276a
sub ecx, eax
mov eax, dword [0x45cce8]
imul eax, eax, 0x8a702
add ecx, edx
add ecx, eax
mov dword [str._r_____r____], ecx
mov ecx, dword [esp + edi*4 + 0x14]
push ecx
lea edx, [esp + 0xfe8]
push edx
call fcn.00430910
add esp, 8
test eax, eax
jne 0x40552c
inc edi
cmp edi, ebx
jl 0x405400
mov ecx, dword [0x45ccdc]
mov eax, 0x69f239fb
imul ecx
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, 0x1e9f4e3
imul ecx
imul ecx, ecx, 0x84dd7
mov edi, dword [0x45cce0]
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [str._r_____r____]
sub eax, esi
imul edx, edx, 0x10838e
add eax, ecx
mov ecx, dword [0x45ccd8]
imul ecx, ecx, 0x8276a
add ecx, edi
add ecx, eax
lea eax, [edx + ecx - 0x3ef21]
mov dword [0x45ccd4], eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x17d4]
call fcn.0042fcc1
add esp, 0x17d8
ret
mov ecx, dword [0x45cccc]
mov esi, dword [0x45cce4]
imul esi, esi, 0x3ef21
mov eax, 0x69f239fb
imul ecx
mov ecx, dword [0x45ccd4]
sar edx, 0x10
add esi, edx
mov edi, edx
mov eax, 0x1e9f4e3
imul ecx
mov eax, dword [0x45cce0]
sar edx, 0xc
imul eax, eax, 0x84dd7
shr edi, 0x1f
add edi, esi
mov esi, edx
add edi, edx
shr esi, 0x1f
add esi, edi
add esi, eax
mov eax, 0x3ecaa423
imul ecx
sar edx, 0x11
add esi, edx
mov ecx, edx
mov edx, dword [0x45cce8]
imul edx, edx, 0x8a702
shr ecx, 0x1f
add ecx, esi
sub ecx, edx
sub ecx, dword [str._r_____r____]
pop edi
add ecx, 0x54963
pop esi
mov dword [0x45cccc], ecx
mov ecx, dword [esp + 0x17dc]
pop ebp
mov eax, 1
pop ebx
call fcn.0042fcc1
add esp, 0x17d8
ret