Function at 0x4274b0
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x31c
mov eax, dword [0x498068]
xor eax, esp
mov dword [esp + 0x318], eax
push ebx
push esi
xor ebx, ebx
mov byte [esp + 0xf], dl
push edi
mov esi, ecx
mov dword [esp + 0x34], ebx
call fcn.00405f50
cmp eax, 0x104
jae 0x4277a6
test dl, dl
jne 0x427575
xorps xmm0, xmm0
mov word [esp + 0x40], bx
lea edx, [esp + 0x38]
movlpd qword [esp + 0x38], xmm0
movlpd qword [esp + 0x48], xmm0
movlpd qword [esp + 0x50], xmm0
movlpd qword [esp + 0x58], xmm0
call fcn.00427b40
test al, al
je 0x42754c
cmp byte [esp + 0x40], bl
je 0x42754c
mov ecx, esi
call fcn.00401810
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x318]
xor ecx, esp
call fcn.0044f786
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.00401810
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x427575
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x318]
xor ecx, esp
call fcn.0044f786
mov esp, ebp
pop ebp
ret
push 0x20a
lea eax, [esp + 0x114]
push 0
push eax
call fcn.00452050
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0xc
cmp byte [0x49ad3e], bl
je 0x42760a
cmp dword [0x49ad2c], 1
jg 0x4275f9
sub esp, 8
mov dword [esp + 0x68], 1
lea ecx, [esp + 0x70]
call fcn.00422bb0
mov dword [esp + 0x104], str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_base_file_util_win.cc
mov dword [esp + 0x108], 0x6d
call edi
push 0x6d
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_base_file_util_win.cc
lea ecx, [esp + 0x68]
mov dword [esp + 0x114], eax
call fcn.00425610
mov edx, str.copying
lea ecx, [esp + 0x68]
call fcn.00407130
mov ebx, 1
test bl, 1
je 0x42760a
lea ecx, [esp + 0x60]
and ebx, 0xfffffffe
call fcn.00425110
mov ecx, esi
call fcn.00401810
lea edx, [esp + 0x110]
sub edx, eax
nop word [eax + eax]
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [edx + eax - 2], cx
test cx, cx
jne 0x427620
lea eax, [esp + 0x110]
xorps xmm0, xmm0
mov dword [esp + 0x1c], eax
mov eax, 0x414
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], 0
movlpd qword [esp + 0x26], xmm0
mov dword [esp + 0x2e], 0
mov dword [esp + 0x18], 3
mov word [esp + 0x24], ax
cmp byte [esp + 0x13], cl
jne 0x42767e
mov eax, 0x1494
mov word [esp + 0x24], ax
cmp byte [0x49ad3e], 0
je 0x4276f5
cmp dword [0x49ad2c], 1
jg 0x4276e4
sub esp, 8
mov dword [esp + 0x68], 1
lea ecx, [esp + 0x70]
or ebx, 2
call fcn.00422bb0
mov dword [esp + 0x104], str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_base_file_util_win.cc
mov dword [esp + 0x108], 0x77
call edi
push 0x77
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_base_file_util_win.cc
lea ecx, [esp + 0x68]
mov dword [esp + 0x114], eax
call fcn.00425610
mov edx, str.Performing_shell_operation
lea ecx, [esp + 0x68]
call fcn.00407130
test bl, 2
je 0x4276f5
lea ecx, [esp + 0x60]
and ebx, 0xfffffffd
call fcn.00425110
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp byte [0x49ad3e], 0
mov esi, eax
je 0x427782
cmp dword [0x49ad2c], 1
jg 0x427774
sub esp, 8
mov dword [esp + 0x68], 1
lea ecx, [esp + 0x70]
or ebx, 4
call fcn.00422bb0
mov dword [esp + 0x104], str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_base_file_util_win.cc
mov dword [esp + 0x108], 0x7a
call edi
push 0x7a
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_base_file_util_win.cc
lea ecx, [esp + 0x68]
mov dword [esp + 0x114], eax
call fcn.00425610
push esi
push ecx
mov edx, str.Done:
lea ecx, [esp + 0x70]
call fcn.00407130
add esp, 4
mov ecx, eax
call fcn.00405430
test bl, 4
je 0x427782
lea ecx, [esp + 0x60]
call fcn.00425110
cmp dword [esp + 0x26], 0
jne 0x4277a6
test esi, esi
je 0x42755e
cmp esi, 2
je 0x42755e
cmp esi, 0x402
je 0x42755e
mov ecx, dword [esp + 0x324]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044f786
mov esp, ebp
pop ebp
ret