Function at 0x4044e0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x17d8
call fcn.0042a220
mov eax, dword [0x458000]
mov dword [esp + 0x17d4], eax
push ebx
push ebp
mov ebx, dword [0x45669c]
push esi
mov esi, dword [0x4566a0]
push edi
mov edi, dword [0x456690]
mov eax, edi
imul eax, eax, 0xdd0b
mov ecx, esi
imul ecx, ecx, 0xffff5557
sub ecx, eax
mov eax, 0x55072b69
imul ebx
sar edx, 0xf
add ecx, edx
mov ebp, edx
shr ebp, 0x1f
add ebp, ecx
mov ecx, dword [0x4566a4]
mov eax, 0x80df83a9
imul ecx
add edx, ecx
mov ecx, dword [0x456684]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov eax, 0x9524e185
imul edi
add ebp, ecx
mov ecx, dword [0x456688]
add ecx, ebp
add edx, edi
mov edi, dword [0x4566a8]
mov ebp, edi
imul ebp, ebp, 0xb25a
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov eax, 0x5bdd0ecb
imul ebx
mov ebx, dword [esp + 0x17ec]
mov dword [0x456688], ecx
imul ecx, ecx, 0x7f22
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
add ebp, ecx
sub ebp, esi
sub ebp, 0xdd0b
test ebx, ebx
mov dword [0x456690], ebp
je 0x404861
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4045c2
sub eax, edx
mov dword [esp + 0x10], eax
je 0x404861
mov ebp, dword [esp + 0x17f0]
test ebp, ebp
je 0x404861
mov eax, ebp
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4045f0
sub eax, edx
mov dword [esp + 0x10], eax
je 0x404861
mov eax, 0x6bb7d05b
imul esi, esi, 0xb2d6
imul edi
sub edx, edi
mov ecx, edi
imul ecx, ecx, 0xdd0b
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, eax
sub edi, ecx
mov ecx, dword [0x456694]
mov eax, 0x95e7555
imul ecx
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub edi, ecx
mov ecx, dword [0x456698]
mov eax, 0x14dc1615
imul ecx
add edi, esi
sar edx, 0xa
mov esi, edx
shr esi, 0x1f
add edi, edx
add esi, edi
lea ecx, [esp + 0xfe4]
mov dword [0x456698], esi
mov eax, ebx
sub ecx, ebx
lea ecx, [ecx]
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x404670
lea edx, [esp + 0xfe4]
push edx
call fcn.00404320
imul esi, esi, 0x733f
mov ecx, dword [0x45668c]
mov eax, 0x9524e185
imul ecx
add edx, ecx
mov ecx, dword [0x456684]
add esp, 4
imul ecx, ecx, 0xdbb5
sar edx, 0xf
mov eax, edx
push 0x456958
shr eax, 0x1f
push 0x800
add eax, edx
lea edx, [esp + 0x7ec]
push edx
push 0x446e25
sub esi, eax
push ebp
add esi, ecx
push str.GameType1
mov dword [0x4566a0], esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x7e4]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4046f0
sub eax, edx
mov dword [esp + 0x10], eax
je 0x40480d
mov ecx, dword [0x456698]
mov esi, dword [0x456690]
mov eax, 0xb73ab967
imul esi, esi, 0xdcfc
imul ecx
mov eax, dword [0x4566a0]
add edx, ecx
imul eax, eax, 0x113b1
mov ecx, dword [0x456684]
sar edx, 0xf
mov edi, edx
add esi, edx
shr edi, 0x1f
add edi, esi
sub edi, eax
mov eax, 0x55072b69
imul ecx
sar edx, 0xf
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea edx, [esp + 0x7e4]
push edx
lea eax, [esp + 0x18]
sub edi, ecx
push 0x1f4
push eax
mov dword [0x4566a8], edi
call fcn.0040c0f0
mov edi, eax
add esp, 0xc
xor esi, esi
test edi, edi
jle 0x40480d
lea esp, [esp]
mov ecx, dword [0x456694]
mov ebx, dword [0x45668c]
mov eax, 0x95e7555
imul ebx, ebx, 0xdcfc
imul ecx
mov ecx, dword [0x456690]
sar edx, 9
mov ebp, edx
add ebx, edx
mov eax, 0x5bdd0ecb
imul ecx
sar edx, 0xe
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x4566a8]
imul edx, edx, 0x3117
shr ebp, 0x1f
add ebp, ebx
sub ebp, ecx
mov ecx, dword [0x45669c]
add ebp, edx
mov eax, 0x6000f003
imul ecx
mov ecx, dword [esp + esi*4 + 0x14]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
push ecx
lea edx, [esp + 0xfe8]
sub ebp, eax
push edx
mov dword [0x456684], ebp
call fcn.00429d50
add esp, 8
test eax, eax
jne 0x40487a
inc esi
cmp esi, edi
jl 0x404780
mov esi, dword [0x45668c]
mov edx, dword [0x456684]
imul esi, esi, 0xdcfc
mov ecx, dword [0x45669c]
imul edx, edx, 0x36a6
add esi, edx
mov eax, 0xb73ab967
imul ecx
add edx, ecx
mov ecx, dword [0x456698]
sar edx, 0xf
imul ecx, ecx, 0x7f22
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
add esi, dword [0x4566a4]
lea edx, [ecx + esi - 0xdd0b]
mov dword [0x456694], edx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x17d4]
call fcn.00429911
add esp, 0x17d8
ret
mov ecx, dword [0x456690]
mov esi, dword [0x4566a0]
mov eax, 0x95e7555
imul esi, esi, 0xdcfc
imul ecx
mov ecx, dword [0x45668c]
sar edx, 9
add esi, edx
mov edi, edx
mov eax, 0xb73ab967
imul ecx
add edx, ecx
mov ecx, dword [0x4566a8]
imul ecx, ecx, 0x3117
shr edi, 0x1f
sar edx, 0xf
add edi, esi
mov eax, edx
shr eax, 0x1f
add edi, edx
mov edx, dword [0x456694]
add eax, edi
sub eax, ecx
mov ecx, dword [esp + 0x17e4]
pop edi
sub eax, edx
add eax, 0xdbb5
pop esi
pop ebp
mov dword [0x45668c], eax
mov eax, 1
pop ebx
call fcn.00429911
add esp, 0x17d8
ret