Function at 0x425430
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30c
mov eax, dword [0x7b92f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x234], ebx
cmp dword [esi + 0x10], 0x104
jb 0x42546b
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00496e21
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0xc], bl
jne 0x42550d
lea ecx, [ebp - 0x25c]
call fcn.004318b0
lea eax, [ebp - 0x25c]
push eax
push esi
call fcn.004257d0
add esp, 8
test al, al
je 0x4254cc
cmp byte [ebp - 0x254], bl
je 0x4254cc
cmp dword [esi + 0x14], 8
jb 0x4254a3
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
lea ecx, [ebp - 0x25c]
setne bl
call fcn.00401670
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00496e21
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x14], 8
jb 0x4254d6
mov eax, dword [esi]
jmp 0x4254d8
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x425502
lea ecx, [ebp - 0x25c]
mov bl, 1
call fcn.00401670
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00496e21
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x25c]
call fcn.00401670
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.004af5b0
add esp, 0xc
cmp byte [0x7bc7f0], bl
je 0x425572
call fcn.00421030
cmp eax, 1
jg 0x42555f
push 1
push 0x6f
push str.file_util_win.cc
lea ecx, [ebp - 0x30c]
call fcn.004203c0
add eax, 8
push 0x791608
push eax
call fcn.004169d0
add esp, 8
mov ebx, 1
test bl, 1
je 0x425572
lea ecx, [ebp - 0x30c]
and ebx, 0xfffffffe
call fcn.004205f0
cmp dword [esi + 0x14], 8
jb 0x42557a
mov esi, dword [esi]
lea ecx, [ebp - 0x210]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x425580
cmp byte [ebp + 0xc], 0
xorps xmm0, xmm0
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x210]
movups xmmword [ebp - 0x22c], xmm0
mov dword [ebp - 0x228], eax
mov eax, 0x414
mov dword [ebp - 0x230], 0
movq qword [ebp - 0x21c], xmm0
mov dword [ebp - 0x22c], 3
mov word [ebp - 0x220], ax
jne 0x4255e8
mov eax, 0x1494
mov word [ebp - 0x220], ax
cmp byte [0x7bc7f0], 0
je 0x425636
call fcn.00421030
cmp eax, 1
jg 0x425623
push 1
push 0x79
push str.file_util_win.cc
lea ecx, [ebp - 0x30c]
or ebx, 2
call fcn.004203c0
add eax, 8
push str.Performing_shell_operation
push eax
call fcn.004169d0
add esp, 8
test bl, 2
je 0x425636
lea ecx, [ebp - 0x30c]
and ebx, 0xfffffffd
call fcn.004205f0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp byte [0x7bc7f0], 0
mov esi, eax
je 0x425698
call fcn.00421030
cmp eax, 1
jg 0x425688
push 1
push 0x7c
push str.file_util_win.cc
lea ecx, [ebp - 0x30c]
or ebx, 4
call fcn.004203c0
push esi
add eax, 8
push str.Done:
push eax
call fcn.004169d0
add esp, 8
mov ecx, eax
call fcn.00420a00
test bl, 4
je 0x425698
lea ecx, [ebp - 0x30c]
call fcn.004205f0
cmp dword [ebp - 0x21e], 0
jne 0x425459
test esi, esi
je 0x4256c8
cmp esi, 2
je 0x4256c8
cmp esi, 0x402
je 0x4256c8
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00496e21
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.00496e21
mov esp, ebp
pop ebp
ret