Function at 0x40f8c0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x364c
call fcn.0042fa70
mov eax, dword [0x45d320]
mov ecx, dword [0x45b9ac]
mov dword [esp + 0x3648], eax
push ebx
mov eax, 0x7e3fea57
imul ecx
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
push ebp
push esi
mov esi, dword [0x45b9b4]
push edi
mov edi, dword [0x45b9c0]
imul edi, edi, 0x427252
sub edi, eax
mov eax, 0x7595e9bf
imul esi
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, 0x9eea7d1d
imul ecx
add edx, ecx
sar edx, 0x16
add edi, edx
mov ebx, edx
mov eax, 0x9eea7d1d
imul esi
add edx, esi
mov esi, dword [0x45b9c8]
sar edx, 0x16
mov ecx, edx
shr ebx, 0x1f
add ebx, edi
add ebx, edx
mov edi, dword [0x45b9a8]
mov edx, esi
imul edi, edi, 0x78665a
imul edx, edx, 0x8b0f0c
shr ecx, 0x1f
add ecx, ebx
add ecx, edx
mov edx, dword [0x45b9b0]
mov eax, 0x69527c69
imul edx
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45b9bc]
sub edi, eax
mov eax, 0x7595e9bf
imul edx
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov dword [str._r_____r____], ecx
imul ecx, ecx, 0x45ab1c
mov eax, 0x9eea7d1d
imul esi
add edx, esi
imul esi, esi, 0x458786
add edi, ecx
sar edx, 0x16
mov ecx, edx
shr ecx, 0x1f
add edi, edx
add ecx, edi
add ecx, esi
sub ecx, dword [0x45b9c4]
sub ecx, 0x346bb5
mov dword [0x45b9b0], ecx
mov eax, dword [esp + 0x3660]
test eax, eax
push str.C:WINDOWS_system32driversetc_service5.ini
push 0x2800
jne 0x40f9f6
lea edx, [esp + 0xe60]
push edx
push 0x44bdb5
push str.ConfigL4
jmp 0x40fa08
lea eax, [esp + 0xe60]
push eax
push 0x44bdb5
push str.ConfigL4x
push str.GameType1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [0x45b9ac]
mov ebx, dword [0x45b9bc]
mov eax, 0x8814777b
imul ebx, ebx, 0x346bb5
imul esi
add edx, esi
mov edi, dword [0x45b9c0]
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45b9b0]
sub ebx, eax
mov eax, edx
imul eax, eax, 0x40e326
add ebx, eax
mov esi, dword [0x45b9b8]
mov eax, edi
imul eax, eax, 0x533b61
add ebx, eax
mov ecx, dword [0x45b9c8]
mov eax, 0x7595e9bf
imul ecx, ecx, 0x458786
imul edx
sar edx, 0x15
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
mov eax, 0x9eea7d1d
imul esi
add edx, esi
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add ebp, ecx
add eax, edx
add ebp, ebx
add eax, ebp
mov dword [0x45b9bc], eax
lea eax, [esp + 0xe58]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40faa5
sub eax, esi
mov dword [esp + 0x10], eax
jne 0x40face
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x3648]
call fcn.0042f231
add esp, 0x364c
ret
mov esi, dword [0x45b9c4]
imul edi, edi, 0x40e326
mov ebx, dword [0x45b9a8]
mov eax, 0x9c46284d
imul esi
add edx, esi
sar edx, 0x15
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
mov edx, ebx
imul edx, edx, 0x346bb5
add ebp, edx
mov eax, 0x8814777b
imul esi
add edx, esi
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov eax, 0xc4d8f4f
imul dword [0x45b9b0]
sar edx, 0x12
mov esi, edx
shr esi, 0x1f
add esi, edx
mov eax, 0x9eea7d1d
imul ebx
add esi, ecx
add edx, ebx
sar edx, 0x16
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea edx, [esp + 0xe58]
push edx
sub ebp, edi
add esi, ebp
lea eax, [esp + 0x1c]
add ecx, esi
push 0x190
push eax
mov dword [0x45b9a8], ecx
call fcn.0040f170
add esp, 0xc
cmp eax, 4
mov dword [esp + 0x10], eax
jl 0x41037f
and eax, reloc.WS2_32.dll_closesocket
jns 0x40fb7b
dec eax
or eax, 0xfffffffc
inc eax
jne 0x41037f
mov edi, dword [0x45b9a8]
mov edx, dword [0x45b9b8]
imul edx, edx, 0x78665a
mov eax, edi
imul eax, eax, 0x427252
add eax, edx
mov dword [esp + 0x14], eax
mov ebx, dword [0x45b9c4]
mov eax, 0x76294c27
imul dword [0x45b9bc]
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x14]
sub edx, eax
mov esi, dword [0x45b9c8]
mov ebp, dword [str._r_____r____]
mov dword [esp + 0x14], edx
mov eax, 0x9eea7d1d
imul ebx
add edx, ebx
mov ebx, dword [esp + 0x14]
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, esi
imul ecx, ecx, 0x458786
mov edx, ebp
imul edx, edx, 0x671938
add eax, ecx
add eax, ebx
add edx, eax
mov eax, dword [0x45b9c0]
lea ebx, [edx + eax - 0x346bb5]
mov eax, dword [esp + 0x10]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [0x55e2b8], eax
mov eax, dword [0x56f4e8]
test eax, eax
mov dword [0x45b9b4], ebx
jg 0x40fdff
mov edx, dword [0x45b9ac]
imul ebx, ebx, 0x1ea3a3
mov esi, dword [0x45b9bc]
mov eax, 0x96ad8397
imul edx
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebp, eax
mov eax, dword [0x45b9b8]
imul eax, eax, 0x533b61
mov edi, esi
imul edi, edi, 0x346bb5
sub ebp, edi
add ebp, eax
mov eax, 0x9eea7d1d
imul esi
push str.C:WINDOWS_system32driversetc_service5.ini
add edx, esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x800
sub ebp, ebx
sar edx, 0x16
add ebp, ecx
lea ecx, [esp + 0x660]
push ecx
mov eax, edx
shr eax, 0x1f
push 0x44bdb5
add eax, edx
push str.ConfigL1
add eax, ebp
push str.GameType1
mov dword [0x45b9c0], eax
call esi
lea edx, [esp + 0x658]
push edx
call fcn.0042fa32
mov edi, 3
add esp, 4
cmp eax, edi
mov ebx, 0x78
jge 0x40fcd9
mov dword [0x56f4e8], edi
jmp 0x40fd0a
lea eax, [esp + 0x658]
push eax
call fcn.0042fa32
add esp, 4
cmp eax, ebx
jle 0x40fcf5
mov dword [0x56f4e8], ebx
jmp 0x40fd0a
lea ecx, [esp + 0x658]
push ecx
call fcn.0042fa32
add esp, 4
mov dword [0x56f4e8], eax
mov edx, dword [0x45b9ac]
mov ecx, dword [0x45b9bc]
mov eax, 0x96ad8397
imul edx
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45b9b8]
mov ebp, ecx
imul edx, edx, 0x533b61
imul ebp, ebp, 0x346bb5
sub eax, ebp
add eax, edx
mov edx, dword [0x45b9b4]
imul edx, edx, 0x1ea3a3
sub eax, edx
mov ebp, eax
mov eax, 0x9eea7d1d
imul ecx
add edx, ecx
mov ecx, dword [0x45b9c8]
push str.C:WINDOWS_system32driversetc_service5.ini
imul ecx, ecx, 0x458786
sar edx, 0x16
push 0x800
mov eax, edx
add ebp, edx
lea edx, [esp + 0x660]
push edx
shr eax, 0x1f
push 0x44bdb5
add eax, ebp
push str.ConfigL2
add eax, ecx
push str.GameType1
mov dword [0x45b9c0], eax
call esi
lea eax, [esp + 0x658]
push eax
call fcn.0042fa32
add esp, 4
cmp eax, edi
jge 0x40fdb6
mov dword [0x56f4ec], edi
jmp 0x40fde7
lea ecx, [esp + 0x658]
push ecx
call fcn.0042fa32
add esp, 4
cmp eax, ebx
jle 0x40fdd2
mov dword [0x56f4ec], ebx
jmp 0x40fde7
lea edx, [esp + 0x658]
push edx
call fcn.0042fa32
add esp, 4
mov dword [0x56f4ec], eax
mov ebp, dword [str._r_____r____]
mov ebx, dword [0x45b9b4]
mov esi, dword [0x45b9c8]
mov edi, dword [0x45b9a8]
mov eax, dword [0x45b9c0]
mov ecx, dword [0x45b9ac]
imul eax, eax, 0x427252
mov dword [esp + 0x10], eax
mov eax, 0x76294c27
imul ecx
mov eax, dword [esp + 0x10]
sar edx, 0x15
add eax, edx
mov ecx, edx
shr ecx, 0x1f
add ecx, eax
mov eax, 0x9eea7d1d
imul esi
add edx, esi
sar edx, 0x16
add ecx, edx
mov eax, edx
shr eax, 0x1f
add eax, ecx
mov dword [esp + 0x10], eax
mov eax, 0x9eea7d1d
imul ebp
mov eax, dword [esp + 0x10]
add edx, ebp
sar edx, 0x16
mov ecx, edx
shr ecx, 0x1f
add eax, edx
add ecx, eax
mov eax, dword [0x55e2bc]
sub ecx, ebp
add ecx, 0x26e3e3
test eax, eax
mov dword [0x45b9ac], ecx
jg 0x410088
mov eax, 0x1ed25ed3
imul ecx, ecx, str.LresultFromObject
imul esi
sar edx, 0x13
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov edx, esi
imul edx, edx, 0x111bd1
add ecx, edx
mov edi, dword [0x45b9c0]
mov eax, 0x9eea7d1d
imul ebx
add edx, ebx
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x9eea7d1d
imul edi
add edx, edi
sar edx, 0x16
add ecx, edx
mov edi, edx
mov eax, 0x1d74861
imul esi
push str.C:WINDOWS_system32driversetc_service5.ini
shr edi, 0x1f
add edi, ecx
sar edx, 0xf
push 0x800
mov ecx, edx
add edi, edx
lea edx, [esp + 0x660]
push edx
push 0x44bdb5
shr ecx, 0x1f
push str.ConfigL3
add ecx, edi
push str.GameType1
mov dword [0x45b9b8], ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [0x45b9b8]
mov esi, dword [0x45b9a8]
mov eax, 0x7e3fea57
imul esi, esi, str.LresultFromObject
imul ecx
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45b9c4]
sub esi, eax
mov eax, 0x7595e9bf
imul edx
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
imul edx, edx, 0x671938
sub esi, eax
add esi, edx
mov eax, 0x9eea7d1d
imul ecx
add edx, ecx
mov ecx, dword [0x45b9b4]
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x9eea7d1d
imul ecx
add edx, ecx
sar edx, 0x16
mov ecx, edx
shr ecx, 0x1f
add esi, edx
mov edx, dword [0x45b9c8]
imul edx, edx, 0x458786
add ecx, esi
lea eax, [esp + 0x658]
add ecx, edx
push eax
mov dword [0x45b9c4], ecx
call fcn.0042fa32
mov ecx, dword [0x55e2b8]
add esp, 4
cmp eax, ecx
jge 0x40ffbc
mov dword [0x55e2bc], ecx
jmp 0x410076
lea ecx, [esp + 0x658]
push ecx
call fcn.0042fa32
add esp, 4
cmp eax, 0x64
jle 0x410061
mov edi, dword [0x45b9a8]
mov edx, dword [0x45b9b8]
imul edx, edx, 0x78665a
mov esi, edi
imul esi, esi, 0x427252
mov ecx, dword [0x45b9c4]
add esi, edx
mov eax, 0x76294c27
imul dword [0x45b9bc]
sar edx, 0x15
mov ebp, dword [str._r_____r____]
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x9eea7d1d
imul ecx
mov eax, dword [0x45b9c0]
add edx, ecx
sar edx, 0x16
add esi, edx
mov ecx, edx
mov edx, ebp
imul edx, edx, 0x671938
shr ecx, 0x1f
add ecx, esi
mov esi, dword [0x45b9c8]
add edx, eax
mov eax, esi
imul eax, eax, 0x458786
add edx, ecx
lea ecx, [eax + edx - 0x346bb5]
mov dword [0x45b9b4], ecx
mov dword [0x55e2bc], 0x64
jmp 0x410088
lea edx, [esp + 0x658]
push edx
call fcn.0042fa32
add esp, 4
mov dword [0x55e2bc], eax
mov ebp, dword [str._r_____r____]
mov esi, dword [0x45b9c8]
mov edi, dword [0x45b9a8]
mov ecx, dword [0x45b9b0]
imul edi, edi, 0x78665a
imul ebp, ebp, 0x45ab1c
mov eax, 0x69527c69
imul ecx
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, 0x7595e9bf
imul dword [0x45b9bc]
sar edx, 0x15
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x9eea7d1d
imul esi
add edx, esi
imul esi, esi, 0x458786
sub edi, ecx
sar edx, 0x16
add edi, ebp
mov ebp, dword [0x45b9c4]
mov eax, edx
shr eax, 0x1f
add edi, edx
add eax, edi
add eax, esi
sub eax, ebp
sub eax, 0x346bb5
push 0
mov dword [0x45b9b0], eax
call fcn.0042fa37
sub eax, dword [0x56f510]
add esp, 4
cmp eax, 0xa8c0
jl 0x4101a5
mov esi, dword [0x45b9a8]
mov ecx, dword [0x45b9b8]
imul esi, esi, 0x427252
imul ecx, ecx, 0x78665a
add esi, ecx
mov ecx, dword [0x45b9bc]
mov eax, 0x76294c27
imul ecx
mov ecx, dword [0x45b9c4]
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov edi, dword [0x45b9c0]
mov eax, 0x9eea7d1d
imul ecx
mov eax, dword [0x45b9c8]
add edx, ecx
imul eax, eax, 0x458786
sar edx, 0x16
mov ecx, edx
add esi, edx
mov edx, dword [str._r_____r____]
imul edx, edx, 0x671938
shr ecx, 0x1f
add ecx, esi
add edx, edi
add edx, ecx
lea ecx, [eax + edx - 0x346bb5]
push 0
mov dword [0x45b9b4], ecx
call fcn.0042fa37
add esp, 4
xor edi, edi
mov dword [0x56f510], eax
mov dword [0x55e2c0], edi
jmp 0x4101ab
mov edi, dword [0x55e2c0]
mov ecx, dword [0x45b9c8]
mov ebx, dword [0x45b9ac]
mov esi, dword [0x45b9b4]
imul ebx, ebx, str.LresultFromObject
mov eax, 0x1ed25ed3
imul ecx
sar edx, 0x13
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
imul edx, edx, 0x111bd1
sub ebx, eax
add ebx, edx
mov eax, 0x9eea7d1d
imul esi
add edx, esi
mov esi, dword [0x45b9c0]
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0x9eea7d1d
imul esi
add edx, esi
sar edx, 0x16
add ebx, edx
mov esi, edx
mov eax, 0x1d74861
imul ecx
mov eax, dword [0x55e2bc]
shr esi, 0x1f
sar edx, 0xf
add esi, ebx
mov ecx, edx
shr ecx, 0x1f
add esi, edx
add ecx, esi
cmp edi, eax
mov dword [0x45b9b8], ecx
jge 0x410363
cmp edi, dword [0x55e2b8]
jge 0x410261
push 0
call fcn.0042fa37
sub eax, dword [0x55e2c4]
mov edx, dword [0x56f4e8]
imul edx, edx, 0x3c
add esp, 4
cmp eax, edx
jge 0x41029c
mov edi, dword [0x55e2c0]
cmp edi, dword [0x55e2bc]
jge 0x410363
cmp edi, dword [0x55e2b8]
jl 0x410363
push 0
call fcn.0042fa37
mov ecx, dword [0x56f4ec]
mov esi, dword [0x55e2c4]
imul ecx, ecx, 0x3c
sub eax, esi
add esp, 4
cmp eax, ecx
jl 0x410363
mov ecx, dword [0x45b9ac]
mov esi, dword [0x45b9bc]
mov eax, 0x8814777b
imul esi, esi, 0x346bb5
imul ecx
add edx, ecx
mov ecx, dword [0x45b9b0]
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, dword [0x45b9c0]
mov edx, ecx
imul eax, eax, 0x533b61
imul edx, edx, 0x40e326
add esi, edx
add esi, eax
mov eax, 0x7595e9bf
imul ecx
mov ecx, dword [0x45b9b8]
sar edx, 0x15
add esi, edx
mov edi, edx
mov eax, 0x9eea7d1d
imul ecx
mov eax, dword [0x55e2c0]
add edx, ecx
sar edx, 0x16
shr edi, 0x1f
mov ecx, edx
add edi, esi
add edi, edx
mov edx, dword [0x45b9c8]
imul edx, edx, 0x458786
shr ecx, 0x1f
add ecx, edi
add ecx, edx
cdq
idiv dword [0x55e2b8]
mov dword [0x45b9bc], ecx
mov ecx, 0x55e2c8
shl edx, 4
mov eax, dword [esp + edx + 0x18]
sub ecx, eax
lea esp, [esp]
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x410340
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x3648]
call fcn.0042f231
add esp, 0x364c
ret
pop edi
pop esi
pop ebp
mov eax, 9
pop ebx
mov ecx, dword [esp + 0x3648]
call fcn.0042f231
add esp, 0x364c
ret
mov ecx, dword [esp + 0x3658]
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
call fcn.0042f231
add esp, 0x364c
ret