Function at 0x487ba0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f1905
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x536364]
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 edi, ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x164], 0
push eax
call fcn.0048fdc0
add esp, 4
mov edx, eax
cmp dword [edx + 0x14], 8
mov dword [ebp - 4], 0
jb 0x487bf7
mov edx, dword [edx]
test edx, edx
jne 0x487bff
xor ecx, ecx
jmp 0x487c13
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x487c04
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.004864d0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x487c5d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x487c53
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488109
push edx
push ecx
call fcn.004a1b67
add esp, 8
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.0048fcd0
add esp, 8
mov edx, eax
cmp dword [edx + 0x14], 8
mov dword [ebp - 4], 1
jb 0x487c7c
mov edx, dword [edx]
test edx, edx
jne 0x487c84
xor ecx, ecx
jmp 0x487c9f
mov ecx, edx
lea ebx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x487c90
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0xc]
call fcn.004864d0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x487cea
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x487ce0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48810e
push edx
push ecx
call fcn.004a1b67
add esp, 8
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.0048fc00
add esp, 8
mov edx, eax
cmp dword [edx + 0x14], 8
mov dword [ebp - 4], 2
jb 0x487d09
mov edx, dword [edx]
test edx, edx
jne 0x487d11
xor ecx, ecx
jmp 0x487d25
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x487d16
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x10]
call fcn.004864d0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x487d70
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x487d66
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488113
push edx
push ecx
call fcn.004a1b67
add esp, 8
call fcn.00491e10
mov ecx, 0x4f7a74
test eax, eax
jne 0x487d83
mov ecx, 0x4f7a7c
mov edx, ecx
lea ebx, [edx + 2]
jmp 0x487d90
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x487d90
sub edx, ebx
sar edx, 1
push edx
push ecx
lea ecx, [edi + 0x14]
call fcn.004864d0
push 0x11c
lea eax, [ebp - 0x15c]
push 0
push eax
call fcn.004c10f0
lea eax, [ebp - 0x15c]
push eax
call fcn.00491db0
push dword [ebp - 0x150]
lea eax, [edi + 0x18]
push dword [ebp - 0x154]
push dword [ebp - 0x158]
push str._d._d._d
push eax
call fcn.00483970
add esp, 0x24
mov dword [ebp - 4], 4
call fcn.00483a50
mov ecx, eax
test ecx, ecx
je 0x488118
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov byte [ebp - 4], 3
push str.QQPCMgr
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x164], 1
call fcn.00488130
add esp, 4
test al, al
je 0x487e3e
push 0x4f79c8
lea ecx, [ebp - 0x160]
call fcn.00486060
push str.Kingsoft_Internet_Security
call fcn.00488130
add esp, 4
test al, al
je 0x487e5f
push 0x4f7a08
lea ecx, [ebp - 0x160]
call fcn.00486060
push str.2345PCSafe
call fcn.00488130
add esp, 4
test al, al
je 0x487e80
push 0x4f7a28
lea ecx, [ebp - 0x160]
call fcn.00486060
push str.HuorongSysdiag
call fcn.00488130
add esp, 4
test al, al
je 0x487ea1
push 0x4f7a50
lea ecx, [ebp - 0x160]
call fcn.00486060
push 0x4f7a58
lea ecx, [ebp - 0x160]
call fcn.00486800
lea eax, [ebp - 0x160]
push eax
lea ecx, [edi + 0x2c]
call fcn.00485d50
mov edx, dword [ebp - 0x160]
or esi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x487ee7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x160]
push 0x4f7a5c
push eax
call fcn.00491710
add esp, 8
push dword [ebp - 0x160]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x160]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test eax, eax
je 0x487f2d
test esi, esi
jg 0x487f26
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x4f7a84
jmp 0x487f3e
test esi, esi
jg 0x487f39
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x4f7a88
mov edx, ecx
lea ebx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x487f43
sub edx, ebx
sar edx, 1
push edx
push ecx
lea ecx, [edi + 0x24]
call fcn.004864d0
call fcn.00483be0
mov ecx, 0x4f7a84
cmp eax, 1
je 0x487f70
mov ecx, 0x4f7a88
mov edx, ecx
lea ebx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x487f75
sub edx, ebx
sar edx, 1
push edx
push ecx
lea ecx, [edi + 0x28]
call fcn.004864d0
lea ecx, [ebp - 0x170]
call fcn.00489ff0
lea ecx, [ebp - 0x170]
mov dword [ebp - 4], 5
call fcn.0048a340
mov ecx, 0x4f7a84
test eax, eax
jne 0x487fb9
mov ecx, 0x4f7a88
mov edx, ecx
lea ebx, [edx + 2]
mov edi, edi
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x487fc0
sub edx, ebx
sar edx, 1
push edx
push ecx
lea ecx, [edi + 0x34]
call fcn.004864d0
lea eax, [ebp - 0x28]
push eax
call fcn.004842f0
add esp, 4
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [ebp - 4], 6
jb 0x487ff3
mov edx, dword [edx]
test edx, edx
jne 0x487ffb
xor ecx, ecx
jmp 0x48800f
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x488000
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x1c]
call fcn.004864d0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x488057
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48804d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488122
push edx
push ecx
call fcn.004a1b67
add esp, 8
lea eax, [ebp - 0x40]
push eax
call fcn.00484410
add esp, 4
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [ebp - 4], 7
jb 0x488071
mov edx, dword [edx]
test edx, edx
jne 0x488079
xor ecx, ecx
jmp 0x48808f
mov ecx, edx
lea ebx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x488080
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x20]
call fcn.004864d0
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x4880d3
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4880c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488127
push edx
push ecx
call fcn.004a1b67
add esp, 8
push 0xa
push 0x4f7a8c
lea ecx, [edi + 0x38]
call fcn.004864d0
lea ecx, [ebp - 0x170]
call fcn.0048a020
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.004a1e09
mov esp, ebp
pop ebp
ret
call fcn.004c43e9
call fcn.004c43e9
call fcn.004c43e9
push 0x80004005
call fcn.004836b0
call fcn.004c43e9
call fcn.004c43e9
int3