Function at 0x4128f0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453dfd
mov eax, dword fs:[0]
push eax
sub esp, 0x37c
mov eax, dword [0x46a180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x40]
push edi
mov dword [ebp - 0x380], edi
call fcn.00403f30
mov dword [ebp - 4], 0
call fcn.004102f0
cmp eax, 6
jl 0x41298a
push str.WemeetFileUtil::RemoveDirectoryRecursively
push 0x62
push str.D:qci_workspace_root_workspaces__qci_pipeline_10854701_1_appWindows_serviceupdate_serviceutilwemeet_file_util.cc
push 6
lea ecx, [ebp - 0x128]
call fcn.00404330
mov esi, eax
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 1
push str.removing_directory:
push ecx
call fcn.00402c00
add esp, 8
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.00411420
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0
call fcn.00404f70
push 2
push 0x458aec
lea ecx, [ebp - 0x40]
call fcn.004095a0
push 0x250
lea eax, [ebp - 0x378]
push 0
push eax
call fcn.00432ee0
add esp, 0xc
lea ecx, [ebp - 0x378]
cmp dword [ebp - 0x2c], 7
lea eax, [ebp - 0x40]
cmova eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x388], eax
cmp eax, 0xffffffff
jne 0x412a10
call fcn.004102f0
cmp eax, 3
jl 0x412d8c
push str.WemeetFileUtil::RemoveDirectoryRecursively
push 0x6b
push str.D:qci_workspace_root_workspaces__qci_pipeline_10854701_1_appWindows_serviceupdate_serviceutilwemeet_file_util.cc
push 3
lea ecx, [ebp - 0x128]
call fcn.00404330
mov byte [ebp - 4], 2
push str.find_failed:
jmp 0x412d67
mov ecx, 0x458b04
lea eax, [ebp - 0x34c]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x412a46
test dx, dx
je 0x412a42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x412a46
add eax, 4
add ecx, 4
test dx, dx
jne 0x412a20
xor eax, eax
jmp 0x412a4b
sbb eax, eax
or eax, 1
test eax, eax
je 0x412d04
mov ecx, 0x458b08
lea eax, [ebp - 0x34c]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x412a86
test dx, dx
je 0x412a82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x412a86
add eax, 4
add ecx, 4
test dx, dx
jne 0x412a60
xor eax, eax
jmp 0x412a8b
sbb eax, eax
or eax, 1
test eax, eax
je 0x412d04
mov eax, dword [ebp - 0x380]
xorps xmm0, xmm0
mov esi, dword [edi + 0x10]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
cmp dword [eax + 0x14], 7
mov dword [ebp - 0x14], 0
jbe 0x412ab9
mov edi, dword [eax]
cmp esi, 0x7ffffffe
ja 0x412efe
mov dword [ebp - 0x14], 7
cmp esi, 7
ja 0x412add
mov dword [ebp - 0x18], esi
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x28], xmm0
jmp 0x412b32
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x412af0
mov eax, SysReAllocString
jmp 0x412afb
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x384], eax
lea eax, [ebp - 0x384]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00402f50
mov ecx, dword [ebp - 0x384]
mov dword [ebp - 0x14], ecx
lea ecx, [esi*2 + 2]
push ecx
push edi
push eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], esi
call fcn.00432960
add esp, 0x14
push 1
push 0x45894c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.004095a0
lea ecx, [ebp - 0x34c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412b50
sub ecx, edx
lea eax, [ebp - 0x34c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.004095a0
test byte [ebp - 0x378], 0x10
lea eax, [ebp - 0x28]
je 0x412b89
push eax
call fcn.004128f0
add esp, 4
jmp 0x412cc0
cmp dword [ebp - 0x14], 7
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x412bf5
call fcn.004102f0
cmp eax, 6
jl 0x412cc0
push str.EnsureDeleteFile
push 0x53
push str.D:qci_workspace_root_workspaces__qci_pipeline_10854701_1_appWindows_serviceupdate_serviceutilwemeet_file_util.cc
push 6
lea ecx, [ebp - 0x128]
call fcn.00404330
mov esi, eax
mov byte [ebp - 4], 4
push str.delete_file_successfully:
lea ecx, [esi + 0x10]
push ecx
call fcn.00402c00
add esp, 8
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00411420
lea ecx, [ebp - 0x128]
call fcn.00404f70
jmp 0x412cc0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x384], eax
cmp eax, 0x20
je 0x412c3f
cmp eax, 0x21
je 0x412c3f
call fcn.004102f0
cmp eax, 3
jl 0x412cc0
push str.EnsureDeleteFile
push 0x5c
push str.D:qci_workspace_root_workspaces__qci_pipeline_10854701_1_appWindows_serviceupdate_serviceutilwemeet_file_util.cc
push 3
lea ecx, [ebp - 0x128]
call fcn.00404330
mov esi, eax
mov byte [ebp - 4], 6
push str.delete_file_failed:
jmp 0x412bce
call fcn.004102f0
cmp eax, 3
jl 0x412caa
push str.EnsureDeleteFile
push 0x59
push str.D:qci_workspace_root_workspaces__qci_pipeline_10854701_1_appWindows_serviceupdate_serviceutilwemeet_file_util.cc
push 3
lea ecx, [ebp - 0x128]
call fcn.00404330
mov edi, eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 5
push str.file_is_used_
push esi
call fcn.00402c00
add esp, 8
mov ecx, esi
push dword [ebp - 0x384]
call fcn.00405220
push 0x458a8c
push esi
call fcn.00402c00
add esp, 8
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00411420
lea ecx, [ebp - 0x128]
call fcn.00404f70
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
push 4
cmova eax, dword [ebp - 0x28]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 7
jbe 0x412cfe
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x412cf4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412f03
push ecx
push edx
call fcn.00430e05
add esp, 8
mov edi, dword [ebp - 0x380]
lea eax, [ebp - 0x378]
push eax
push dword [ebp - 0x388]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x412a10
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x388]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FindClose]
call fcn.004102f0
cmp esi, 0x12
je 0x412d93
cmp eax, 3
jl 0x412d8c
push str.WemeetFileUtil::RemoveDirectoryRecursively
push 0x83
push str.D:qci_workspace_root_workspaces__qci_pipeline_10854701_1_appWindows_serviceupdate_serviceutilwemeet_file_util.cc
push 3
lea ecx, [ebp - 0x128]
call fcn.00404330
mov byte [ebp - 4], 7
push str.find_next_failed:
lea esi, [eax + 0x10]
push esi
call fcn.00402c00
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.00405220
lea ecx, [ebp - 0x128]
call fcn.00404f70
xor al, al
jmp 0x412ea1
cmp eax, 6
jl 0x412de2
push str.WemeetFileUtil::RemoveDirectoryRecursively
push 0x86
push str.D:qci_workspace_root_workspaces__qci_pipeline_10854701_1_appWindows_serviceupdate_serviceutilwemeet_file_util.cc
push 6
lea ecx, [ebp - 0x128]
call fcn.00404330
mov esi, eax
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 8
push str.deleting_directory:
push ecx
call fcn.00402c00
add esp, 8
mov ecx, esi
push edi
call fcn.00411420
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0
call fcn.00404f70
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x412dec
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x388], eax
cmp eax, 0x20
je 0x412e12
cmp eax, 0x91
je 0x412e12
mov al, 1
jmp 0x412ea1
call fcn.004102f0
cmp eax, 3
jl 0x412e89
push str.WemeetFileUtil::RemoveDirectoryRecursively
push 0x8b
push str.D:qci_workspace_root_workspaces__qci_pipeline_10854701_1_appWindows_serviceupdate_serviceutilwemeet_file_util.cc
push 3
lea ecx, [ebp - 0x128]
call fcn.00404330
mov edi, eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 9
push str.directory_is_used_
push esi
call fcn.00402c00
add esp, 8
mov ecx, esi
push dword [ebp - 0x388]
call fcn.00405220
push 0x458a8c
push esi
call fcn.00402c00
mov eax, dword [ebp - 0x380]
add esp, 8
mov ecx, edi
push eax
call fcn.00411420
lea ecx, [ebp - 0x128]
call fcn.00404f70
mov edi, dword [ebp - 0x380]
cmp dword [edi + 0x14], 7
jbe 0x412e91
mov edi, dword [edi]
push 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne al
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 0x379], al
cmp ecx, 7
jbe 0x412ee3
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x412ed3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412f03
push ecx
push edx
call fcn.00430e05
mov al, byte [ebp - 0x379]
add esp, 8
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.004312d2
mov esp, ebp
pop ebp
ret
call fcn.004092a0
call fcn.00435fbe
int3