Function at 0x404500
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x17d8
call fcn.00429a50
mov eax, dword [0x456fc0]
mov dword [esp + 0x17d4], eax
push ebx
push ebp
mov ebp, dword [0x45569c]
mov eax, 0x3949660b
imul ebp
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
push esi
mov ebx, eax
push edi
mov edi, dword [0x4556a0]
mov esi, dword [0x455690]
mov ecx, edi
imul ecx, ecx, 0x217
sub ebx, ecx
mov ecx, dword [0x4556a4]
mov eax, 0x42776e9b
imul ecx
sar edx, 7
mov eax, dword [str._r_____r____]
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, esi
imul edx, edx, 0xb8
sub ebx, ecx
mov ecx, dword [0x455688]
sub ebx, edx
add ebx, eax
add ecx, ebx
mov ebx, dword [0x4556a8]
mov eax, ebx
imul eax, eax, 0x246
mov dword [esp + 0x10], eax
mov eax, 0x709ad4e5
imul ebp
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x10]
sub edx, eax
mov dword [esp + 0x10], edx
mov ebp, dword [esp + 0x17ec]
mov eax, 0x8c55841d
imul esi
add edx, esi
sar edx, 8
mov eax, edx
mov dword [0x455688], ecx
imul ecx, ecx, 0x1ed
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x10]
sub edx, eax
add edx, ecx
sub edx, edi
sub edx, 0xb8
test ebp, ebp
mov dword [0x455690], edx
je 0x404892
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4045f1
sub eax, edx
mov dword [esp + 0x10], eax
je 0x404892
mov eax, dword [esp + 0x17f0]
test eax, eax
je 0x404892
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404616
sub eax, edx
mov dword [esp + 0x10], eax
je 0x404892
mov eax, 0x3d3fa421
imul edi, edi, 0x14f
imul ebx
imul ebx, ebx, 0xb8
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, ecx
mov ecx, dword [0x455698]
mov dword [esp + 0x10], eax
mov eax, 0x6d978b8f
imul ecx
mov ecx, dword [0x455694]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, dword [esp + 0x10]
sub esi, eax
mov eax, 0xe070381d
imul ecx
add edx, ecx
sar edx, 7
add esi, edi
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub esi, ebx
sub esi, ecx
lea ecx, [esp + 0xfe4]
mov dword [0x455698], esi
mov eax, ebp
sub ecx, ebp
jmp 0x4046a0
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x4046a0
lea edx, [esp + 0xfe4]
push edx
call fcn.00404330
imul esi, esi, 0x59
mov ecx, dword [0x45568c]
mov eax, 0x8c55841d
imul ecx
add edx, ecx
mov ecx, dword [str._r_____r____]
add esp, 4
imul ecx, ecx, 0x1d3
sar edx, 8
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 ecx, eax
mov eax, dword [esp + 0x17fc]
push 0x445dd9
push eax
add ecx, esi
push str.GameType1
mov dword [0x4556a0], ecx
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 0x404720
sub eax, edx
mov dword [esp + 0x10], eax
je 0x40483e
mov ecx, dword [str._r_____r____]
mov esi, dword [0x455690]
mov eax, 0x3949660b
imul esi, esi, 0x217
imul ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub esi, ecx
mov ecx, dword [0x455698]
mov eax, 0xc3a13de7
imul ecx
add edx, ecx
mov ecx, dword [0x4556a0]
imul ecx, ecx, 0x14a
sar edx, 8
mov eax, edx
shr eax, 0x1f
add esi, edx
add eax, esi
sub eax, ecx
lea edx, [esp + 0x7e4]
push edx
mov dword [0x4556a8], eax
lea eax, [esp + 0x18]
push 0x1f4
push eax
call fcn.0040c150
mov edi, eax
add esp, 0xc
xor esi, esi
test edi, edi
jle 0x40483e
lea esp, [esp]
mov ecx, dword [0x455690]
mov ebx, dword [0x45568c]
mov eax, 0x709ad4e5
imul ebx, ebx, 0x217
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ebx, ecx
mov ecx, dword [0x45569c]
mov eax, 0x3d3fa421
imul ecx
mov ecx, dword [0x4556a8]
sar edx, 7
imul ecx, ecx, 0x12b
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
add ebx, ecx
mov ecx, dword [0x455694]
mov eax, 0xe070381d
imul ecx
add edx, ecx
mov ecx, dword [esp + esi*4 + 0x14]
sar edx, 7
mov eax, edx
add ebx, edx
shr eax, 0x1f
push ecx
lea edx, [esp + 0xfe8]
add eax, ebx
push edx
mov dword [str._r_____r____], eax
call fcn.00429e80
add esp, 8
test eax, eax
jne 0x4048ab
inc esi
cmp esi, edi
jl 0x4047b0
mov esi, dword [0x45568c]
mov edx, dword [0x455698]
imul esi, esi, 0x217
mov ecx, dword [0x45569c]
imul edx, edx, 0x1ed
add esi, edx
mov eax, 0xc3a13de7
imul ecx
add edx, ecx
mov ecx, dword [str._r_____r____]
sar edx, 8
imul ecx, ecx, 0x92
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
add esi, dword [0x4556a4]
lea edx, [ecx + esi - 0xb8]
mov dword [0x455694], edx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x17d4]
call fcn.004291fd
add esp, 0x17d8
ret
mov ecx, dword [0x45568c]
mov esi, dword [0x4556a0]
mov eax, 0xc3a13de7
imul esi, esi, 0x217
imul ecx
mov eax, dword [0x4556a8]
add edx, ecx
imul eax, eax, 0x12b
mov ecx, dword [0x455690]
sar edx, 8
mov edi, edx
add esi, edx
shr edi, 0x1f
add edi, esi
sub edi, eax
mov eax, 0xe070381d
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edi, edx
mov edx, dword [0x455694]
add ecx, edi
sub ecx, edx
pop edi
add ecx, 0x1d3
pop esi
mov dword [0x45568c], ecx
mov ecx, dword [esp + 0x17dc]
pop ebp
mov eax, 1
pop ebx
call fcn.004291fd
add esp, 0x17d8
ret