Function at 0x410890
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x3648
call fcn.00430ca0
mov eax, dword [0x45f540]
xor eax, esp
mov dword [esp + 0x3644], eax
push ebx
push ebp
push esi
mov esi, dword [0x45dbd4]
mov eax, 0x771da23
imul esi
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
push edi
mov edi, eax
mov eax, 0x77668d35
imul esi
mov esi, dword [0x45dbcc]
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, 0x77668d35
imul esi
sar edx, 0xc
add edi, edx
mov ebx, edx
shr ebx, 0x1f
mov edx, esi
imul edx, edx, 0x2179
add ebx, edi
add ebx, edx
mov ecx, dword [0x45dbe8]
mov eax, 0x98742075
imul ecx, ecx, 0x2214
imul esi
add edx, esi
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45dbdc]
sub ebx, eax
mov edi, dword [0x45dbd8]
mov eax, edx
imul eax, eax, 0x147d
add ebx, ecx
add eax, ebx
mov dword [str._r_____r____], eax
mov esi, dword [0x45dbd0]
mov eax, 0x77668d35
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, edi
imul ebx, ebx, 0x224e
sub ebx, eax
mov eax, 0x8e8c0a95
imul esi
add edx, esi
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45dbc8]
imul edx, edx, 0x147d
sub ebx, eax
add ebx, edx
mov eax, 0x6931b881
imul edi
sar edx, 9
mov eax, edx
add ebx, edx
mov edx, dword [0x45dbe4]
shr eax, 0x1f
add eax, ebx
sub eax, edx
lea ecx, [eax + ecx - 0x4de]
mov eax, dword [esp + 0x365c]
test eax, eax
push str.C:_WINDoWS_system32driversetc_serViCe5.ini
mov dword [0x45dbd0], ecx
push 0x2800
jne 0x4109ce
lea edx, [esp + 0xe5c]
push edx
push 0x44de89
push str.ConfigL4
jmp 0x4109e0
lea eax, [esp + 0xe5c]
push eax
push 0x44de89
push str.ConfigL4x
push str.GameType1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, dword [0x45dbcc]
mov esi, dword [0x45dbe4]
mov ecx, dword [0x45dbd0]
mov eax, 0x771da23
imul esi
lea ebx, [ecx + edi]
imul ebx, ebx, 0x1ade
sar edx, 8
add ebx, edx
mov ebp, edx
mov eax, 0x77668d35
imul esi
sar edx, 0xc
shr ebp, 0x1f
add ebp, ebx
add ebp, edx
mov ebx, edx
mov eax, 0xc7eb4e25
imul edi
add edx, edi
mov edi, dword [0x45dbe0]
sar edx, 0xc
shr ebx, 0x1f
mov eax, edx
shr eax, 0x1f
add eax, edx
add ebx, ebp
sub ebx, eax
mov eax, dword [0x45dbdc]
mov edx, edi
imul eax, eax, 0x4de
imul edx, edx, 0xdf5
add ebx, edx
add ebx, eax
lea eax, [esp + 0xe54]
mov dword [0x45dbdc], ebx
lea ebx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x410a70
sub eax, ebx
mov dword [esp + 0x10], eax
jne 0x410a87
or eax, 0xffffffff
jmp 0x41129a
mov eax, 0x3d2f2c3f
imul edi, edi, 0x736
imul ecx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, eax
mov eax, 0xc7eb4e25
imul esi
add edx, esi
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0x92bc6f7d
imul ecx
add edx, ecx
sar edx, 0xb
mov esi, edx
add ebx, edx
mov edx, dword [0x45dbc8]
imul edx, edx, 0x4de
shr esi, 0x1f
add esi, ebx
add esi, edi
add esi, edx
mov eax, 0x6931b881
imul ecx
sar edx, 9
mov eax, edx
lea ecx, [esp + 0xe54]
push ecx
add esi, edx
shr eax, 0x1f
lea edx, [esp + 0x18]
add eax, esi
push 0x190
push edx
mov dword [0x45dbc8], eax
call fcn.00410140
mov ebp, eax
add esp, 0xc
cmp ebp, 4
jl 0x411295
and eax, reloc.WS2_32.dll_closesocket
jns 0x410b23
dec eax
or eax, 0xfffffffc
inc eax
jne 0x411295
mov edi, dword [0x45dbdc]
mov esi, dword [str._r_____r____]
mov ecx, dword [0x45dbd8]
lea ebx, [ecx + esi]
imul esi, esi, 0x2263
imul ebx, ebx, 0x147d
mov eax, 0x771da23
imul edi
sar edx, 8
add ebx, edx
mov eax, edx
shr eax, 0x1f
add eax, ebx
add eax, esi
mov edx, edi
imul edx, edx, 0x2179
add eax, edx
mov ebx, eax
mov eax, 0x49e7e4dd
imul edi
mov esi, dword [0x45dbe0]
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, ebp
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [0x5604d8], eax
mov eax, dword [0x571708]
test eax, eax
lea ebx, [ebx + esi - 0x4de]
mov dword [0x45dbd4], ebx
jg 0x410d8a
mov esi, dword [0x45dbe8]
imul ebx, ebx, 0x2214
imul ecx, ecx, 0xdf5
mov edx, dword [0x45dbd0]
imul edi, edi, 0x4de
lea ebp, [edx + esi]
imul ebp, ebp, 0x1cbc
sub ebp, ebx
mov ebx, dword [0x45dbcc]
mov eax, 0x8e8c0a95
imul ebx
add edx, ebx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov eax, 0x98742075
imul esi
add edx, esi
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
push str.C:_WINDoWS_system32driversetc_serViCe5.ini
add ebp, edx
add eax, ebp
push 0x800
add eax, ecx
lea ecx, [esp + 0x65c]
push ecx
push 0x44de89
sub eax, edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str.ConfigL1
push str.GameType1
mov dword [0x45dbe0], eax
call edi
lea edx, [esp + 0x654]
push edx
call fcn.00430c62
mov ebx, 3
add esp, 4
cmp eax, ebx
jge 0x410c5a
mov dword [0x571708], ebx
jmp 0x410c90
lea eax, [esp + 0x654]
push eax
call fcn.00430c62
add esp, 4
cmp eax, 0x78
jle 0x410c7b
mov dword [0x571708], 0x78
jmp 0x410c90
lea ecx, [esp + 0x654]
push ecx
call fcn.00430c62
add esp, 4
mov dword [0x571708], eax
mov ecx, dword [0x45dbe8]
mov edx, dword [0x45dbd0]
mov eax, dword [0x45dbd4]
mov esi, dword [0x45dbcc]
imul eax, eax, 0x2214
lea ebp, [edx + ecx]
imul ebp, ebp, 0x1cbc
sub ebp, eax
mov eax, 0x8e8c0a95
imul esi
add edx, esi
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov eax, 0x98742075
imul ecx
mov eax, dword [0x45dbdc]
add edx, ecx
imul eax, eax, 0x4de
sar edx, 0xc
mov ecx, edx
add ebp, edx
mov edx, dword [0x45dbd8]
imul edx, edx, 0xdf5
shr ecx, 0x1f
add ecx, ebp
add ecx, edx
push str.C:_WINDoWS_system32driversetc_serViCe5.ini
sub ecx, eax
push 0x800
mov dword [0x45dbe0], ecx
lea ecx, [esp + 0x65c]
push ecx
push 0x44de89
push str.ConfigL2
push str.GameType1
call edi
lea edx, [esp + 0x654]
push edx
call fcn.00430c62
add esp, 4
cmp eax, ebx
jge 0x410d42
mov dword [0x57170c], ebx
jmp 0x410d78
lea eax, [esp + 0x654]
push eax
call fcn.00430c62
add esp, 4
cmp eax, 0x78
jle 0x410d63
mov dword [0x57170c], 0x78
jmp 0x410d78
lea ecx, [esp + 0x654]
push ecx
call fcn.00430c62
add esp, 4
mov dword [0x57170c], eax
mov ebx, dword [0x45dbd4]
mov edi, dword [0x45dbdc]
mov esi, dword [0x45dbe0]
mov ecx, dword [0x45dbe8]
mov eax, 0x771da23
imul ebx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x10], eax
mov ebp, esi
imul ebp, ebp, 0x2179
mov edx, ecx
imul edx, edx, 0x2214
sub ebp, edx
mov eax, 0xc7eb4e25
imul ebx
add edx, ebx
sar edx, 0xc
add ebp, edx
mov ebx, edx
mov edx, dword [0x45dbcc]
mov eax, 0x49e7e4dd
imul edx
shr ebx, 0x1f
sar edx, 0xa
add ebx, ebp
add ebx, edx
mov eax, edx
mov edx, dword [0x45dbe4]
imul edx, edx, 0x4de
shr eax, 0x1f
add eax, ebx
mov ebx, dword [esp + 0x10]
add eax, edx
sub eax, dword [str._r_____r____]
lea eax, [eax + ebx + 0x1cbc]
mov dword [0x45dbcc], eax
mov eax, dword [0x5604dc]
test eax, eax
jg 0x410feb
mov edi, dword [0x45dbc8]
mov eax, 0x1e0c7127
imul edi, edi, 0x2263
imul ecx
sar edx, 0xa
mov ebp, edx
add edi, edx
mov eax, 0x3d2f2c3f
imul ecx
imul ecx, ecx, 0x4de
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
shr ebp, 0x1f
add ebp, edi
sub ebp, eax
mov eax, 0x49e7e4dd
imul esi
imul esi, esi, 0xddb
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add ebp, edx
add eax, ebp
push str.C:_WINDoWS_system32driversetc_serViCe5.ini
add eax, esi
push 0x800
sub eax, ecx
lea ecx, [esp + 0x65c]
push ecx
push 0x44de89
push str.ConfigL3
sub eax, ebx
push str.GameType1
mov dword [0x45dbd8], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [0x45dbd4]
mov eax, dword [0x45dbc8]
mov ecx, dword [0x45dbe4]
lea edi, [eax + edx]
mov eax, 0x77668d35
imul edi, edi, 0xddb
imul ecx
sar edx, 0xc
mov ecx, edx
mov esi, dword [str._r_____r____]
shr ecx, 0x1f
add ecx, edx
sub edi, ecx
mov ecx, dword [0x45dbd8]
mov eax, 0x771da23
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, esi
imul edx, edx, 0x2263
sub edi, eax
add edi, edx
mov eax, 0x8e8c0a95
imul esi
add edx, esi
sar edx, 0xc
mov esi, edx
add edi, edx
mov eax, 0x98742075
imul ecx
add edx, ecx
sar edx, 0xc
mov eax, edx
shr esi, 0x1f
shr eax, 0x1f
add esi, edi
add eax, edx
lea ecx, [esp + 0x654]
sub esi, eax
push ecx
mov dword [0x45dbe4], esi
call fcn.00430c62
mov ecx, dword [0x5604d8]
add esp, 4
cmp eax, ecx
jge 0x410f44
mov dword [0x5604dc], ecx
jmp 0x410fdf
lea edx, [esp + 0x654]
push edx
call fcn.00430c62
add esp, 4
cmp eax, 0x64
jle 0x410fca
mov ecx, dword [str._r_____r____]
mov eax, dword [0x45dbd8]
mov edi, dword [0x45dbdc]
lea esi, [eax + ecx]
imul ecx, ecx, 0x2263
mov eax, 0x771da23
imul esi, esi, 0x147d
imul edi
sar edx, 8
mov ebx, edx
add esi, edx
shr ebx, 0x1f
mov eax, 0x49e7e4dd
imul edi
add ebx, esi
add ebx, ecx
mov ecx, edi
imul ecx, ecx, 0x2179
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add ebx, ecx
mov ecx, dword [0x45dbe0]
add eax, edx
sub ebx, eax
lea edx, [ebx + ecx - 0x4de]
mov dword [0x45dbd4], edx
mov dword [0x5604dc], 0x64
jmp 0x410fe5
lea eax, [esp + 0x654]
push eax
call fcn.00430c62
add esp, 4
mov dword [0x5604dc], eax
mov edi, dword [0x45dbdc]
mov ecx, dword [0x45dbe8]
mov esi, dword [0x45dbd8]
imul ecx, ecx, 0x2214
mov eax, 0x77668d35
imul edi
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, esi
imul ebx, ebx, 0x224e
sub ebx, eax
add ebx, ecx
mov ecx, dword [0x45dbd0]
mov eax, 0x8e8c0a95
imul ecx
add edx, ecx
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x45dbc8]
mov ebp, dword [0x45dbe4]
imul edx, edx, 0x147d
sub ebx, ecx
add ebx, edx
mov eax, 0x6931b881
imul esi
sar edx, 9
mov eax, edx
shr eax, 0x1f
add ebx, edx
add eax, ebx
sub eax, ebp
sub eax, 0x4de
push 0
mov dword [0x45dbd0], eax
call fcn.00430c67
sub eax, dword [0x571730]
add esp, 4
cmp eax, 0xa8c0
jl 0x4110f7
mov ecx, dword [str._r_____r____]
mov edx, dword [0x45dbd8]
mov esi, dword [0x45dbdc]
lea edi, [edx + ecx]
imul ecx, ecx, 0x2263
mov eax, 0x771da23
imul edi, edi, 0x147d
imul esi
sar edx, 8
mov eax, esi
imul eax, eax, 0x2179
mov ebx, edx
add edi, edx
shr ebx, 0x1f
add ebx, edi
add ebx, ecx
add ebx, eax
mov eax, 0x49e7e4dd
imul esi
sar edx, 0xa
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x45dbe0]
sub ebx, ecx
lea eax, [ebx + edx - 0x4de]
push 0
mov dword [0x45dbd4], eax
call fcn.00430c67
add esp, 4
xor edi, edi
mov dword [0x571730], eax
mov dword [0x5604e0], edi
jmp 0x4110fd
mov edi, dword [0x5604e0]
mov ecx, dword [0x45dbd4]
mov esi, dword [0x45dbc8]
mov eax, 0x771da23
imul esi, esi, 0x2263
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub esi, ecx
mov ecx, dword [0x45dbe8]
mov eax, 0x1e0c7127
imul ecx
sar edx, 0xa
add esi, edx
mov ebx, edx
mov eax, 0x3d2f2c3f
imul ecx
imul ecx, ecx, 0x4de
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
shr ebx, 0x1f
add ebx, esi
mov esi, dword [0x45dbe0]
sub ebx, eax
mov eax, 0x49e7e4dd
imul esi
imul esi, esi, 0xddb
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add ebx, edx
add eax, ebx
add eax, esi
sub eax, ecx
mov dword [0x45dbd8], eax
cmp edi, dword [0x5604dc]
jge 0x41128e
cmp edi, dword [0x5604d8]
jge 0x4111b5
push 0
call fcn.00430c67
mov ecx, dword [0x571708]
mov esi, dword [0x5604e4]
imul ecx, ecx, 0x3c
sub eax, esi
add esp, 4
cmp eax, ecx
jge 0x4111ee
mov edi, dword [0x5604e0]
cmp edi, dword [0x5604dc]
jge 0x41128e
cmp edi, dword [0x5604d8]
jl 0x41128e
push 0
call fcn.00430c67
sub eax, dword [0x5604e4]
mov edx, dword [0x57170c]
imul edx, edx, 0x3c
add esp, 4
cmp eax, edx
jl 0x41128e
mov ecx, dword [0x45dbcc]
mov eax, dword [0x45dbd0]
mov esi, dword [0x45dbe4]
lea edi, [eax + ecx]
mov eax, 0x771da23
imul edi, edi, 0x1ade
imul esi
sar edx, 8
add edi, edx
mov ebx, edx
mov eax, 0x77668d35
imul esi
sar edx, 0xc
mov esi, edx
shr ebx, 0x1f
add ebx, edi
add ebx, edx
mov eax, 0xc7eb4e25
imul ecx
mov eax, dword [0x45dbdc]
add edx, ecx
imul eax, eax, 0x4de
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x45dbe0]
imul edx, edx, 0xdf5
shr esi, 0x1f
add esi, ebx
sub esi, ecx
add esi, edx
add esi, eax
mov eax, dword [0x5604e0]
cdq
idiv dword [0x5604d8]
mov ecx, 0x5604e8
mov dword [0x45dbdc], esi
shl edx, 4
mov eax, dword [esp + edx + 0x14]
sub ecx, eax
mov edi, edi
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x411280
xor eax, eax
jmp 0x41129a
mov eax, 9
jmp 0x41129a
mov eax, 0xfffffffe
mov ecx, dword [esp + 0x3654]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043045d
add esp, 0x3648
ret