Function at 0x4101e0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x364c
call fcn.00430290
mov eax, dword [0x45e540]
xor eax, esp
mov dword [esp + 0x3648], eax
push ebx
push ebp
push esi
mov esi, dword [0x45cbcc]
mov ebx, dword [0x45cbd4]
mov eax, 0x5fa6246b
imul esi
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebp, esi
imul ebp, ebp, 0xdc65
sub ebp, eax
push edi
mov edi, dword [0x45cbdc]
mov edx, edi
imul edx, edx, 0x100de
add ebp, edx
mov eax, 0x2aa871e5
imul ebx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov ecx, dword [0x45cbe8]
mov eax, 0x2aa871e5
imul ecx, ecx, 0xd60e
imul esi
sar edx, 0xe
mov esi, edx
shr esi, 0x1f
add esi, edx
mov eax, 0x1006124d
imul ebx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45cbd0]
add esi, ecx
add esi, ebp
add eax, esi
mov dword [str._r_____r____], eax
mov esi, dword [0x45cbd8]
mov eax, 0x1840c0e3
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, eax
mov eax, 0xc26c7c39
imul esi
add edx, esi
imul esi, esi, 0x18014
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45cbc8]
imul edx, edx, 0x100de
mov ebp, eax
sub ebp, ebx
add ebp, edx
mov eax, 0x2aa871e5
imul edi
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45cbe4]
add ebp, esi
sub ebp, eax
sub ebp, edx
mov eax, dword [esp + 0x3660]
test eax, eax
lea ecx, [ecx + ebp - 0xa88a]
push str.C:_WINDoWS_system32driversetc_serViCe5.ini
mov dword [0x45cbd0], ecx
push 0x2800
jne 0x41031c
lea edx, [esp + 0xe60]
push edx
push 0x44ce89
push str.ConfigL4
jmp 0x41032e
lea eax, [esp + 0xe60]
push eax
push 0x44ce89
push str.ConfigL4x
push str.GameType1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [0x45cbcc]
mov ecx, dword [0x45cbd0]
mov esi, dword [0x45cbe0]
lea ebx, [ecx + edx]
imul ebx, ebx, 0x15696
mov eax, esi
imul eax, eax, 0x15433
add ebx, eax
mov eax, dword [0x45cbdc]
imul eax, eax, 0xa88a
add ebx, eax
mov edi, dword [0x45cbe4]
mov eax, 0x7f915fef
imul edx
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0x2aa871e5
imul edi
sar edx, 0xe
add ebx, edx
mov ebp, edx
mov eax, 0x1006124d
imul edi
shr ebp, 0x1f
sar edx, 0xc
add ebp, ebx
mov eax, edx
shr eax, 0x1f
add ebp, edx
add eax, ebp
mov dword [0x45cbdc], eax
lea eax, [esp + 0xe58]
lea ebx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4103c0
sub eax, ebx
mov dword [esp + 0x14], eax
jne 0x4103d7
or eax, 0xffffffff
jmp 0x410c01
mov eax, 0x94adc77f
imul esi, esi, 0x8088
imul ecx
add edx, ecx
sar edx, 0xf
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0x6051edb
imul ecx
sar edx, 0xb
mov ebp, edx
add ebx, edx
mov edx, dword [0x45cbc8]
imul edx, edx, 0xa88a
shr ebp, 0x1f
add ebp, ebx
add ebp, edx
mov eax, 0xc26c7c39
imul ecx
add edx, ecx
sar edx, 0xf
mov ecx, edx
add ebp, edx
mov eax, 0x7f915fef
imul edi
sar edx, 0xf
shr ecx, 0x1f
mov eax, edx
add ecx, ebp
shr eax, 0x1f
sub ecx, esi
add eax, edx
sub ecx, eax
mov dword [0x45cbc8], ecx
lea ecx, [esp + 0xe58]
push ecx
lea edx, [esp + 0x1c]
push 0x190
push edx
call fcn.0040fab0
mov ebp, eax
add esp, 0xc
cmp ebp, 4
jl 0x410bfc
and eax, reloc.WS2_32.dll_closesocket
jns 0x410472
dec eax
or eax, 0xfffffffc
inc eax
jne 0x410bfc
mov ebx, dword [0x45cbdc]
mov ecx, dword [str._r_____r____]
mov edi, dword [0x45cbd8]
lea eax, [edi + ecx]
imul ecx, ecx, 0xff9f
imul eax, eax, 0x100de
mov edx, ebx
imul edx, edx, 0xdc65
add eax, edx
mov dword [esp + 0x10], eax
mov eax, 0x3e77639f
imul ebx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x10]
sub edx, eax
mov esi, dword [0x45cbe0]
mov dword [esp + 0x10], edx
mov eax, 0x1006124d
imul ebx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x10]
add eax, esi
add eax, edx
lea ecx, [ecx + eax - 0xa88a]
mov eax, ebp
cdq
mov ebp, 3
and edx, ebp
add eax, edx
sar eax, 2
mov dword [0x55f4d8], eax
mov eax, dword [0x570708]
test eax, eax
mov dword [0x45cbd4], ecx
jg 0x4106e4
mov edx, dword [0x45cbe8]
imul ecx, ecx, 0xd60e
imul edi, edi, 0x15433
mov eax, dword [0x45cbd0]
imul ebx, ebx, 0xa88a
lea esi, [eax + edx]
mov eax, 0x5fa6246b
imul esi, esi, 0xa8e3
imul edx
sar edx, 0xf
add esi, edx
mov eax, edx
shr eax, 0x1f
add eax, esi
sub eax, ecx
mov ecx, dword [0x45cbcc]
add eax, edi
mov esi, eax
mov eax, 0x1840c0e3
imul ecx
sar edx, 0xc
mov ecx, edx
push str.C:_WINDoWS_system32driversetc_serViCe5.ini
shr ecx, 0x1f
push 0x800
add ecx, edx
lea edx, [esp + 0x660]
push edx
sub esi, ecx
push 0x44ce89
sub esi, ebx
push str.ConfigL1
mov dword [0x45cbe0], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str.GameType1
call esi
lea eax, [esp + 0x658]
push eax
call fcn.00430252
add esp, 4
cmp eax, ebp
mov edi, 0x78
jge 0x4105b9
mov dword [0x570708], ebp
jmp 0x4105ea
lea ecx, [esp + 0x658]
push ecx
call fcn.00430252
add esp, 4
cmp eax, edi
jle 0x4105d5
mov dword [0x570708], edi
jmp 0x4105ea
lea edx, [esp + 0x658]
push edx
call fcn.00430252
add esp, 4
mov dword [0x570708], eax
mov ecx, dword [0x45cbe8]
mov eax, dword [0x45cbd0]
lea ebx, [eax + ecx]
mov eax, 0x5fa6246b
imul ebx, ebx, 0xa8e3
imul ecx
mov ecx, dword [0x45cbd4]
sar edx, 0xf
imul ecx, ecx, 0xd60e
add ebx, edx
mov eax, edx
mov edx, dword [0x45cbd8]
imul edx, edx, 0x15433
shr eax, 0x1f
add eax, ebx
sub eax, ecx
mov ecx, dword [0x45cbcc]
add eax, edx
mov ebx, eax
mov eax, 0x1840c0e3
imul ecx
mov ecx, dword [0x45cbdc]
sar edx, 0xc
imul ecx, ecx, 0xa88a
mov eax, edx
push str.C:_WINDoWS_system32driversetc_serViCe5.ini
shr eax, 0x1f
push 0x800
add eax, edx
lea edx, [esp + 0x660]
push edx
push 0x44ce89
sub ebx, eax
push str.ConfigL2
sub ebx, ecx
push str.GameType1
mov dword [0x45cbe0], ebx
call esi
lea eax, [esp + 0x658]
push eax
call fcn.00430252
add esp, 4
cmp eax, ebp
jge 0x41069b
mov dword [0x57070c], ebp
jmp 0x4106cc
lea ecx, [esp + 0x658]
push ecx
call fcn.00430252
add esp, 4
cmp eax, edi
jle 0x4106b7
mov dword [0x57070c], edi
jmp 0x4106cc
lea edx, [esp + 0x658]
push edx
call fcn.00430252
add esp, 4
mov dword [0x57070c], eax
mov ecx, dword [0x45cbd4]
mov ebx, dword [0x45cbdc]
mov edi, dword [0x45cbd8]
mov esi, dword [0x45cbe0]
mov eax, 0x1006124d
imul ecx
mov ecx, dword [0x45cbe8]
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45cbe4]
mov dword [esp + 0x14], eax
imul edx, edx, 0xa88a
mov ebp, esi
imul ebp, ebp, 0xdc65
mov eax, ecx
imul eax, eax, 0xd60e
sub ebp, eax
add ebp, edx
mov edx, dword [0x45cbcc]
mov eax, 0x3e77639f
imul edx
sar edx, 0xe
add ebp, edx
mov eax, edx
shr eax, 0x1f
add eax, ebp
mov ebp, eax
mov eax, 0x7f915fef
imul dword [0x45cbd4]
sar edx, 0xf
mov eax, edx
add ebp, edx
mov edx, dword [str._r_____r____]
shr eax, 0x1f
add eax, ebp
mov ebp, dword [esp + 0x14]
sub eax, edx
lea edx, [eax + ebp + 0xa8e3]
mov eax, dword [0x55f4dc]
test eax, eax
mov dword [0x45cbcc], edx
jg 0x410955
mov eax, 0x94adc77f
imul ecx
add edx, ecx
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, eax
mov eax, 0x264545a3
imul ecx
imul ecx, ecx, 0xa88a
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, eax
mov eax, 0x3e77639f
imul esi
imul esi, esi, 0x10649
sar edx, 0xe
sub ebx, edi
sub ebx, ecx
mov ecx, edx
add ebx, edx
mov edx, dword [0x45cbc8]
imul edx, edx, 0xff9f
push str.C:_WINDoWS_system32driversetc_serViCe5.ini
shr ecx, 0x1f
push 0x800
add ecx, ebx
lea eax, [esp + 0x660]
push eax
add ecx, esi
push 0x44ce89
add ecx, edx
push str.ConfigL3
sub ecx, ebp
push str.GameType1
mov dword [0x45cbd8], ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [0x45cbd4]
mov edx, dword [0x45cbc8]
mov esi, dword [0x45cbd8]
lea edi, [edx + ecx]
mov ecx, dword [str._r_____r____]
imul edi, edi, 0x10649
mov eax, 0x5fa6246b
imul esi
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, 0x1840c0e3
imul ecx
imul ecx, ecx, 0xff9f
sar edx, 0xc
mov ebx, edx
add edi, edx
mov edx, dword [0x45cbe4]
mov eax, 0x2aa871e5
imul edx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
shr ebx, 0x1f
add ebx, edi
sub ebx, eax
mov eax, 0x1006124d
imul esi
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
add ebx, ecx
lea ecx, [esp + 0x658]
push ecx
mov dword [0x45cbe4], ebx
call fcn.00430252
mov ecx, dword [0x55f4d8]
add esp, 4
cmp eax, ecx
jge 0x4108a7
mov dword [0x55f4dc], ecx
jmp 0x410943
lea edx, [esp + 0x658]
push edx
call fcn.00430252
add esp, 4
cmp eax, 0x64
jle 0x41092e
mov ebx, dword [0x45cbdc]
mov ecx, dword [str._r_____r____]
mov edi, dword [0x45cbd8]
lea esi, [edi + ecx]
imul ecx, ecx, 0xff9f
imul esi, esi, 0x100de
mov eax, ebx
imul eax, eax, 0xdc65
add esi, eax
mov eax, 0x3e77639f
imul ebx
sar edx, 0xe
mov ebp, dword [0x45cbe0]
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x1006124d
imul ebx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, ebp
add eax, esi
lea ecx, [ecx + eax - 0xa88a]
mov dword [0x45cbd4], ecx
mov dword [0x55f4dc], 0x64
jmp 0x41094f
lea edx, [esp + 0x658]
push edx
call fcn.00430252
add esp, 4
mov dword [0x55f4dc], eax
mov ebx, dword [0x45cbdc]
mov edi, dword [0x45cbd8]
mov ecx, dword [0x45cbe8]
mov edx, dword [0x45cbd0]
imul ecx, ecx, 0xd60e
mov eax, 0x1840c0e3
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0xc26c7c39
imul edi
mov ebp, dword [0x45cbe4]
add edx, edi
imul edi, edi, 0x18014
sar edx, 0xf
mov esi, edx
shr esi, 0x1f
add ecx, edx
add esi, ecx
mov ecx, dword [0x45cbc8]
mov eax, 0x2aa871e5
imul ecx, ecx, 0x100de
imul ebx
sar edx, 0xe
add esi, ecx
mov eax, edx
shr eax, 0x1f
add esi, edi
add eax, edx
sub esi, eax
sub esi, ebp
sub esi, 0xa88a
push 0
mov dword [0x45cbd0], esi
call fcn.00430257
sub eax, dword [0x570730]
add esp, 4
cmp eax, 0xa8c0
jl 0x410a5c
mov esi, dword [0x45cbdc]
mov ecx, dword [str._r_____r____]
mov edx, dword [0x45cbd8]
lea edi, [edx + ecx]
imul ecx, ecx, 0xff9f
mov eax, esi
imul edi, edi, 0x100de
imul eax, eax, 0xdc65
add edi, eax
mov eax, 0x3e77639f
imul esi
mov ebx, dword [0x45cbe0]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, 0x1006124d
imul esi
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, ebx
add eax, edi
lea ecx, [ecx + eax - 0xa88a]
push 0
mov dword [0x45cbd4], ecx
call fcn.00430257
add esp, 4
xor esi, esi
mov dword [0x570730], eax
mov dword [0x55f4e0], esi
jmp 0x410a62
mov esi, dword [0x55f4e0]
mov ecx, dword [0x45cbe8]
mov eax, 0x94adc77f
imul ecx
add edx, ecx
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, eax
mov eax, 0x264545a3
imul ecx
imul ecx, ecx, 0xa88a
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, eax
sub ebx, edi
sub ebx, ecx
mov ecx, dword [0x45cbe0]
mov eax, 0x3e77639f
imul ecx
imul ecx, ecx, 0x10649
sar edx, 0xe
mov edi, edx
shr edi, 0x1f
add ebx, edx
add edi, ebx
add edi, ecx
mov ecx, dword [0x45cbc8]
imul ecx, ecx, 0xff9f
add edi, ecx
mov ecx, dword [0x45cbd4]
mov eax, 0x1006124d
imul ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
cmp esi, dword [0x55f4dc]
mov dword [0x45cbd8], edi
jge 0x410bf5
cmp esi, dword [0x55f4d8]
jge 0x410b21
push 0
call fcn.00430257
mov ecx, dword [0x570708]
mov esi, dword [0x55f4e4]
imul ecx, ecx, 0x3c
sub eax, esi
add esp, 4
cmp eax, ecx
jge 0x410b5a
mov esi, dword [0x55f4e0]
cmp esi, dword [0x55f4dc]
jge 0x410bf5
cmp esi, dword [0x55f4d8]
jl 0x410bf5
push 0
call fcn.00430257
sub eax, dword [0x55f4e4]
mov edx, dword [0x57070c]
imul edx, edx, 0x3c
add esp, 4
cmp eax, edx
jl 0x410bf5
mov ecx, dword [0x45cbcc]
mov eax, dword [0x45cbd0]
mov edx, dword [0x45cbe0]
lea esi, [eax + ecx]
imul edx, edx, 0x15433
mov eax, dword [0x45cbdc]
imul esi, esi, 0x15696
imul eax, eax, 0xa88a
add esi, edx
add esi, eax
mov eax, 0x7f915fef
imul ecx
sar edx, 0xf
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub esi, ecx
mov ecx, dword [0x45cbe4]
mov eax, 0x2aa871e5
imul ecx
sar edx, 0xe
add esi, edx
mov edi, edx
mov eax, 0x1006124d
imul ecx
sar edx, 0xc
shr edi, 0x1f
mov eax, edx
shr eax, 0x1f
add edi, esi
add edi, edx
add eax, edi
mov dword [0x45cbdc], eax
mov eax, dword [0x55f4e0]
cdq
idiv dword [0x55f4d8]
mov ecx, 0x55f4e8
shl edx, 4
mov eax, dword [esp + edx + 0x18]
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x410be7
xor eax, eax
jmp 0x410c01
mov eax, 9
jmp 0x410c01
mov eax, 0xfffffffe
mov ecx, dword [esp + 0x3658]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042fa4d
add esp, 0x364c
ret