Function at 0x409c50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x539675
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x58d984]
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.00410680
add esp, 4
mov edx, eax
cmp dword [edx + 0x14], 8
mov dword [ebp - 4], 0
jb 0x409ca7
mov edx, dword [edx]
test edx, edx
jne 0x409caf
xor ecx, ecx
jmp 0x409cc3
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409cb4
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00408420
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x409d0d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409d03
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a1b9
push edx
push ecx
call fcn.004ed797
add esp, 8
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.00410590
add esp, 8
mov edx, eax
cmp dword [edx + 0x14], 8
mov dword [ebp - 4], 1
jb 0x409d2c
mov edx, dword [edx]
test edx, edx
jne 0x409d34
xor ecx, ecx
jmp 0x409d4f
mov ecx, edx
lea ebx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409d40
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0xc]
call fcn.00408420
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x409d9a
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409d90
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a1be
push edx
push ecx
call fcn.004ed797
add esp, 8
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.004104c0
add esp, 8
mov edx, eax
cmp dword [edx + 0x14], 8
mov dword [ebp - 4], 2
jb 0x409db9
mov edx, dword [edx]
test edx, edx
jne 0x409dc1
xor ecx, ecx
jmp 0x409dd5
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409dc6
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x10]
call fcn.00408420
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x409e20
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409e16
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a1c3
push edx
push ecx
call fcn.004ed797
add esp, 8
call fcn.00417fb0
mov ecx, 0x545c7c
test eax, eax
jne 0x409e33
mov ecx, 0x545c84
mov edx, ecx
lea ebx, [edx + 2]
jmp 0x409e40
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x409e40
sub edx, ebx
sar edx, 1
push edx
push ecx
lea ecx, [edi + 0x14]
call fcn.00408420
push 0x11c
lea eax, [ebp - 0x15c]
push 0
push eax
call fcn.0050ce60
lea eax, [ebp - 0x15c]
push eax
call fcn.00417f50
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.004047e0
add esp, 0x24
mov dword [ebp - 4], 4
call fcn.004048c0
mov ecx, eax
test ecx, ecx
je 0x40a1c8
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.0040a1e0
add esp, 4
test al, al
je 0x409eee
push 0x545bd0
lea ecx, [ebp - 0x160]
call fcn.00407fb0
push str.Kingsoft_Internet_Security
call fcn.0040a1e0
add esp, 4
test al, al
je 0x409f0f
push 0x545c10
lea ecx, [ebp - 0x160]
call fcn.00407fb0
push str.2345PCSafe
call fcn.0040a1e0
add esp, 4
test al, al
je 0x409f30
push 0x545c30
lea ecx, [ebp - 0x160]
call fcn.00407fb0
push str.HuorongSysdiag
call fcn.0040a1e0
add esp, 4
test al, al
je 0x409f51
push 0x545c58
lea ecx, [ebp - 0x160]
call fcn.00407fb0
push 0x545c60
lea ecx, [ebp - 0x160]
call fcn.00408750
lea eax, [ebp - 0x160]
push eax
lea ecx, [edi + 0x2c]
call fcn.00407c80
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 0x409f97
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x160]
push 0x545c64
push eax
call fcn.004127f0
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 0x409fdd
test esi, esi
jg 0x409fd6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x545c8c
jmp 0x409fee
test esi, esi
jg 0x409fe9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x545c90
mov edx, ecx
lea ebx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x409ff3
sub edx, ebx
sar edx, 1
push edx
push ecx
lea ecx, [edi + 0x24]
call fcn.00408420
call fcn.00404a50
mov ecx, 0x545c8c
cmp eax, 1
je 0x40a020
mov ecx, 0x545c90
mov edx, ecx
lea ebx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x40a025
sub edx, ebx
sar edx, 1
push edx
push ecx
lea ecx, [edi + 0x28]
call fcn.00408420
lea ecx, [ebp - 0x170]
call fcn.0040bff0
lea ecx, [ebp - 0x170]
mov dword [ebp - 4], 5
call fcn.0040c340
mov ecx, 0x545c8c
test eax, eax
jne 0x40a069
mov ecx, 0x545c90
mov edx, ecx
lea ebx, [edx + 2]
mov edi, edi
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x40a070
sub edx, ebx
sar edx, 1
push edx
push ecx
lea ecx, [edi + 0x34]
call fcn.00408420
lea eax, [ebp - 0x28]
push eax
call fcn.00405520
add esp, 4
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [ebp - 4], 6
jb 0x40a0a3
mov edx, dword [edx]
test edx, edx
jne 0x40a0ab
xor ecx, ecx
jmp 0x40a0bf
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a0b0
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x1c]
call fcn.00408420
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x40a107
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a0fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a1d2
push edx
push ecx
call fcn.004ed797
add esp, 8
lea eax, [ebp - 0x40]
push eax
call fcn.00405640
add esp, 4
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [ebp - 4], 7
jb 0x40a121
mov edx, dword [edx]
test edx, edx
jne 0x40a129
xor ecx, ecx
jmp 0x40a13f
mov ecx, edx
lea ebx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a130
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x20]
call fcn.00408420
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x40a183
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a179
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a1d7
push edx
push ecx
call fcn.004ed797
add esp, 8
push 0xa
push 0x545c94
lea ecx, [edi + 0x38]
call fcn.00408420
lea ecx, [ebp - 0x170]
call fcn.0040c020
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.004eda39
mov esp, ebp
pop ebp
ret
call fcn.0051042e
call fcn.0051042e
call fcn.0051042e
push 0x80004005
call fcn.00404520
call fcn.0051042e
call fcn.0051042e
int3