Function at 0x485660
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b761
mov eax, dword fs:[0]
push eax
mov eax, 0x272c
call fcn.004b0a90
mov eax, dword [0x58c758]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2730], ecx
cmp dword [ebp + 0x10], 0
je 0x485ad2
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x2730]
add ecx, 0x64
call fcn.00401ed0
xor ecx, ecx
mov word [ebp - 0x2114], cx
push 0x1ffe
push 0
lea edx, [ebp - 0x2112]
push edx
call fcn.004b0ac0
add esp, 0xc
mov ecx, dword [ebp - 0x2730]
add ecx, 0x64
call fcn.0043e290
push eax
push 0xfff
lea eax, [ebp - 0x2114]
push eax
push 0x540868
push str.files0
push str.entclientpush
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor ecx, ecx
mov word [ebp - 0x114], cx
push 0xfe
push 0
lea edx, [ebp - 0x112]
push edx
call fcn.004b0ac0
add esp, 0xc
mov ecx, dword [ebp - 0x2730]
add ecx, 0x64
call fcn.0043e290
push eax
push 0x7f
lea eax, [ebp - 0x114]
push eax
push 0x540868
push 0x5452c0
push str.pushinfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x114]
push ecx
mov ecx, dword [ebp - 0x2730]
add ecx, 0x70
call fcn.00401ed0
mov ecx, dword [ebp - 0x2730]
add ecx, 0x64
call fcn.0043e290
push eax
push 0
push str.force
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp - 0x2730]
mov dword [edx + 0x74], eax
lea eax, [ebp - 0x2114]
push eax
call fcn.004b0eb7
add esp, 4
test eax, eax
jbe 0x485a9e
mov dword [ebp - 0x2120], 0
mov ecx, dword [0x543270]
mov dword [ebp - 0x211c], ecx
lea edx, [ebp - 0x211c]
push edx
lea eax, [ebp - 0x2114]
push eax
call fcn.004b5e1a
add esp, 8
mov dword [ebp - 0x2120], eax
push 0x540868
lea ecx, [ebp - 0x2118]
call fcn.00401e30
mov dword [ebp - 4], 0
cmp dword [ebp - 0x2120], 0
je 0x485a8c
mov ecx, dword [ebp - 0x2120]
push ecx
lea ecx, [ebp - 0x2118]
call fcn.00401ed0
lea ecx, [ebp - 0x2118]
call fcn.00428bb0
lea ecx, [ebp - 0x2118]
call fcn.00402010
movzx edx, al
test edx, edx
jne 0x4858a3
xor eax, eax
mov word [ebp - 0x2324], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x2322]
push ecx
call fcn.004b0ac0
add esp, 0xc
mov ecx, dword [ebp - 0x2730]
add ecx, 0x64
call fcn.0043e290
push eax
push 0xff
lea edx, [ebp - 0x2324]
push edx
push 0x540868
push str.runparam
lea ecx, [ebp - 0x2118]
call fcn.0043e290
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x2324]
push eax
lea ecx, [ebp - 0x2118]
push ecx
mov ecx, dword [ebp - 0x2730]
add ecx, 0x98
call fcn.00486060
mov ecx, eax
call fcn.00401ed0
push str.360sd_upd.exe
lea edx, [ebp - 0x2118]
push edx
call fcn.00428460
add esp, 8
movzx eax, al
test eax, eax
jne 0x4858f8
push str.360sd_upd64.exe
lea ecx, [ebp - 0x2118]
push ecx
call fcn.00428460
add esp, 8
movzx edx, al
test edx, edx
jne 0x4858f8
push str.360ws_upd.exe
lea eax, [ebp - 0x2118]
push eax
call fcn.00428460
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x485a70
xor edx, edx
mov word [ebp - 0x2524], dx
push 0x1fe
push 0
lea eax, [ebp - 0x2522]
push eax
call fcn.004b0ac0
add esp, 0xc
mov ecx, dword [ebp - 0x2730]
add ecx, 0x64
call fcn.0043e290
push eax
push 0xff
lea ecx, [ebp - 0x2524]
push ecx
push 0x549158
push str.silentparam
lea ecx, [ebp - 0x2118]
call fcn.0043e290
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push str..silent
lea edx, [ebp - 0x2118]
push edx
lea eax, [ebp - 0x2728]
push eax
call fcn.00403700
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2524]
push ecx
lea edx, [ebp - 0x2728]
push edx
mov ecx, dword [ebp - 0x2730]
add ecx, 0x98
call fcn.00486060
mov ecx, eax
call fcn.00401ed0
xor eax, eax
mov word [ebp - 0x2724], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x2722]
push ecx
call fcn.004b0ac0
add esp, 0xc
mov ecx, dword [ebp - 0x2730]
add ecx, 0x64
call fcn.0043e290
push eax
push 0xff
lea edx, [ebp - 0x2724]
push edx
push 0x540868
push str.limit
lea ecx, [ebp - 0x2118]
call fcn.0043e290
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push str..limit
lea eax, [ebp - 0x2118]
push eax
lea ecx, [ebp - 0x272c]
push ecx
call fcn.00403700
add esp, 0xc
mov dword [ebp - 0x2734], eax
mov edx, dword [ebp - 0x2734]
mov dword [ebp - 0x2738], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2738]
push eax
lea ecx, [ebp - 0x2728]
call fcn.00401970
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x272c]
call fcn.00401eb0
lea ecx, [ebp - 0x2724]
push ecx
lea edx, [ebp - 0x2728]
push edx
mov ecx, dword [ebp - 0x2730]
add ecx, 0x98
call fcn.00486060
mov ecx, eax
call fcn.00401ed0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2728]
call fcn.00401eb0
lea eax, [ebp - 0x211c]
push eax
push 0
call fcn.004b5e1a
add esp, 8
mov dword [ebp - 0x2120], eax
jmp 0x4857eb
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2118]
call fcn.00401eb0
mov ecx, dword [ebp - 0x2730]
add ecx, 0x98
push ecx
mov ecx, dword [ebp - 0x2730]
call fcn.00483d60
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0x5490d0
push 0x58f750
call fcn.004045b0
add esp, 0x10
jmp 0x485aff
push 0x540868
mov ecx, dword [ebp - 0x2730]
add ecx, 0x64
call fcn.00401ed0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0x5490d0
push 0x58f750
call fcn.004045b0
add esp, 0x10
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b0a79
mov esp, ebp
pop ebp
ret 0xc