Function at 0x410c60
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x3648
call fcn.00432190
mov eax, dword [0x460640]
xor eax, esp
mov dword [esp + 0x3644], eax
mov ecx, dword [0x45ebcc]
push ebx
push ebp
push esi
mov esi, dword [0x45ebd8]
mov eax, 0x98f19603
imul esi
add edx, esi
sar edx, 0x13
push edi
mov edi, edx
shr edi, 0x1f
add edi, edx
mov eax, 0x98f19603
imul ecx
add edx, ecx
mov ecx, dword [0x45ebd4]
sar edx, 0x13
add edi, edx
mov ebx, dword [0x45ebe0]
mov ebp, edx
mov eax, 0x7af682a5
imul ecx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
shr ebp, 0x1f
add ebp, edi
sub ebp, eax
mov edx, ebx
imul edx, edx, 0x852b6
sub ebp, edx
mov edi, dword [0x45ebe8]
mov eax, 0x64ddc525
imul ecx
mov eax, dword [0x45ebdc]
imul eax, eax, 0x14957d
sar edx, 0x12
add ebp, edx
mov ecx, edx
shr ecx, 0x1f
add ecx, ebp
add ecx, eax
mov eax, 0x98f19603
imul edi
mov dword [0x45ebc4], ecx
imul ecx, ecx, 0xd63fb
add edx, edi
sar edx, 0x13
mov ebp, edi
imul ebp, ebp, 0x6e773
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
sub ebp, ecx
mov ecx, dword [0x45ebd0]
mov eax, 0x7d19681
imul ecx
sar edx, 0xe
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0xaf53e355
imul esi
add edx, esi
sar edx, 0x13
mov eax, edx
shr eax, 0x1f
sub ebp, ecx
mov ecx, dword [0x45ebe4]
add eax, edx
imul ecx, ecx, 0xdae0a
add eax, ebx
add eax, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ecx + eax - 0xbae55]
mov eax, dword [esp + 0x365c]
test eax, eax
push str.C:_WINDoWS_system32driversetc_serViCe5.ini
mov dword [0x45ebd0], edx
push 0x2800
jne 0x410da2
lea eax, [esp + 0xe5c]
push eax
push 0x44ee89
push str.ConfigL4
jmp 0x410db4
lea ecx, [esp + 0xe5c]
push ecx
push 0x44ee89
push str.ConfigL4x
push str.GameType1
call ebp
mov esi, dword [0x45ebd0]
mov eax, 0x98f19603
imul esi
mov ecx, dword [0x45ebcc]
add edx, esi
sar edx, 0x13
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov edx, dword [0x45ebc4]
imul edx, edx, 0xbae55
mov edi, dword [0x45ebe4]
add ebx, edx
mov eax, 0x4adacc0f
imul ecx
imul ecx, ecx, 0x10a7ca
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0x64ddc525
imul edi
add ebx, ecx
sar edx, 0x12
add ebx, edx
mov ecx, edx
mov edx, dword [0x45ebc8]
imul edx, edx, 0xf08a4
shr ecx, 0x1f
add ecx, ebx
add ecx, edx
lea eax, [esp + 0xe54]
mov dword [0x45ebdc], ecx
lea ebx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x410e40
sub eax, ebx
mov dword [esp + 0x10], eax
jne 0x410e57
or eax, 0xffffffff
jmp 0x4116bc
mov ebx, dword [0x45ebe0]
mov eax, ebx
imul eax, eax, 0x16c72
mov dword [esp + 0x10], eax
mov eax, 0x1ec1ffc5
imul esi
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, dword [esp + 0x10]
sub esi, eax
mov eax, 0xaf53e355
imul edi
add edx, edi
sar edx, 0x13
mov edi, edx
add esi, edx
mov edx, dword [0x45ebd8]
imul edx, edx, 0xbae55
shr edi, 0x1f
add edi, esi
add edi, edx
mov eax, 0x4adacc0f
imul ebx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, 0x441d07d
imul ecx
sar edx, 0xe
mov ecx, edx
add edi, edx
lea edx, [esp + 0xe54]
push edx
shr ecx, 0x1f
lea eax, [esp + 0x18]
add ecx, edi
push 0x190
push eax
mov dword [0x45ebc8], ecx
call fcn.004104f0
mov esi, eax
add esp, 0xc
cmp esi, 4
jl 0x4116b7
mov ecx, esi
and ecx, reloc.WS2_32.dll_closesocket
jns 0x410f05
dec ecx
or ecx, 0xfffffffc
inc ecx
jne 0x4116b7
mov ecx, dword [0x45ebc8]
mov ebx, dword [0x45ebc4]
mov edi, dword [0x45ebe8]
imul ebx, ebx, 0x1b5c14
mov edx, ecx
imul edx, edx, 0x852b6
sub ebx, edx
mov eax, edi
imul eax, eax, 0xa26ed
add ebx, eax
mov eax, 0x64ddc525
imul dword [0x45ebdc]
sar edx, 0x12
add ebx, edx
mov eax, edx
shr eax, 0x1f
add eax, ebx
mov ebx, eax
mov eax, 0x2a9f6a15
imul dword [0x45ebdc]
sar edx, 0x11
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45ebe4]
sub ebx, eax
lea eax, [ebx + edx + 0xbae55]
mov dword [0x45ebd4], eax
mov eax, esi
cdq
mov ebx, 3
and edx, ebx
add eax, edx
sar eax, 2
mov dword [0x5615d8], eax
mov eax, dword [0x572808]
test eax, eax
jg 0x41116c
mov esi, dword [0x45ebd0]
imul ecx, ecx, 0x6e773
mov edx, dword [0x45ebd4]
mov eax, esi
sub eax, edx
imul eax, eax, 0x82f7d
add eax, ecx
mov dword [esp + 0x10], eax
mov eax, 0x7af682a5
imul edi
mov eax, dword [esp + 0x10]
sar edx, 0x12
add eax, edx
mov ecx, edx
shr ecx, 0x1f
add ecx, eax
mov eax, 0x7d19681
imul esi
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45ebcc]
sub ecx, eax
imul edx, edx, 0xbae55
mov eax, dword [0x45ebd8]
imul eax, eax, 0xf08a4
sub ecx, edx
push str.C:_WINDoWS_system32driversetc_serViCe5.ini
add ecx, eax
push 0x800
mov dword [0x45ebe0], ecx
lea ecx, [esp + 0x65c]
push ecx
push 0x44ee89
push str.ConfigL1
push str.GameType1
call ebp
lea edx, [esp + 0x654]
push edx
call fcn.00432152
add esp, 4
cmp eax, ebx
mov esi, 0x78
jge 0x41104b
mov dword [0x572808], ebx
jmp 0x41107c
lea eax, [esp + 0x654]
push eax
call fcn.00432152
add esp, 4
cmp eax, esi
jle 0x411067
mov dword [0x572808], esi
jmp 0x41107c
lea ecx, [esp + 0x654]
push ecx
call fcn.00432152
add esp, 4
mov dword [0x572808], eax
mov ecx, dword [0x45ebd0]
mov edx, dword [0x45ebd4]
mov edi, ecx
sub edi, edx
mov edx, dword [0x45ebc8]
imul edi, edi, 0x82f7d
imul edx, edx, 0x6e773
add edi, edx
mov edx, dword [0x45ebe8]
mov eax, 0x7af682a5
imul edx
sar edx, 0x12
add edi, edx
mov eax, edx
shr eax, 0x1f
add eax, edi
mov edi, eax
mov eax, 0x7d19681
imul ecx
mov ecx, dword [0x45ebcc]
sar edx, 0xe
imul ecx, ecx, 0xbae55
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45ebd8]
push str.C:_WINDoWS_system32driversetc_serViCe5.ini
imul edx, edx, 0xf08a4
sub edi, eax
push 0x800
lea eax, [esp + 0x65c]
push eax
push 0x44ee89
sub edi, ecx
push str.ConfigL2
add edi, edx
push str.GameType1
mov dword [0x45ebe0], edi
call ebp
lea ecx, [esp + 0x654]
push ecx
call fcn.00432152
add esp, 4
cmp eax, ebx
jge 0x41112f
mov dword [0x57280c], ebx
jmp 0x411160
lea edx, [esp + 0x654]
push edx
call fcn.00432152
add esp, 4
cmp eax, esi
jle 0x41114b
mov dword [0x57280c], esi
jmp 0x411160
lea eax, [esp + 0x654]
push eax
call fcn.00432152
add esp, 4
mov dword [0x57280c], eax
mov edi, dword [0x45ebe8]
mov ecx, dword [0x45ebc8]
mov esi, dword [0x45ebc4]
imul esi, esi, 0x6e773
mov eax, 0x98f19603
imul ecx
add edx, ecx
sar edx, 0x13
add esi, edx
mov ebx, edx
shr ebx, 0x1f
add ebx, esi
mov esi, dword [0x45ebd8]
mov eax, 0x98f19603
imul esi
add edx, esi
sar edx, 0x13
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0x7af682a5
imul dword [0x45ebe0]
sar edx, 0x12
add ebx, edx
mov esi, edx
mov eax, 0x7d19681
imul dword [0x45ebdc]
shr esi, 0x1f
add esi, ebx
sar edx, 0xe
add esi, edx
mov ebx, edx
shr ebx, 0x1f
add ebx, esi
mov esi, dword [0x45ebd4]
mov eax, 0xaf53e355
imul esi
add edx, esi
sar edx, 0x13
add ebx, edx
mov esi, edx
mov eax, 0x4adacc0f
imul dword [0x45ebd0]
sar edx, 0x12
shr esi, 0x1f
mov eax, edx
shr eax, 0x1f
add eax, edx
add esi, ebx
sub esi, eax
mov eax, dword [0x5615dc]
test eax, eax
mov dword [0x45ebcc], esi
jg 0x411403
mov eax, 0x4a28aa57
imul esi, esi, 0xc032b
imul dword [0x45ebc4]
sar edx, 0x11
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0x1ec1ffc5
imul edi
imul edi, edi, 0xbae55
sar edx, 0x10
add ebx, edx
mov eax, edx
shr eax, 0x1f
add eax, ebx
sub eax, edi
mov ebx, eax
mov eax, 0x64ddc525
imul ecx
imul ecx, ecx, 0xa26ed
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0x2a9f6a15
imul dword [0x45ebe0]
add ebx, ecx
push str.C:_WINDoWS_system32driversetc_serViCe5.ini
sar edx, 0x11
push 0x800
mov ecx, edx
add ebx, edx
lea edx, [esp + 0x65c]
push edx
shr ecx, 0x1f
push 0x44ee89
add ecx, ebx
push str.ConfigL3
sub ecx, esi
push str.GameType1
mov dword [0x45ebd8], ecx
call ebp
mov ecx, dword [0x45ebe4]
mov eax, 0x98f19603
imul ecx
add edx, ecx
mov ecx, dword [0x45ebd0]
sar edx, 0x13
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, 0x85097d5b
imul ecx
sar edx, 0x12
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edi, ecx
mov ecx, dword [0x45ebc4]
mov eax, 0x7d19681
imul ecx
mov ecx, dword [0x45ebcc]
sub edi, esi
sar edx, 0xe
add edi, edx
mov esi, edx
mov edx, dword [0x45ebd8]
imul edx, edx, 0xa26ed
shr esi, 0x1f
add esi, edi
sub esi, edx
mov eax, 0x64ddc525
imul ecx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add esi, edx
add eax, esi
mov ecx, dword [0x45ebd4]
imul ecx, ecx, 0x180656
lea edx, [esp + 0x654]
add eax, ecx
push edx
mov dword [0x45ebe4], eax
call fcn.00432152
mov ecx, dword [0x5615d8]
add esp, 4
cmp eax, ecx
jge 0x41135e
mov dword [0x5615dc], ecx
jmp 0x4113fd
lea eax, [esp + 0x654]
push eax
call fcn.00432152
add esp, 4
cmp eax, 0x64
jle 0x4113e8
mov esi, dword [0x45ebc4]
mov ecx, dword [0x45ebc8]
imul esi, esi, 0x1b5c14
mov edi, dword [0x45ebe8]
imul ecx, ecx, 0x852b6
mov edx, edi
imul edx, edx, 0xa26ed
sub esi, ecx
mov ecx, dword [0x45ebdc]
add esi, edx
mov eax, 0x64ddc525
imul ecx
sar edx, 0x12
add esi, edx
mov ebx, edx
mov eax, 0x2a9f6a15
imul ecx
mov ecx, dword [0x45ebe4]
sar edx, 0x11
mov eax, edx
shr ebx, 0x1f
shr eax, 0x1f
add eax, edx
add ebx, esi
sub ebx, eax
lea edx, [ebx + ecx + 0xbae55]
mov dword [0x45ebd4], edx
mov dword [0x5615dc], 0x64
jmp 0x411403
lea eax, [esp + 0x654]
push eax
call fcn.00432152
add esp, 4
mov dword [0x5615dc], eax
mov edi, dword [0x45ebe8]
mov eax, 0x98f19603
imul edi
mov eax, dword [0x45ebc4]
imul eax, eax, 0xd63fb
add edx, edi
sar edx, 0x13
mov esi, edi
imul esi, esi, 0x6e773
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub esi, ecx
mov ecx, dword [0x45ebd8]
sub esi, eax
mov eax, 0x7d19681
imul dword [0x45ebd0]
sar edx, 0xe
mov eax, edx
mov ebp, dword [0x45ebe0]
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0xaf53e355
imul ecx
mov eax, dword [0x45ebe4]
add edx, ecx
imul eax, eax, 0xdae0a
sar edx, 0x13
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add ecx, ebp
add ecx, esi
lea edx, [eax + ecx - 0xbae55]
push 0
mov dword [0x45ebd0], edx
call fcn.00432157
sub eax, dword [0x572830]
add esp, 4
cmp eax, 0xa8c0
jl 0x411515
mov esi, dword [0x45ebc4]
mov eax, dword [0x45ebc8]
imul esi, esi, 0x1b5c14
mov ecx, dword [0x45ebe8]
imul eax, eax, 0x852b6
imul ecx, ecx, 0xa26ed
sub esi, eax
add esi, ecx
mov ecx, dword [0x45ebdc]
mov eax, 0x64ddc525
imul ecx
sar edx, 0x12
mov edi, edx
add esi, edx
mov eax, 0x2a9f6a15
imul ecx
mov ecx, dword [0x45ebe4]
sar edx, 0x11
mov eax, edx
shr edi, 0x1f
shr eax, 0x1f
add eax, edx
add edi, esi
sub edi, eax
lea edx, [edi + ecx + 0xbae55]
push 0
mov dword [0x45ebd4], edx
call fcn.00432157
add esp, 4
xor esi, esi
mov dword [0x572830], eax
mov dword [0x5615e0], esi
jmp 0x41151b
mov esi, dword [0x5615e0]
mov ecx, dword [0x45ebc4]
mov eax, 0x4a28aa57
imul ecx
mov ecx, dword [0x45ebe8]
sar edx, 0x11
mov edi, edx
shr edi, 0x1f
add edi, edx
mov eax, 0x1ec1ffc5
imul ecx
imul ecx, ecx, 0xbae55
sar edx, 0x10
mov ebx, edx
add edi, edx
shr ebx, 0x1f
add ebx, edi
sub ebx, ecx
mov ecx, dword [0x45ebc8]
mov eax, 0x64ddc525
imul ecx
imul ecx, ecx, 0xa26ed
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
add ebx, ecx
mov ecx, dword [0x45ebe0]
mov eax, 0x2a9f6a15
imul ecx
mov eax, dword [0x5615dc]
sar edx, 0x11
add ebx, edx
mov ecx, edx
mov edx, dword [0x45ebcc]
imul edx, edx, 0xc032b
shr ecx, 0x1f
add ecx, ebx
sub ecx, edx
cmp esi, eax
mov dword [0x45ebd8], ecx
jge 0x4116b0
cmp esi, dword [0x5615d8]
jge 0x4115db
push 0
call fcn.00432157
mov ecx, dword [0x572808]
mov esi, dword [0x5615e4]
imul ecx, ecx, 0x3c
sub eax, esi
add esp, 4
cmp eax, ecx
jge 0x411614
mov esi, dword [0x5615e0]
cmp esi, dword [0x5615dc]
jge 0x4116b0
cmp esi, dword [0x5615d8]
jl 0x4116b0
push 0
call fcn.00432157
sub eax, dword [0x5615e4]
mov edx, dword [0x57280c]
imul edx, edx, 0x3c
add esp, 4
cmp eax, edx
jl 0x4116b0
mov ecx, dword [0x45ebd0]
mov eax, 0x98f19603
imul ecx
mov eax, dword [0x45ebc4]
add edx, ecx
imul eax, eax, 0xbae55
mov ecx, dword [0x45ebcc]
sar edx, 0x13
mov esi, edx
shr esi, 0x1f
add esi, edx
add esi, eax
mov eax, 0x4adacc0f
imul ecx
imul ecx, ecx, 0x10a7ca
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
add esi, ecx
mov ecx, dword [0x45ebe4]
mov eax, 0x64ddc525
imul ecx
mov eax, dword [0x5615e0]
sar edx, 0x12
add esi, edx
mov ecx, edx
mov edx, dword [0x45ebc8]
imul edx, edx, 0xf08a4
shr ecx, 0x1f
add ecx, esi
add ecx, edx
cdq
idiv dword [0x5615d8]
mov dword [0x45ebdc], ecx
mov ecx, 0x5615e8
shl edx, 4
mov eax, dword [esp + edx + 0x14]
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x4116a2
xor eax, eax
jmp 0x4116bc
mov eax, 9
jmp 0x4116bc
mov eax, 0xfffffffe
mov ecx, dword [esp + 0x3654]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043194d
add esp, 0x3648
ret