Function at 0x404e30
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x17d8
call fcn.0042acd0
mov eax, dword [0x458190]
mov ecx, dword [0x456834]
mov dword [esp + 0x17d4], eax
mov eax, 0x6cf5c25f
imul ecx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
push ebx
push esi
mov esi, dword [0x456820]
push edi
mov edi, eax
mov eax, 0x858372bd
imul esi
add edx, esi
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, eax
mov edx, esi
imul edx, edx, 0x2b747a3
sub ebx, edi
mov edi, dword [0x456830]
add ebx, edx
mov eax, 0x17908a77
imul ecx
sar edx, 0x16
mov eax, edi
imul eax, eax, 0x33d9a16
mov ecx, edx
shr ecx, 0x1f
add ebx, edx
mov edx, dword [0x45682c]
add ecx, ebx
sub ecx, eax
mov eax, 0x281003eb
imul edx
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [str._r_____r____]
mov dword [0x456818], ecx
imul ecx, ecx, 0x4b2efd8
imul edx, edx, 0x331ebb8
sub ecx, eax
add ecx, edx
mov eax, 0x62a5c8bd
imul esi
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
sub ecx, edi
mov edi, dword [esp + 0x17e8]
sub ecx, 0x2b747a3
test edi, edi
mov dword [0x456820], ecx
je 0x40525c
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404f14
sub eax, edx
mov dword [esp + 0xc], eax
je 0x40525c
mov ebx, dword [esp + 0x17ec]
test ebx, ebx
je 0x40525c
mov eax, ebx
lea edx, [eax + 1]
jmp 0x404f40
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404f40
sub eax, edx
mov dword [esp + 0xc], eax
je 0x40525c
mov ecx, dword [0x456838]
mov esi, dword [0x456824]
mov eax, 0x2757ae75
imul ecx
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
push ebp
mov ebp, eax
mov eax, 0x64db5f4b
imul esi
sub edx, esi
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
imul edx, edx, 0x2b747a3
sub eax, ebp
sub eax, edx
mov ebp, eax
mov eax, 0x4a704a7b
imul ecx
mov eax, dword [0x45681c]
imul eax, eax, 0x33d9718
sar edx, 0x16
mov esi, edx
shr esi, 0x1f
add ebp, edx
add esi, ebp
add esi, eax
lea ecx, [esp + 0xfe4]
mov dword [0x456828], esi
mov eax, edi
sub ecx, edi
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x404fc5
lea ecx, [esp + 0xfe4]
push ecx
call fcn.00404c80
imul esi, esi, 0x10ec18f
mov ecx, dword [0x45681c]
mov edi, dword [0x456824]
mov eax, 0x62a5c8bd
imul edi, edi, 0x298583a
imul ecx
mov ecx, dword [0x45682c]
add esp, 4
imul ecx, ecx, 0x2b747a3
sar edx, 0x18
mov eax, edx
push str.C:WINDOWS_system32driversetc_service5.ini
shr eax, 0x1f
push 0x800
add eax, edx
lea edx, [esp + 0x7ec]
push edx
sub edi, eax
push 0x446e1d
sub edi, ecx
push ebx
add edi, esi
push str.GameType1
mov dword [0x456830], edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x7e4]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405050
sub eax, edx
mov dword [esp + 0x10], eax
je 0x405179
mov esi, dword [0x456820]
mov eax, dword [0x456830]
imul esi, esi, 0x340e3f9
mov ecx, dword [str._r_____r____]
imul eax, eax, 0x34cd890
sub esi, eax
mov eax, 0x858372bd
imul ecx
add edx, ecx
sar edx, 0x18
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x456834]
imul edx, edx, 0x2b747a3
sub esi, ecx
mov ecx, dword [0x45682c]
sub esi, edx
mov eax, 0x4eff7f81
imul ecx
sar edx, 0x18
mov eax, edx
lea ecx, [esp + 0x7e4]
push ecx
add esi, edx
shr eax, 0x1f
lea edx, [esp + 0x18]
add eax, esi
push 0x1f4
push edx
mov dword [0x456838], eax
call fcn.0040cb20
mov edi, eax
add esp, 0xc
xor esi, esi
test edi, edi
jle 0x405179
lea esp, [esp]
mov ecx, dword [0x456824]
mov ebx, dword [0x456830]
mov eax, 0x281003eb
imul ebx, ebx, 0x340e3f9
imul ecx
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0x9b24a0b5
imul ecx
add edx, ecx
mov ecx, dword [0x456838]
imul ecx, ecx, 0xdc19cb
sar edx, 0x19
mov ebp, edx
add ebx, edx
shr ebp, 0x1f
add ebp, ebx
add ebp, ecx
mov ecx, dword [0x45682c]
mov eax, 0x4eff369
imul ecx
mov ecx, dword [esp + esi*4 + 0x14]
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add eax, edx
push ecx
lea edx, [esp + 0xfe8]
sub ebp, eax
push edx
mov dword [str._r_____r____], ebp
call fcn.0042a800
add esp, 8
test eax, eax
jne 0x4051e6
inc esi
cmp esi, edi
jl 0x4050f0
mov esi, dword [0x456828]
mov ecx, dword [0x456818]
imul esi, esi, 0x4b2efd8
mov edx, dword [str._r_____r____]
imul ecx, ecx, 0x340e3f9
imul edx, edx, 0x34cd890
add esi, ecx
mov ecx, dword [0x45682c]
add esi, edx
mov eax, 0x4eff7f81
imul ecx
mov ecx, dword [0x456834]
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add eax, edx
pop ebp
sub esi, eax
pop edi
lea edx, [esi + ecx - 0x2b747a3]
pop esi
mov dword [0x456824], edx
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x17d4]
call fcn.0042a3c1
add esp, 0x17d8
ret
mov ecx, dword [0x456838]
mov esi, dword [0x456830]
mov eax, 0x9b24a0b5
imul esi, esi, 0x340e3f9
imul ecx
add edx, ecx
imul ecx, ecx, 0xdc19cb
sar edx, 0x19
mov edi, edx
add esi, edx
shr edi, 0x1f
add edi, esi
sub edi, ecx
mov ecx, dword [0x45681c]
mov eax, 0x4eff7f81
imul ecx
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add edi, edx
mov edx, dword [0x456824]
add eax, edi
pop ebp
sub eax, edx
pop edi
add eax, 0x298583a
pop esi
mov dword [0x45681c], eax
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x17d4]
call fcn.0042a3c1
add esp, 0x17d8
ret
mov ecx, dword [esp + 0x17e0]
pop edi
pop esi
xor eax, eax
pop ebx
call fcn.0042a3c1
add esp, 0x17d8
ret