Function at 0x4042d0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x17d8
call fcn.0042a8f0
mov eax, dword [0x458190]
mov dword [esp + 0x17d4], eax
push ebx
mov ecx, dword [0x456830]
push esi
imul ecx, ecx, 0xd606
mov esi, dword [0x456834]
mov eax, 0x955f5465
imul esi
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
push edi
mov edi, eax
mov eax, 0x2dbafdc3
imul esi
sub edi, ecx
mov ecx, dword [0x456818]
sar edx, 0xd
imul ecx, ecx, 0xb323
add edi, edx
mov ebx, edx
shr ebx, 0x1f
add ebx, edi
mov edi, dword [0x456820]
add ebx, ecx
mov eax, 0x7fe60547
imul edi
sar edx, 0xe
add ebx, edx
mov ecx, edx
mov edx, dword [0x45682c]
shr ecx, 0x1f
add ecx, ebx
mov ebx, dword [str._r_____r____]
mov eax, 0x2760f26d
imul ebx, ebx, 0xd008
imul edx
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0xc0e2caa9
imul edi
mov dword [0x456818], ecx
imul ecx, ecx, 0x13350
add ebx, ecx
add edx, edi
mov edi, dword [esp + 0x17e8]
sar edx, 0xf
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ebx, ecx
sub ebx, esi
sub ebx, 0xb323
test edi, edi
mov dword [0x456820], ebx
je 0x40465b
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4043b4
sub eax, edx
mov dword [esp + 0xc], eax
je 0x40465b
mov ebx, dword [esp + 0x17ec]
test ebx, ebx
je 0x40465b
mov eax, ebx
lea edx, [eax + 1]
jmp 0x4043e0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4043e0
sub eax, edx
mov dword [esp + 0xc], eax
je 0x40465b
mov ecx, dword [0x456824]
mov eax, 0x4b226983
imul ecx
mov ecx, dword [0x456838]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, 0x658cf6d9
imul ecx
sub edx, ecx
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45681c]
imul edx, edx, 0xd308
push ebp
mov ebp, eax
sub ebp, esi
add ebp, edx
mov eax, 0x2419bc59
imul ecx
imul ecx, ecx, 0xb323
sar edx, 0xb
mov esi, edx
shr esi, 0x1f
add ebp, edx
add esi, ebp
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 0x404465
lea eax, [esp + 0xfe0]
push eax
call fcn.00404110
imul esi, esi, 0x801a
mov edi, dword [0x456824]
mov ecx, dword [0x45682c]
imul edi, edi, 0x7127
imul ecx, ecx, 0xb323
sub edi, ecx
mov ecx, dword [0x45681c]
mov eax, 0xc0e2caa9
imul ecx
add esp, 4
add edx, ecx
push str.C:WINDOWS_system32driversetc_service5.ini
sar edx, 0xf
push 0x800
mov eax, edx
lea ecx, [esp + 0x7e8]
push ecx
shr eax, 0x1f
add eax, edx
push 0x446e15
sub edi, eax
push ebx
add edi, esi
push str.GameType1
mov dword [0x456830], edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x7e0]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4044f0
sub eax, edx
mov dword [esp + 0xc], eax
je 0x404609
mov ecx, dword [0x45682c]
mov eax, 0x4da3463f
imul ecx
mov ecx, dword [0x456834]
sar edx, 0xe
imul ecx, ecx, 0xb323
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456820]
imul edx, edx, 0x5e7
mov esi, eax
sub esi, ecx
mov ecx, dword [str._r_____r____]
sub esi, edx
mov eax, 0x7fe60547
imul ecx
sar edx, 0xe
mov eax, edx
lea ecx, [esp + 0x7e0]
shr eax, 0x1f
push ecx
add eax, edx
lea edx, [esp + 0x14]
sub esi, eax
push 0x1f4
push edx
mov dword [0x456838], esi
call fcn.0040c9c0
mov edi, eax
add esp, 0xc
xor esi, esi
test edi, edi
jle 0x404609
lea ecx, [ecx]
mov ecx, dword [0x456824]
mov eax, 0x4b226983
imul ecx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45681c]
mov ebx, eax
mov eax, 0x4c8d67b3
imul edx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456830]
imul edx, edx, 0xd429
sub ebx, eax
add ebx, edx
mov eax, 0x2760f26d
imul ecx
mov ecx, dword [0x456838]
sar edx, 0xd
imul ecx, ecx, 0x38bb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + esi*4 + 0x10]
sub ebx, eax
push edx
lea eax, [esp + 0xfe4]
add ebx, ecx
push eax
mov dword [str._r_____r____], ebx
call fcn.0042ad20
add esp, 8
test eax, eax
jne 0x404673
inc esi
cmp esi, edi
jl 0x404580
mov esi, dword [str._r_____r____]
mov ecx, dword [0x456818]
imul esi, esi, 0xda10
imul ecx, ecx, 0xd429
add esi, ecx
mov ecx, dword [0x45682c]
mov eax, 0x4da3463f
imul ecx
mov ecx, dword [0x456828]
sar edx, 0xe
imul ecx, ecx, 0x13350
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
add esi, dword [0x456830]
lea edx, [ecx + esi - 0xb323]
mov dword [0x456824], edx
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x17d4]
call fcn.0042a0b1
add esp, 0x17d8
ret
mov ecx, dword [0x456838]
mov eax, 0x4b226983
imul ecx
imul ecx, ecx, 0x38bb
sar edx, 0xe
mov esi, edx
shr esi, 0x1f
add esi, edx
mov edx, dword [0x456830]
imul edx, edx, 0xd429
add esi, edx
mov edx, dword [0x45681c]
mov eax, 0x4da3463f
imul edx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add esi, edx
mov edx, dword [str._r_____r____]
add eax, esi
sub eax, ecx
mov ecx, dword [esp + 0x17e0]
sub eax, edx
add eax, 0xa9e2
pop edi
pop esi
mov dword [0x45681c], eax
mov eax, 1
pop ebx
call fcn.0042a0b1
add esp, 0x17d8
ret