Function at 0x430870
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bad0b
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x6441a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x268], edi
push ecx
lea ecx, [ebp + 8]
mov dword [ebp - 4], 1
call fcn.00407000
movups xmm0, xmmword [0x628d68]
sub esp, 0x10
mov edx, eax
mov ecx, esp
sub esp, 0x10
movups xmmword [ecx], xmm0
mov ecx, esp
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [ecx], xmm0
lea ecx, [edi + 2]
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
push str.On_Delete_DIR_:__s
push str.Utils
push str.Utils::emptyDir
mov dword [eax + 8], edx
mov edx, str.D:Tools_agentworkspaceWeChatUpdateWechatUpdateutilsUtils.cpp
push 0x3c9
mov byte [eax], 2
call fcn.00403890
add esp, 0x70
mov dword [ebp - 0x288], edi
cmp dword [ebp + 0x20], edi
xorps xmm0, xmm0
movups xmmword [ebp - 0x298], xmm0
setg byte [ebp - 0x262]
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
cmp ecx, 1
jl 0x430958
mov eax, dword [ebp + 8]
push 1
push 0x6294f0
lea eax, [eax + ecx*2]
add eax, 0xfffffffe
push eax
call fcn.004d9229
add esp, 0xc
test eax, eax
je 0x430965
push 0x6294f0
lea ecx, [ebp + 8]
call fcn.00406cf0
mov eax, dword [ebp + 8]
test eax, eax
je 0x430972
cmp word [eax], 0
jne 0x430977
mov eax, 0x628fa4
push eax
lea eax, [ebp - 0x298]
push str._s.
push eax
call fcn.00406ec0
mov esi, dword [ebp - 0x298]
add esp, 0xc
test esi, esi
je 0x43099e
cmp word [esi], 0
mov eax, esi
jne 0x4309a3
mov eax, 0x628fa4
lea ecx, [ebp - 0x260]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x26c], eax
cmp eax, 0xffffffff
je 0x430c2b
push 0xff
lea eax, [ebp - 0x234]
push 0x629df4
push eax
call fcn.004d9229
add esp, 0xc
test eax, eax
je 0x430c04
push 0xff
lea eax, [ebp - 0x234]
push 0x62c6c8
push eax
call fcn.004d9229
add esp, 0xc
test eax, eax
je 0x430c04
cmp byte [ebp - 0x262], 0
je 0x430a69
push 0xffffffffffffffff
lea eax, [ebp - 0x234]
mov dword [ebp - 0x270], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x280]
push eax
movups xmmword [ebp - 0x280], xmm0
call fcn.00406c40
or edi, 1
mov dword [ebp - 0x268], edi
mov edi, dword [ebp - 0x280]
test edi, edi
je 0x430a4e
cmp word [edi], 0
mov eax, edi
jne 0x430a53
mov eax, 0x628fa4
push eax
lea ecx, [ebp + 0x1c]
call fcn.00406e30
test eax, eax
jne 0x430a6f
mov byte [ebp - 0x261], 1
jmp 0x430a76
mov edi, dword [ebp - 0x280]
mov byte [ebp - 0x261], 0
mov eax, dword [ebp - 0x268]
test al, 1
je 0x430aa9
and eax, 0xfffffffe
mov dword [ebp - 0x268], eax
test edi, edi
je 0x430a96
push edi
call fcn.004d2e13
add esp, 4
mov eax, dword [ebp - 0x274]
test eax, eax
je 0x430aa9
push eax
call fcn.004d2e13
add esp, 4
cmp byte [ebp - 0x261], 0
jne 0x430bfe
test byte [ebp - 0x260], 0x10
je 0x430b8c
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x280]
call fcn.00406930
push 0x6294f0
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 3
call fcn.00406cf0
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x280]
call fcn.00406cf0
sub esp, 0x14
mov ecx, esp
push 0xffffffffffffffff
push 0x628fa4
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
call fcn.00406c40
sub esp, 0x14
lea eax, [ebp - 0x280]
mov ecx, esp
push eax
call fcn.00406930
call fcn.00430870
mov edi, dword [ebp - 0x280]
add esp, 0x28
test edi, edi
je 0x430b56
cmp word [edi], 0
mov eax, edi
jne 0x430b5b
mov eax, 0x628fa4
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov byte [ebp - 4], 2
test edi, edi
je 0x430b73
push edi
call fcn.004d2e13
add esp, 4
mov eax, dword [ebp - 0x274]
test eax, eax
je 0x430bfe
push eax
call fcn.004d2e13
add esp, 4
jmp 0x430bfe
mov eax, dword [ebp + 8]
test eax, eax
je 0x430b99
cmp word [eax], 0
jne 0x430b9e
mov eax, 0x628fa4
lea ecx, [ebp - 0x234]
push ecx
push eax
lea eax, [ebp - 0x298]
push 0x629b54
push eax
call fcn.00406ec0
mov eax, dword [ebp - 0x260]
add esp, 0x10
mov esi, dword [ebp - 0x298]
test al, 1
je 0x430be6
test esi, esi
je 0x430bd6
cmp word [esi], 0
mov ecx, esi
jne 0x430bdb
mov ecx, 0x628fa4
and eax, 0xfffffffe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test esi, esi
je 0x430bf2
cmp word [esi], 0
mov eax, esi
jne 0x430bf7
mov eax, 0x628fa4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [ebp - 0x268]
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4309c0
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_FindClose]
test esi, esi
je 0x430c38
push esi
call fcn.004d2e13
add esp, 4
mov eax, dword [ebp - 0x28c]
test eax, eax
je 0x430c4b
push eax
call fcn.004d2e13
add esp, 4
mov eax, dword [ebp + 8]
test eax, eax
je 0x430c62
push eax
call fcn.004d2e13
add esp, 4
mov dword [ebp + 8], 0
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0x10], 0
mov dword [ebp + 0xc], 0
test eax, eax
je 0x430c8e
push eax
call fcn.004d2e13
add esp, 4
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x18], 0
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x430ca5
push eax
call fcn.004d2e13
add esp, 4
mov dword [ebp + 0x1c], 0
mov eax, dword [ebp + 0x28]
mov dword [ebp + 0x24], 0
mov dword [ebp + 0x20], 0
test eax, eax
je 0x430cc3
push eax
call fcn.004d2e13
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cdf2e
mov esp, ebp
pop ebp
ret