Function at 0x404b00
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x17d8
call fcn.0042f460
mov eax, dword [0x45d320]
mov dword [esp + 0x17d4], eax
push ebx
push ebp
push esi
push edi
mov ebp, dword [0x45b9b0]
mov eax, 0xf5f5c9f5
imul ebp
add edx, ebp
sar edx, 0x13
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov esi, dword [0x45b9a8]
mov eax, 0x6352a551
imul esi
imul esi, esi, 0x53d95
sar edx, 0x12
add ecx, edx
mov eax, edx
shr eax, 0x1f
add eax, ecx
mov dword [esp + 0x10], eax
mov eax, 0x61b317a1
imul dword [0x45b9c4]
mov eax, dword [esp + 0x10]
sar edx, 0x11
add eax, edx
mov ecx, edx
shr ecx, 0x1f
add ecx, eax
mov eax, 0x2a7feb
imul dword [0x45b9c4]
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45b9c0]
imul edx, edx, 0x67dee
add ecx, esi
mov esi, dword [0x45b9bc]
sub ecx, eax
sub ecx, edx
mov eax, 0x92ea28a3
imul esi
add edx, esi
mov esi, dword [str._r_____r____]
mov ebx, dword [0x45b9c8]
imul esi, esi, 0x6f854
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x10779897
imul ebp
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov edi, ebx
imul edi, edi, 0x6f3fe
mov eax, 0x6352a551
imul ebx
add ecx, edi
mov dword [0x45b9a8], ecx
imul ecx, ecx, 0xc0c12
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add esi, edx
add eax, esi
add eax, ecx
sub eax, dword [0x45b9c4]
lea ecx, [eax + edi - 0x53d95]
mov dword [0x45b9b0], ecx
mov ecx, dword [esp + 0x17ec]
test ecx, ecx
je 0x404f5e
mov esi, ecx
lea edx, [esi + 1]
lea ebx, [ebx]
mov al, byte [esi]
inc esi
test al, al
jne 0x404c30
sub esi, edx
mov dword [esp + 0x10], esi
je 0x404f5e
mov ebp, dword [esp + 0x17f0]
test ebp, ebp
je 0x404f5e
mov esi, ebp
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x404c57
sub esi, edx
mov dword [esp + 0x10], esi
je 0x404f5e
mov eax, 0x24d17191
imul ebx
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45b9ac]
imul edx, edx, 0x6ef8e
add eax, edx
mov edx, dword [0x45b9b4]
mov dword [esp + 0x10], eax
mov eax, 0x6352a551
imul edx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x10]
sub edx, eax
mov dword [esp + 0x10], edx
mov eax, 0x6352a551
imul dword [0x45b9c0]
mov eax, dword [esp + 0x10]
sar edx, 0x12
add eax, edx
mov esi, edx
mov edx, ebx
imul edx, edx, 0x1b669
shr esi, 0x1f
add esi, eax
add esi, edx
mov eax, 0x2682f007
imul ebx
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
lea edx, [esp + 0xfe4]
mov dword [0x45b9b8], esi
mov eax, ecx
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x404cf7
lea ecx, [esp + 0xfe4]
push ecx
call fcn.004048e0
imul esi, esi, 0x85399
mov ecx, dword [0x45b9ac]
mov eax, 0x10779897
imul ecx
mov ecx, dword [0x45b9bc]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x6352a551
imul ecx
imul ecx, ecx, 0x53d95
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add esi, edx
add eax, esi
sub eax, ecx
mov ecx, dword [0x45b9b4]
add esp, 4
imul ecx, ecx, 0x3110b
push str.C:WINDOWS_system32driversetc_service5.ini
push 0x800
lea edx, [esp + 0x7ec]
push edx
push 0x44bdb5
sub eax, ecx
push ebp
add eax, edi
push str.GameType1
mov dword [0x45b9c0], eax
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 0x404d93
sub eax, edx
mov dword [esp + 0x10], eax
je 0x404ee2
mov ecx, dword [0x45b9bc]
mov esi, dword [0x45b9c8]
mov eax, 0x93a3ffdd
imul esi, esi, 0x6f3fe
imul ecx
add edx, ecx
mov ecx, dword [str._r_____r____]
sar edx, 0x12
mov edi, edx
add esi, edx
mov eax, 0xf5f5c9f5
imul ecx
add edx, ecx
mov ecx, dword [0x45b9b0]
sar edx, 0x13
mov eax, edx
shr eax, 0x1f
add eax, edx
shr edi, 0x1f
add edi, esi
sub edi, eax
mov eax, 0x6352a551
imul ecx
imul ecx, ecx, 0x3a996
sar edx, 0x12
mov eax, edx
add edi, edx
mov edx, dword [0x45b9c4]
imul edx, edx, 0x53d95
shr eax, 0x1f
add eax, edi
sub eax, edx
sub eax, ecx
mov dword [0x45b9c8], eax
lea eax, [esp + 0x7e4]
push eax
lea ecx, [esp + 0x18]
push 0x1f4
push ecx
call fcn.0040ee40
mov edi, eax
add esp, 0xc
xor esi, esi
test edi, edi
jle 0x404ee2
mov ecx, dword [0x45b9b4]
mov ebx, dword [0x45b9c8]
mov eax, 0x92ea28a3
imul ebx, ebx, 0xde7fc
imul ecx
add edx, ecx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0x6352a551
imul ecx
mov ecx, dword [0x45b9ac]
sar edx, 0x12
add ebx, edx
mov ebp, edx
mov eax, 0x6352a551
imul ecx
sar edx, 0x12
shr ebp, 0x1f
add ebp, ebx
mov ebx, edx
add ebp, edx
mov edx, dword [0x45b9c0]
imul edx, edx, 0x6a5ba
shr ebx, 0x1f
add ebx, ebp
add ebx, edx
mov eax, 0x9dbc161
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 ebx, eax
push edx
mov dword [str._r_____r____], ebx
call fcn.0042f890
add esp, 8
test eax, eax
jne 0x404f77
inc esi
cmp esi, edi
jl 0x404e42
mov ecx, dword [0x45b9bc]
mov esi, dword [0x45b9c8]
mov eax, 0x93a3ffdd
imul esi, esi, 0x6f3fe
imul ecx
add edx, ecx
mov ecx, dword [str._r_____r____]
sar edx, 0x12
imul ecx, ecx, 0xa4f50
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov edi, dword [0x45b9c0]
add esi, ecx
mov ecx, dword [0x45b9c4]
mov eax, 0x6352a551
imul ecx
mov ecx, dword [0x45b9a8]
sar edx, 0x12
imul ecx, ecx, 0x6a5ba
add esi, edx
mov eax, edx
mov edx, dword [0x45b9b8]
imul edx, edx, 0xc0c12
shr eax, 0x1f
add eax, esi
add ecx, edi
add ecx, eax
lea eax, [edx + ecx - 0x53d95]
mov dword [0x45b9b4], eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x17d4]
call fcn.0042ec21
add esp, 0x17d8
ret
mov ecx, dword [0x45b9ac]
mov eax, 0x93a3ffdd
imul ecx
add edx, ecx
mov ecx, dword [str._r_____r____]
sar edx, 0x12
mov esi, edx
shr esi, 0x1f
add esi, edx
mov eax, 0x6352a551
imul ecx
sar edx, 0x12
add esi, edx
mov edi, edx
mov edx, dword [0x45b9c8]
mov eax, 0x6352a551
imul edx
shr edi, 0x1f
sar edx, 0x12
add edi, esi
add edi, edx
mov eax, edx
mov edx, dword [0x45b9c0]
imul edx, edx, 0x6a5ba
shr eax, 0x1f
add eax, edi
add eax, edx
sub eax, ecx
mov ecx, dword [esp + 0x17e4]
pop edi
add eax, 0x3e2f3
pop esi
pop ebp
mov dword [0x45b9ac], eax
mov eax, 1
pop ebx
call fcn.0042ec21
add esp, 0x17d8
ret