Function at 0x4043e0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x17d8
call fcn.0042ab40
mov eax, dword [0x458190]
mov dword [esp + 0x17d4], eax
push ebx
mov ecx, dword [0x456830]
push esi
imul ecx, ecx, 0x257
mov esi, dword [0x456834]
mov eax, 0x9cc8e161
imul esi
mov eax, dword [0x456818]
imul eax, eax, 0x344
add edx, esi
sar edx, 9
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
add ebx, eax
push edi
mov edi, dword [0x456820]
sub ebx, ecx
mov eax, 0x2d4279a3
imul edi
sar edx, 6
add ebx, edx
mov ecx, edx
mov eax, 0xf2b9d649
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45682c]
shr ecx, 0x1f
add ecx, ebx
mov ebx, dword [str._r_____r____]
sub ecx, eax
imul ebx, ebx, 0x2a0
mov eax, 0x30c30c31
imul edx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0x43491159
imul edi
mov edi, dword [esp + 0x17e8]
mov dword [0x456818], ecx
imul ecx, ecx, 0x87
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
add ebx, ecx
sub ebx, esi
sub ebx, 0x344
test edi, edi
mov dword [0x456820], ebx
je 0x40476c
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4044c3
sub eax, edx
mov dword [esp + 0xc], eax
je 0x40476c
mov ebx, dword [esp + 0x17ec]
test ebx, ebx
je 0x40476c
mov eax, ebx
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4044f0
sub eax, edx
mov dword [esp + 0xc], eax
je 0x40476c
mov ecx, dword [0x456824]
mov eax, 0x4c8f8d29
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, dword [0x456838]
push ebp
mov ebp, ecx
imul ebp, ebp, 0xfffffcbc
sub ebp, edx
mov eax, 0xe7fc601
imul ecx
mov eax, dword [0x45681c]
imul eax, eax, 0x244
sar edx, 5
mov esi, edx
add ebp, edx
shr esi, 0x1f
add esi, ebp
add esi, eax
mov eax, 0x99d722db
imul ecx
add edx, ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub esi, ecx
lea ecx, [esp + 0xfe4]
mov dword [0x456828], esi
mov eax, edi
sub ecx, edi
pop ebp
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x404572
lea edx, [esp + 0xfe0]
push edx
call fcn.00404230
imul esi, esi, 0x16a
mov ecx, dword [0x45681c]
mov edi, dword [0x45682c]
mov eax, 0xbcb6eea7
imul edi, edi, 0x344
imul ecx
mov ecx, dword [0x456824]
add esp, 4
imul ecx, ecx, 0x4e
sar edx, 7
mov eax, edx
shr eax, 0x1f
push str.C:WINDOWS_system32driversetc_service5.ini
add eax, edx
push 0x800
lea edx, [esp + 0x7e8]
push edx
sub eax, edi
push 0x446e9d
add eax, esi
push ebx
sub eax, ecx
push str.GameType1
mov dword [0x456830], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x7e0]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4045f6
sub eax, edx
mov dword [esp + 0xc], eax
je 0x404719
mov ecx, dword [0x45682c]
mov esi, dword [0x456834]
mov eax, 0xe1fc780f
imul esi, esi, 0x344
imul ecx
add edx, ecx
mov ecx, dword [0x456820]
sar edx, 9
imul ecx, ecx, 0x1ae
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, eax
sub edi, esi
sub edi, ecx
mov ecx, dword [str._r_____r____]
mov eax, 0x2d4279a3
imul ecx
sar edx, 6
mov eax, edx
lea ecx, [esp + 0x7e0]
shr eax, 0x1f
push ecx
add eax, edx
lea edx, [esp + 0x14]
sub edi, eax
push 0x1f4
push edx
mov dword [0x456838], edi
call fcn.0040cb60
mov edi, eax
add esp, 0xc
xor esi, esi
test edi, edi
jle 0x404719
jmp 0x404690
mov ecx, dword [0x456824]
mov eax, 0x4c8f8d29
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, eax
mov eax, 0x30c30c31
imul ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ebx, ecx
mov ecx, dword [0x45681c]
mov eax, 0x36b45a9b
imul ecx
mov ecx, dword [0x456838]
sar edx, 7
imul ecx, ecx, 0x235
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456830]
imul edx, edx, 0x1aa
sub ebx, eax
mov eax, dword [esp + esi*4 + 0x10]
add ebx, ecx
push eax
lea ecx, [esp + 0xfe4]
add ebx, edx
push ecx
mov dword [str._r_____r____], ebx
call fcn.0042af70
add esp, 8
test eax, eax
jne 0x404784
inc esi
cmp esi, edi
jl 0x404690
mov ecx, dword [0x45682c]
mov esi, dword [str._r_____r____]
mov eax, 0xe1fc780f
imul esi, esi, 0x358
imul ecx
add edx, ecx
mov ecx, dword [0x456818]
sar edx, 9
imul ecx, ecx, 0x1aa
mov eax, edx
shr eax, 0x1f
add eax, edx
add ecx, dword [0x456830]
mov edx, dword [0x456828]
imul edx, edx, 0x87
sub esi, eax
add ecx, esi
lea eax, [edx + ecx - 0x344]
mov dword [0x456824], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x17d4]
call fcn.0042a301
add esp, 0x17d8
ret
mov ecx, dword [0x456838]
mov esi, dword [0x45681c]
mov eax, 0x4c8f8d29
imul ecx
imul ecx, ecx, 0x235
sar edx, 8
mov edi, edx
shr edi, 0x1f
add edi, edx
mov eax, 0xe1fc780f
imul esi
add edx, esi
sar edx, 9
mov eax, edx
shr eax, 0x1f
add edi, edx
mov edx, dword [str._r_____r____]
add eax, edi
sub eax, ecx
mov ecx, dword [0x456830]
imul ecx, ecx, 0x1aa
add eax, ecx
mov ecx, dword [esp + 0x17e0]
sub eax, edx
add eax, 0x1e7
pop edi
pop esi
mov dword [0x45681c], eax
mov eax, 1
pop ebx
call fcn.0042a301
add esp, 0x17d8
ret