Function at 0x537930
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f8351
mov eax, dword fs:[0]
push eax
sub esp, 0x3f4
mov eax, dword [0x6d35ac]
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 0x537978
xor al, al
jmp 0x537cb2
cmp byte [ebp + 0xc], bl
jne 0x537ac6
lea ecx, [ebp - 0x290]
call fcn.0053ee70
cmp dword [esi + 0x14], 8
mov eax, esi
mov dword [ebp - 4], 0
jb 0x53799d
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 0x537a8b
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.0053ef00
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.0053ef00
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.0053ef00
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 0x537a8b
cmp dword [esi + 0x14], 8
jb 0x537a6d
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 0x537cb2
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x537a95
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x537ab4
lea ecx, [ebp - 0x290]
mov bl, 1
call sym.360huabao.exe_public:_void___thiscall_ShellResourceRequestDetails::destructor_void_
mov al, bl
jmp 0x537cb2
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.005b24a0
add esp, 0xc
cmp byte [0x6d9628], 0
je 0x537b40
call fcn.0053aaf0
cmp eax, 1
jg 0x537b26
push 1
push 0x67
push str.c:usersqishaodesktop360pic_base_file_util_win.cc
lea ecx, [ebp - 0x350]
call fcn.00539f70
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 0x537b40
lea ecx, [ebp - 0x350]
and ebx, 0xfffffffe
call fcn.0053a220
cmp dword [esi + 0x14], 8
jb 0x537b48
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 0x537b50
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 0x537bbd
mov eax, 0x1494
mov word [ebp - 0x258], ax
cmp byte [0x6d9628], 0
je 0x537c1f
call fcn.0053aaf0
cmp eax, 1
jg 0x537c05
push 1
push 0x71
push str.c:usersqishaodesktop360pic_base_file_util_win.cc
lea ecx, [ebp - 0x350]
call fcn.00539f70
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 0x537c1f
lea ecx, [ebp - 0x350]
and ebx, 0xfffffffd
call fcn.0053a220
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp byte [0x6d9628], 0
mov esi, eax
je 0x537c8e
call fcn.0053aaf0
cmp eax, 1
jg 0x537c7e
push 1
push 0x74
push str.c:usersqishaodesktop360pic_base_file_util_win.cc
lea ecx, [ebp - 0x400]
call fcn.00539f70
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 0x537c8e
lea ecx, [ebp - 0x400]
call fcn.0053a220
cmp dword [ebp - 0x256], 0
jne 0x537971
test esi, esi
je 0x537cb0
cmp esi, 2
je 0x537cb0
cmp esi, 0x402
jne 0x537971
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.0059a7a2
mov esp, ebp
pop ebp
ret