Function at 0x48afa0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df9cd
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x520404]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov esi, dword [ebp + 0xc]
xor eax, eax
push eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x4c], ebx
push 0x4f8bb8
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00408960
mov dword [ebp - 4], 0
test esi, esi
je 0x48b20d
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48b014
sub ecx, edx
sar ecx, 1
je 0x48b20d
mov dword [ebp - 0x54], str.360se.exe
xor edi, edi
mov dword [ebp - 0x50], str.360secore.exe
lea esp, [esp]
call fcn.004782d0
mov ecx, eax
test ecx, ecx
je 0x48b262
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x48], eax
push esi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00477ee0
test al, al
jne 0x48b089
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48b070
sub eax, edx
lea ecx, [ebp - 0x48]
sar eax, 1
push eax
push esi
call fcn.00478540
push dword [ebp + edi*4 - 0x54]
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 2
push 0x4e6848
push eax
call fcn.00486990
mov esi, dword [ebp - 0x48]
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48b0dd
push str.360se.exe
push dword [ebp + edi*4 - 0x54]
call fcn.004af5ae
add esp, 8
test eax, eax
jne 0x48b10b
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
test eax, eax
je 0x48b10b
cmp dword [ebp - 0x44], 6
jne 0x48b10b
or eax, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48b0f9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
inc edi
cmp edi, 2
jge 0x48b20d
mov esi, dword [ebp - 0x4c]
jmp 0x48b040
call fcn.004782d0
mov ecx, eax
test ecx, ecx
je 0x48b262
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push esi
push eax
call fcn.00489250
add esp, 8
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 4
jb 0x48b142
mov eax, dword [eax]
push eax
push dword [ebp - 0x4c]
lea eax, [ebp - 0x44]
push str._s_sInstaller_setup.exe
push eax
call fcn.00486990
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00407180
mov edi, dword [ebp - 0x44]
mov ecx, edi
lea edx, [ecx + 2]
jmp 0x48b170
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48b170
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.00408960
mov eax, dword [ebp - 0x28]
lea edx, [edi - 0x10]
mov dword [ebx], 0
or edi, 0xffffffff
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx], eax
mov eax, dword [ebp - 0x24]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x14], eax
xor eax, eax
mov word [ebp - 0x28], ax
mov eax, edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov byte [ebp - 4], 2
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48b1f2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x48b244
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x48b244
mov eax, dword [ebp - 0x28]
mov dword [ebx], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx], eax
mov eax, dword [ebp - 0x24]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x14], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a7f4e
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00477ec0
int3