Function at 0x52e080
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ed5c1
mov eax, dword fs:[0]
push eax
sub esp, 0x3f4
mov eax, dword [0x6c45ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x244], ebx
cmp dword [esi + 0x10], 0x104
jb 0x52e0c8
xor al, al
jmp 0x52e402
cmp byte [ebp + 0xc], bl
jne 0x52e216
lea ecx, [ebp - 0x290]
call fcn.00535660
cmp dword [esi + 0x14], 8
mov eax, esi
mov dword [ebp - 4], 0
jb 0x52e0ed
mov eax, dword [esi]
lea ecx, [ebp - 0x240]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x52e1db
mov eax, dword [ebp - 0x220]
push dword [ebp - 0x228]
mov ecx, dword [ebp - 0x224]
push dword [ebp - 0x22c]
mov dword [ebp - 0x290], eax
mov eax, dword [ebp - 0x240]
shr eax, 4
and al, 1
mov dword [ebp - 0x28c], ecx
mov byte [ebp - 0x288], al
lea eax, [ebp - 0x248]
push eax
call fcn.005356f0
push dword [ebp - 0x230]
push dword [ebp - 0x234]
mov ecx, dword [eax]
mov dword [ebp - 0x280], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0x27c], eax
lea eax, [ebp - 0x298]
push eax
call fcn.005356f0
push dword [ebp - 0x238]
push dword [ebp - 0x23c]
mov ecx, dword [eax]
mov dword [ebp - 0x278], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x2a0]
push eax
call fcn.005356f0
add esp, 0x24
cmp byte [ebp - 0x288], 0
mov ecx, dword [eax]
mov dword [ebp - 0x270], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0x26c], eax
je 0x52e1db
cmp dword [esi + 0x14], 8
jb 0x52e1bd
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
lea ecx, [ebp - 0x290]
setne bl
call sym.360huabao.exe_public:_void___thiscall_ShellResourceRequestDetails::destructor_void_
mov al, bl
jmp 0x52e402
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x52e1e5
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x52e204
lea ecx, [ebp - 0x290]
mov bl, 1
call sym.360huabao.exe_public:_void___thiscall_ShellResourceRequestDetails::destructor_void_
mov al, bl
jmp 0x52e402
lea ecx, [ebp - 0x290]
mov dword [ebp - 4], 0xffffffff
call sym.360huabao.exe_public:_void___thiscall_ShellResourceRequestDetails::destructor_void_
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.005a88e0
add esp, 0xc
cmp byte [0x6ca558], 0
je 0x52e290
call fcn.005312e0
cmp eax, 1
jg 0x52e276
push 1
push 0x67
push str.c:usersqishaodesktop360pic_base_file_util_win.cc
lea ecx, [ebp - 0x350]
call fcn.00530760
add eax, 8
mov dword [ebp - 4], 1
push str.copying
mov ebx, 1
push eax
mov dword [ebp - 0x244], ebx
call fcn.0040923f
add esp, 8
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x52e290
lea ecx, [ebp - 0x350]
and ebx, 0xfffffffe
call fcn.00530a10
cmp dword [esi + 0x14], 8
jb 0x52e298
mov esi, dword [esi]
lea ecx, [ebp - 0x21c]
sub ecx, esi
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x52e2a0
cmp byte [ebp + 0xc], 0
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x260], eax
xorps xmm0, xmm0
mov eax, 0x414
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x25c], 0
movlpd qword [ebp - 0x256], xmm0
mov dword [ebp - 0x24e], 0
mov dword [ebp - 0x264], 3
mov word [ebp - 0x258], ax
jne 0x52e30d
mov eax, 0x1494
mov word [ebp - 0x258], ax
cmp byte [0x6ca558], 0
je 0x52e36f
call fcn.005312e0
cmp eax, 1
jg 0x52e355
push 1
push 0x71
push str.c:usersqishaodesktop360pic_base_file_util_win.cc
lea ecx, [ebp - 0x350]
call fcn.00530760
add eax, 8
mov dword [ebp - 4], 2
push str.Performing_shell_operation
or ebx, 2
push eax
mov dword [ebp - 0x244], ebx
call fcn.0040923f
add esp, 8
mov dword [ebp - 4], 0xffffffff
test bl, 2
je 0x52e36f
lea ecx, [ebp - 0x350]
and ebx, 0xfffffffd
call fcn.00530a10
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp byte [0x6ca558], 0
mov esi, eax
je 0x52e3de
call fcn.005312e0
cmp eax, 1
jg 0x52e3ce
push 1
push 0x74
push str.c:usersqishaodesktop360pic_base_file_util_win.cc
lea ecx, [ebp - 0x400]
call fcn.00530760
push esi
add eax, 8
mov dword [ebp - 4], 3
push str.Done:
or ebx, 4
push eax
mov dword [ebp - 0x244], ebx
call fcn.0040923f
add esp, 8
mov ecx, eax
call fcn.00407b8f
test bl, 4
je 0x52e3de
lea ecx, [ebp - 0x400]
call fcn.00530a10
cmp dword [ebp - 0x256], 0
jne 0x52e0c1
test esi, esi
je 0x52e400
cmp esi, 2
je 0x52e400
cmp esi, 0x402
jne 0x52e0c1
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00590be8
mov esp, ebp
pop ebp
ret