Function at 0x427e90
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.00406940
cmp eax, 0x104
jae 0x428186
test dl, dl
jne 0x427f55
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.00428520
test al, al
je 0x427f2c
cmp byte [esp + 0x40], bl
je 0x427f2c
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.00450164
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 0x427f55
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x318]
xor ecx, esp
call fcn.00450164
mov esp, ebp
pop ebp
ret
push 0x20a
lea eax, [esp + 0x114]
push 0
push eax
call fcn.00452a30
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0xc
cmp byte [0x49ad42], bl
je 0x427fea
cmp dword [0x49ad28], 1
jg 0x427fd9
sub esp, 8
mov dword [esp + 0x68], 1
lea ecx, [esp + 0x70]
call fcn.004235a0
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.00426000
mov edx, str.copying
lea ecx, [esp + 0x68]
call fcn.00407b40
mov ebx, 1
test bl, 1
je 0x427fea
lea ecx, [esp + 0x60]
and ebx, 0xfffffffe
call fcn.00425b00
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 0x428000
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 0x42805e
mov eax, 0x1494
mov word [esp + 0x24], ax
cmp byte [0x49ad42], 0
je 0x4280d5
cmp dword [0x49ad28], 1
jg 0x4280c4
sub esp, 8
mov dword [esp + 0x68], 1
lea ecx, [esp + 0x70]
or ebx, 2
call fcn.004235a0
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.00426000
mov edx, str.Performing_shell_operation
lea ecx, [esp + 0x68]
call fcn.00407b40
test bl, 2
je 0x4280d5
lea ecx, [esp + 0x60]
and ebx, 0xfffffffd
call fcn.00425b00
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp byte [0x49ad42], 0
mov esi, eax
je 0x428162
cmp dword [0x49ad28], 1
jg 0x428154
sub esp, 8
mov dword [esp + 0x68], 1
lea ecx, [esp + 0x70]
or ebx, 4
call fcn.004235a0
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.00426000
push esi
push ecx
mov edx, str.Done:
lea ecx, [esp + 0x70]
call fcn.00407b40
add esp, 4
mov ecx, eax
call fcn.00405e10
test bl, 4
je 0x428162
lea ecx, [esp + 0x60]
call fcn.00425b00
cmp dword [esp + 0x26], 0
jne 0x428186
test esi, esi
je 0x427f3e
cmp esi, 2
je 0x427f3e
cmp esi, 0x402
je 0x427f3e
mov ecx, dword [esp + 0x324]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00450164
mov esp, ebp
pop ebp
ret