Function at 0x410830
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x364c
call fcn.00430fe0
mov eax, dword [0x45f640]
xor eax, esp
mov dword [esp + 0x3648], eax
push ebx
push ebp
push esi
mov esi, dword [0x45dbd4]
mov eax, 0xc69fb513
imul esi
add edx, esi
sar edx, 0x19
mov ebp, edx
push edi
mov edi, dword [0x45dbcc]
mov ebx, dword [0x45dbdc]
shr ebp, 0x1f
add ebp, edx
mov eax, edi
imul eax, eax, 0x33bbc84
add ebp, eax
mov eax, 0x2ee68aa5
imul edi
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov edx, ebx
imul edx, edx, 0x362805a
add ebp, edx
mov ecx, dword [0x45dbe8]
mov eax, 0xc41087d7
imul ecx, ecx, 0x20e865f
imul esi
add edx, esi
sar edx, 0x1a
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov esi, dword [0x45dbd8]
mov eax, 0xc41087d7
imul edi
add edx, edi
sar edx, 0x1a
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, dword [0x45dbd0]
add ebp, ecx
add eax, ebp
mov dword [str._r_____r____], eax
mov eax, 0x1066a8b3
imul esi
imul esi, esi, 0x5390766
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebp, eax
mov eax, 0xcfdc5805
imul edi
add edx, edi
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45dbc8]
imul edx, edx, 0x362805a
sub ebp, eax
add ebp, edx
mov eax, 0xc41087d7
imul ebx
add edx, ebx
sar edx, 0x1a
mov eax, edx
shr eax, 0x1f
add ebp, esi
add eax, edx
mov edx, dword [0x45dbe4]
sub ebp, eax
mov eax, dword [esp + 0x3660]
sub ebp, edx
test eax, eax
lea ecx, [ecx + ebp - 0x3e6f678]
push str.C:_WINDoWS_system32driversetc_serViCe5.ini
mov dword [0x45dbd0], ecx
push 0x2800
jne 0x410972
lea edx, [esp + 0xe60]
push edx
push 0x44de89
push str.ConfigL4
jmp 0x410984
lea eax, [esp + 0xe60]
push eax
push 0x44de89
push str.ConfigL4x
push str.GameType1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ebx, dword [0x45dbcc]
mov esi, dword [0x45dbd0]
mov ecx, dword [0x45dbdc]
lea edi, [esi + ebx]
imul ecx, ecx, 0x3e6f678
imul edi, edi, 0x2baab78
add edi, ecx
mov ecx, dword [0x45dbe4]
mov eax, 0xc69fb513
imul ecx
add edx, ecx
sar edx, 0x19
mov ebp, edx
add edi, edx
shr ebp, 0x1f
add ebp, edi
mov edi, dword [0x45dbe0]
mov edx, edi
imul edx, edx, 0x35bbff4
add ebp, edx
mov eax, 0x974409b3
imul ebx
add edx, ebx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov eax, 0xc41087d7
imul ecx
add edx, ecx
sar edx, 0x1a
mov eax, edx
shr eax, 0x1f
add ebp, edx
add eax, ebp
mov dword [0x45dbdc], eax
lea eax, [esp + 0xe58]
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x410a16
sub eax, ebx
mov dword [esp + 0x14], eax
jne 0x410a2d
or eax, 0xffffffff
jmp 0x41126c
mov ebx, dword [0x45dbc8]
imul edi, edi, 0xac2519
imul ebx, ebx, 0x3e6f678
mov eax, 0x1066a8b3
imul esi
sar edx, 0x16
add ebx, edx
mov ebp, edx
mov eax, 0x4f2cca89
imul esi
sar edx, 0x18
shr ebp, 0x1f
add ebp, ebx
mov ebx, edx
add ebp, edx
mov eax, 0x4c3a114b
imul esi
sar edx, 0x18
shr ebx, 0x1f
mov esi, edx
add ebx, ebp
add ebx, edx
mov eax, 0x974409b3
imul ecx
add edx, ecx
sar edx, 0x19
mov ecx, edx
shr ecx, 0x1f
shr esi, 0x1f
add ecx, edx
lea edx, [esp + 0xe58]
add esi, ebx
push edx
sub esi, edi
lea eax, [esp + 0x1c]
sub esi, ecx
push 0x190
push eax
mov dword [0x45dbc8], esi
call fcn.004100b0
mov ebp, eax
add esp, 0xc
cmp ebp, 4
jl 0x411267
mov ecx, ebp
and ecx, reloc.WS2_32.dll_closesocket
jns 0x410ac9
dec ecx
or ecx, 0xfffffffc
inc ecx
jne 0x411267
mov ecx, dword [0x45dbdc]
mov esi, dword [str._r_____r____]
mov edi, dword [0x45dbd8]
mov eax, 0xc69fb513
imul ecx
lea ebx, [edi + esi]
imul esi, esi, 0x293e68d
imul ebx, ebx, 0x362805a
add edx, ecx
sar edx, 0x19
add ebx, edx
mov eax, edx
shr eax, 0x1f
add eax, ebx
add eax, esi
mov edx, ecx
imul edx, edx, 0x33bbc84
add eax, edx
mov ebx, eax
mov eax, 0x83228937
imul ecx
mov esi, dword [0x45dbe0]
add edx, ecx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, ebp
cdq
mov ebp, 3
and edx, ebp
add eax, edx
sar eax, 2
mov dword [0x5605d8], eax
mov eax, dword [0x571808]
test eax, eax
lea ebx, [ebx + esi - 0x3e6f678]
mov dword [0x45dbd4], ebx
jg 0x410d2c
mov edx, dword [0x45dbe8]
imul ecx, ecx, 0x3e6f678
imul edi, edi, 0x35bbff4
mov eax, dword [0x45dbd0]
imul ebx, ebx, 0x20e865f
lea esi, [eax + edx]
imul esi, esi, 0x276937b
mov eax, 0x2ee68aa5
imul edx
sub esi, ecx
mov ecx, dword [0x45dbcc]
add esi, edi
sar edx, 0x17
add esi, edx
mov edi, edx
mov eax, 0xcfdc5805
imul ecx
add edx, ecx
sar edx, 0x19
mov ecx, edx
push str.C:_WINDoWS_system32driversetc_serViCe5.ini
shr ecx, 0x1f
push 0x800
add ecx, edx
shr edi, 0x1f
lea edx, [esp + 0x660]
push edx
add edi, esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x44de89
sub edi, ecx
push str.ConfigL1
sub edi, ebx
push str.GameType1
mov dword [0x45dbe0], edi
call esi
lea eax, [esp + 0x658]
push eax
call fcn.00430fa2
add esp, 4
cmp eax, ebp
mov edi, 0x78
jge 0x410c06
mov dword [0x571808], ebp
jmp 0x410c37
lea ecx, [esp + 0x658]
push ecx
call fcn.00430fa2
add esp, 4
cmp eax, edi
jle 0x410c22
mov dword [0x571808], edi
jmp 0x410c37
lea edx, [esp + 0x658]
push edx
call fcn.00430fa2
add esp, 4
mov dword [0x571808], eax
mov ecx, dword [0x45dbe8]
mov eax, dword [0x45dbd0]
mov edx, dword [0x45dbdc]
lea ebx, [eax + ecx]
imul edx, edx, 0x3e6f678
mov eax, dword [0x45dbd8]
imul ebx, ebx, 0x276937b
imul eax, eax, 0x35bbff4
sub ebx, edx
add ebx, eax
mov eax, 0x2ee68aa5
imul ecx
mov ecx, dword [0x45dbcc]
sar edx, 0x17
add ebx, edx
mov eax, edx
shr eax, 0x1f
add eax, ebx
mov ebx, eax
mov eax, 0xcfdc5805
imul ecx
add edx, ecx
sar edx, 0x19
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x45dbd4]
push str.C:_WINDoWS_system32driversetc_serViCe5.ini
imul edx, edx, 0x20e865f
push 0x800
lea eax, [esp + 0x660]
push eax
push 0x44de89
sub ebx, ecx
push str.ConfigL2
sub ebx, edx
push str.GameType1
mov dword [0x45dbe0], ebx
call esi
lea ecx, [esp + 0x658]
push ecx
call fcn.00430fa2
add esp, 4
cmp eax, ebp
jge 0x410ce9
mov dword [0x57180c], ebp
jmp 0x410d1a
lea edx, [esp + 0x658]
push edx
call fcn.00430fa2
add esp, 4
cmp eax, edi
jle 0x410d05
mov dword [0x57180c], edi
jmp 0x410d1a
lea eax, [esp + 0x658]
push eax
call fcn.00430fa2
add esp, 4
mov dword [0x57180c], eax
mov ebx, dword [0x45dbd4]
mov ecx, dword [0x45dbdc]
mov esi, dword [0x45dbe0]
mov ebp, dword [0x45dbe4]
mov edi, dword [0x45dbcc]
imul ebp, ebp, 0x3e6f678
mov eax, 0xc69fb513
imul ebx
add edx, ebx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x14], eax
mov edx, esi
imul edx, edx, 0x33bbc84
add ebp, edx
mov eax, 0x83228937
imul edi
add edx, edi
mov edi, dword [0x45dbe8]
sar edx, 0x19
add ebp, edx
mov eax, edx
shr eax, 0x1f
mov edx, edi
imul edx, edx, 0x20e865f
add eax, ebp
sub eax, edx
mov ebp, eax
mov eax, 0x974409b3
imul ebx
add edx, ebx
mov ebx, dword [esp + 0x14]
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add ebp, edx
mov edx, dword [str._r_____r____]
add eax, ebp
sub eax, edx
lea edx, [eax + ebx + 0x276937b]
mov eax, dword [0x5605dc]
test eax, eax
mov dword [0x45dbcc], edx
jg 0x410fa7
mov ecx, dword [0x45dbc8]
imul ecx, ecx, 0x293e68d
mov eax, edi
imul eax, eax, 0x3e6f678
sub ecx, eax
mov eax, 0x4f2cca89
imul edi
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x83228937
imul esi
add edx, esi
imul esi, esi, 0x3e78532
sar edx, 0x19
add ecx, edx
mov ebp, edx
mov eax, 0x7c780d21
imul edi
shr ebp, 0x1f
add ebp, ecx
push str.C:_WINDoWS_system32driversetc_serViCe5.ini
sar edx, 0x18
push 0x800
add ebp, esi
mov ecx, edx
add ebp, edx
lea edx, [esp + 0x660]
push edx
shr ecx, 0x1f
push 0x44de89
add ecx, ebp
push str.ConfigL3
sub ecx, ebx
push str.GameType1
mov dword [0x45dbd8], ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [0x45dbd4]
mov ecx, dword [0x45dbc8]
lea edi, [ecx + eax]
mov ecx, dword [0x45dbd8]
imul edi, edi, 0x3e78532
mov esi, dword [str._r_____r____]
mov eax, 0xc69fb513
imul ecx
add edx, ecx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, esi
imul edx, edx, 0x293e68d
sub edi, eax
add edi, edx
mov eax, 0x2ee68aa5
imul ecx
mov ecx, dword [0x45dbe4]
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, 0xcfdc5805
imul esi
add edx, esi
sar edx, 0x19
add edi, edx
mov esi, edx
mov eax, 0xc41087d7
imul ecx
add edx, ecx
sar edx, 0x1a
mov ecx, edx
shr esi, 0x1f
shr ecx, 0x1f
add esi, edi
add ecx, edx
sub esi, ecx
mov dword [0x45dbe4], esi
lea edx, [esp + 0x658]
push edx
call fcn.00430fa2
mov ecx, dword [0x5605d8]
add esp, 4
cmp eax, ecx
jge 0x410ef6
mov dword [0x5605dc], ecx
jmp 0x410f9b
lea eax, [esp + 0x658]
push eax
call fcn.00430fa2
add esp, 4
cmp eax, 0x64
jle 0x410f86
mov ecx, dword [0x45dbdc]
mov edi, dword [str._r_____r____]
mov esi, dword [0x45dbd8]
mov eax, 0xc69fb513
imul ecx
lea ebx, [esi + edi]
imul edi, edi, 0x293e68d
imul ebx, ebx, 0x362805a
add edx, ecx
sar edx, 0x19
add ebx, edx
mov ebp, edx
mov edx, ecx
imul edx, edx, 0x33bbc84
shr ebp, 0x1f
add ebp, ebx
add ebp, edi
mov edi, dword [0x45dbe8]
add ebp, edx
mov eax, 0x83228937
imul ecx
add edx, ecx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45dbe0]
sub ebp, eax
lea eax, [edx + ebp - 0x3e6f678]
mov dword [0x45dbd4], eax
mov dword [0x5605dc], 0x64
jmp 0x410fad
lea ecx, [esp + 0x658]
push ecx
call fcn.00430fa2
add esp, 4
mov dword [0x5605dc], eax
mov edi, dword [0x45dbe8]
mov ecx, dword [0x45dbdc]
mov esi, dword [0x45dbd8]
mov ebx, dword [0x45dbd0]
imul edi, edi, 0x20e865f
mov eax, 0x1066a8b3
imul esi
imul esi, esi, 0x5390766
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebp, eax
mov eax, 0xcfdc5805
imul ebx
add edx, ebx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45dbc8]
sub ebp, eax
imul edx, edx, 0x362805a
add ebp, edi
add ebp, edx
mov eax, 0xc41087d7
imul ecx
add edx, ecx
sar edx, 0x1a
mov eax, edx
shr eax, 0x1f
add ebp, esi
add eax, edx
sub ebp, eax
sub ebp, dword [0x45dbe4]
sub ebp, 0x3e6f678
push 0
mov dword [0x45dbd0], ebp
call fcn.00430fa7
sub eax, dword [0x571830]
add esp, 4
cmp eax, 0xa8c0
jl 0x4110be
mov esi, dword [str._r_____r____]
mov ecx, dword [0x45dbd8]
lea edi, [ecx + esi]
imul esi, esi, 0x293e68d
mov ecx, dword [0x45dbdc]
imul edi, edi, 0x362805a
mov eax, 0xc69fb513
imul ecx
add edx, ecx
sar edx, 0x19
mov ebx, edx
add edi, edx
mov edx, ecx
imul edx, edx, 0x33bbc84
shr ebx, 0x1f
add ebx, edi
add ebx, esi
add ebx, edx
mov eax, 0x83228937
imul ecx
add edx, ecx
mov ecx, dword [0x45dbe0]
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
lea edx, [ebx + ecx - 0x3e6f678]
push 0
mov dword [0x45dbd4], edx
call fcn.00430fa7
add esp, 4
xor edi, edi
mov dword [0x571830], eax
mov dword [0x5605e0], edi
jmp 0x4110c4
mov edi, dword [0x5605e0]
mov esi, dword [0x45dbe8]
mov ebx, dword [0x45dbc8]
mov ecx, dword [0x45dbd4]
imul ebx, ebx, 0x293e68d
mov eax, esi
imul eax, eax, 0x3e6f678
sub ebx, eax
mov eax, 0xc69fb513
imul ecx
add edx, ecx
sar edx, 0x19
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x4f2cca89
imul esi
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, ecx
mov ecx, dword [0x45dbe0]
sub ebx, eax
mov eax, 0x83228937
imul ecx
add edx, ecx
imul ecx, ecx, 0x3e78532
sar edx, 0x19
add ebx, edx
mov ebp, edx
mov eax, 0x7c780d21
imul esi
mov eax, dword [0x5605dc]
shr ebp, 0x1f
add ebp, ebx
add ebp, ecx
sar edx, 0x18
mov ecx, edx
shr ecx, 0x1f
add ebp, edx
add ecx, ebp
cmp edi, eax
mov dword [0x45dbd8], ecx
jge 0x411260
cmp edi, dword [0x5605d8]
jge 0x411182
push 0
call fcn.00430fa7
sub eax, dword [0x5605e4]
mov edx, dword [0x571808]
imul edx, edx, 0x3c
add esp, 4
cmp eax, edx
jge 0x4111bd
mov edi, dword [0x5605e0]
cmp edi, dword [0x5605dc]
jge 0x411260
cmp edi, dword [0x5605d8]
jl 0x411260
push 0
call fcn.00430fa7
mov ecx, dword [0x57180c]
mov esi, dword [0x5605e4]
imul ecx, ecx, 0x3c
sub eax, esi
add esp, 4
cmp eax, ecx
jl 0x411260
mov esi, dword [0x45dbcc]
mov edx, dword [0x45dbd0]
mov eax, dword [0x45dbdc]
mov ecx, dword [0x45dbe4]
imul eax, eax, 0x3e6f678
lea edi, [edx + esi]
imul edi, edi, 0x2baab78
add edi, eax
mov eax, 0xc69fb513
imul ecx
add edx, ecx
sar edx, 0x19
add edi, edx
mov ebx, edx
mov edx, dword [0x45dbe0]
imul edx, edx, 0x35bbff4
shr ebx, 0x1f
add ebx, edi
add ebx, edx
mov eax, 0x974409b3
imul esi
add edx, esi
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0xc41087d7
imul ecx
mov eax, dword [0x5605e0]
add edx, ecx
sar edx, 0x1a
add ebx, edx
mov ecx, edx
cdq
idiv dword [0x5605d8]
shr ecx, 0x1f
add ecx, ebx
mov dword [0x45dbdc], ecx
mov ecx, 0x5605e8
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 0x411252
xor eax, eax
jmp 0x41126c
mov eax, 9
jmp 0x41126c
mov eax, 0xfffffffe
mov ecx, dword [esp + 0x3658]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043079d
add esp, 0x364c
ret