Function at 0x47ab5c
Capabilities:
Delete file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x488
mov qword [rsp + 0xf8], 0xfffffffffffffffe
mov bl, dl
mov rsi, rcx
mov qword [rsp + 0xb8], rcx
mov bpl, byte [rcx + 0x20c]
mov byte [rsp + 0xb0], bpl
xor r15d, r15d
mov byte [rcx + 0x20c], r15b
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x2c], r15d
lea rdx, [rsp + 0x20]
call fcn.004735ac
cmp dword [rsp + 0x28], r15d
jne 0x47abd9
mov rcx, qword [rsp + 0x20]
call sub.msvcrt.dll_free
nop
mov byte [rsi + 0x20c], bpl
jmp 0x47b2b1
mov dword [rsp + 0x30], 0xffffffff
mov byte [rsp + 0x34], 1
mov byte [rsp + 0x35], r15b
lea rcx, [rsp + 0x38]
call fcn.00402700
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x50], r15d
mov dword [rsp + 0x54], r15d
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.00473e40
mov rcx, rsi
call fcn.00461658
cmp al, r15b
je 0x47aef6
cmp bl, r15b
je 0x47aef6
mov rdi, r15
mov qword [rsp + 0x78], r15
mov r12, r15
mov qword [rsp + 0x80], r15
mov rbx, r15
mov qword [rsp + 0x88], r15
mov r13d, r15d
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.00461738
nop
mov r14d, r15d
cmp dword [rsp + 0x28], r15d
jbe 0x47ad3f
mov rbp, r15
mov rax, qword [rsp + 0x20]
mov r8d, dword [rax + rbp]
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.00472d54
nop
mov r8, rax
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x90]
call fcn.0040263c
nop
mov rcx, qword [rsp + 0x58]
call sub.msvcrt.dll_free
mov eax, dword [rsp + 0x98]
cmp eax, r13d
cmova r13d, eax
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x4d0], rcx
lea r15d, [rax + 1]
mov rax, r12
sub rax, rbx
cmp rax, r15
jae 0x47acf4
mov rdx, r15
sub rdx, rax
lea rcx, [rsp + 0x78]
call fcn.0047a184
mov rbx, qword [rsp + 0x88]
mov r12, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x78]
lea rcx, [rdi + rbx*2]
add rbx, r15
mov qword [rsp + 0x88], rbx
lea r8, [r15 + r15]
mov rdx, qword [rsp + 0x4d0]
call sub.msvcrt.dll_memcpy
nop
mov rcx, qword [rsp + 0x90]
call sub.msvcrt.dll_free
inc r14d
add rbp, 4
cmp r14d, dword [rsp + 0x28]
jb 0x47ac6b
mov bpl, byte [rsp + 0xb0]
xor r15d, r15d
sub r12, rbx
cmp r12, 1
jae 0x47ad67
mov edx, 1
sub rdx, r12
lea rcx, [rsp + 0x78]
call fcn.0047a184
mov rbx, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x78]
lea rax, [rdi + rbx*2]
inc rbx
mov qword [rsp + 0x88], rbx
mov word [rax], r15w
cmp r13d, 0x104
jb 0x47ae11
mov edx, 0x17dc
mov rcx, rsi
call fcn.00460f70
nop
mov rcx, qword [rsp + 0x68]
call sub.msvcrt.dll_free
nop
mov rcx, rdi
call sub.msvcrt.dll_free
nop
movsxd rbx, dword [rsp + 0x50]
mov rdi, rbx
cmp ebx, r15d
je 0x47ade5
shl rdi, 3
add ebx, 0xffffffff
sub rdi, 8
mov rax, qword [rsp + 0x48]
mov r12, qword [rax + rdi]
cmp r12, r15
je 0x47ade0
mov rcx, qword [r12]
call sub.msvcrt.dll_free
mov rcx, r12
call sub.msvcrt.dll_free
cmp ebx, r15d
jne 0x47adba
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_free
mov rcx, qword [rsp + 0x38]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x20]
call sub.msvcrt.dll_free
nop
mov byte [rsi + 0x20c], bpl
jmp 0x47b2b1
mov rcx, rsi
call fcn.00460944
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0xc8], 3
mov qword [rsp + 0xd0], rdi
mov qword [rsp + 0xd8], r15
mov word [rsp + 0xe0], 0x40
mov dword [rsp + 0xe4], r15d
mov qword [rsp + 0xe8], r15
mov qword [rsp + 0xf0], r15
lea rcx, [rsp + 0xc0]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
nop
mov rcx, qword [rsp + 0x68]
call sub.msvcrt.dll_free
nop
mov rcx, rdi
call sub.msvcrt.dll_free
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.00474c08
nop
movsxd rbx, dword [rsp + 0x50]
mov rdi, rbx
cmp ebx, r15d
je 0x47aeca
shl rdi, 3
add ebx, 0xffffffff
sub rdi, 8
mov rax, qword [rsp + 0x48]
mov r12, qword [rax + rdi]
cmp r12, r15
je 0x47aec5
mov rcx, qword [r12]
call sub.msvcrt.dll_free
mov rcx, r12
call sub.msvcrt.dll_free
cmp ebx, r15d
jne 0x47ae9f
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_free
mov rcx, qword [rsp + 0x38]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x20]
call sub.msvcrt.dll_free
nop
mov byte [rsi + 0x20c], bpl
jmp 0x47b2b1
mov r13d, 0x17db
mov edx, r13d
mov rcx, rsi
call fcn.00477e7c
cmp al, r15b
jne 0x47af74
movsxd rbx, dword [rsp + 0x50]
mov rdi, rbx
cmp ebx, r15d
je 0x47af48
shl rdi, 3
add ebx, 0xffffffff
sub rdi, 8
mov rax, qword [rsp + 0x48]
mov r12, qword [rax + rdi]
cmp r12, r15
je 0x47af43
mov rcx, qword [r12]
call sub.msvcrt.dll_free
mov rcx, r12
call sub.msvcrt.dll_free
cmp ebx, r15d
jne 0x47af1d
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_free
mov rcx, qword [rsp + 0x38]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x20]
call sub.msvcrt.dll_free
nop
mov byte [rsi + 0x20c], bpl
jmp 0x47b2b1
lea rcx, [rsp + 0xa0]
call fcn.00402700
nop
cmp dword [rsp + 0x28], 1
jne 0x47afdf
mov rax, qword [rsp + 0x20]
mov ebx, dword [rax]
mov r8d, ebx
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.00472d54
nop
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.0040297c
nop
mov rcx, qword [rsp + 0x58]
call sub.msvcrt.dll_free
mov edx, ebx
mov rcx, rsi
call fcn.00472f9c
cmp al, r15b
je 0x47afd5
mov ebx, 0x17d5
lea edi, [rbx + 3]
jmp 0x47b011
mov ebx, 0x17d4
lea edi, [rbx + 3]
jmp 0x47b011
mov ebx, 0x17d6
lea edi, [rbx + 3]
mov edx, dword [rsp + 0x28]
lea rcx, [rsp + 0x58]
call fcn.00457b0c
nop
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.0040297c
nop
mov rcx, qword [rsp + 0x58]
call sub.msvcrt.dll_free
mov edx, ebx
lea rcx, [rsp + 0x68]
call fcn.0045c638
mov rbx, rax
lea r8, [rsp + 0xa0]
mov edx, edi
lea rcx, [rsp + 0x58]
call fcn.00457bfc
nop
mov rbx, qword [rbx]
mov rdi, qword [rax]
mov rcx, rsi
call fcn.00460944
mov rcx, rax
mov r9d, 0x21
mov r8, rbx
mov rdx, rdi
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
setne bl
mov rcx, qword [rsp + 0x58]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x68]
call sub.msvcrt.dll_free
cmp bl, r15b
je 0x47b0ee
mov rcx, qword [rsp + 0xa0]
call sub.msvcrt.dll_free
nop
movsxd rbx, dword [rsp + 0x50]
mov rdi, rbx
cmp ebx, r15d
je 0x47b0c2
shl rdi, 3
add ebx, 0xffffffff
sub rdi, 8
mov rax, qword [rsp + 0x48]
mov r12, qword [rax + rdi]
cmp r12, r15
je 0x47b0bd
mov rcx, qword [r12]
call sub.msvcrt.dll_free
mov rcx, r12
call sub.msvcrt.dll_free
cmp ebx, r15d
jne 0x47b097
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_free
mov rcx, qword [rsp + 0x38]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x20]
call sub.msvcrt.dll_free
nop
mov byte [rsi + 0x20c], bpl
jmp 0x47b2b1
mov qword [rsp + 0x70], rsi
mov dil, byte [rsi + 0x20d]
mov byte [rsp + 0x68], dil
mov r12b, byte [rsi + 0x20e]
mov byte [rsp + 0x69], r12b
mov byte [rsi + 0x20d], r15b
mov byte [rsi + 0x20e], r15b
lea rcx, [rsp + 0x100]
call fcn.00463398
nop
lea rax, [0x004a2b00]
mov qword [rsp + 0x100], rax
mov dword [rsp + 0x438], 1
lea rcx, [rsp + 0x440]
call fcn.00402700
mov qword [rsp + 0x458], r15
mov dword [rsp + 0x460], r15d
mov dword [rsp + 0x464], r15d
mov qword [rsp + 0x468], r15
mov qword [rsp + 0x470], r15
mov rbx, qword [rsi + 0x178]
cmp rbx, r15
je 0x47b19e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + VariantCopyInd]
mov rcx, qword [rsp + 0x468]
cmp rcx, r15
je 0x47b19e
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov qword [rsp + 0x468], rbx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x458]
call fcn.00463118
mov edx, r13d
lea rcx, [rsp + 0x90]
call fcn.0045c638
mov rbx, rax
mov edx, 0x17da
lea rcx, [rsp + 0x58]
call fcn.0045c638
nop
mov r9, rbx
mov r8, rax
mov rdx, rsi
lea rcx, [rsp + 0x100]
call fcn.0047a9c4
nop
mov rcx, qword [rsp + 0x58]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x90]
call sub.msvcrt.dll_free
nop
lea rcx, [rsp + 0x100]
call fcn.0047a2d4
mov rcx, qword [rsi + 0x58]
mov rax, qword [rcx]
mov dl, 1
call qword [rax + 0x40]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.00474c08
nop
mov byte [rsi + 0x20d], dil
mov byte [rsi + 0x20e], r12b
mov rcx, qword [rsp + 0xa0]
call sub.msvcrt.dll_free
nop
movsxd r12, dword [rsp + 0x50]
mov rbx, r12
cmp r12d, r15d
je 0x47b28a
shl rbx, 3
add r12d, 0xffffffff
sub rbx, 8
mov rax, qword [rsp + 0x48]
mov rdi, qword [rax + rbx]
cmp rdi, r15
je 0x47b285
mov rcx, qword [rdi]
call sub.msvcrt.dll_free
mov rcx, rdi
call sub.msvcrt.dll_free
cmp r12d, r15d
jne 0x47b25f
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_free
mov rcx, qword [rsp + 0x38]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x20]
call sub.msvcrt.dll_free
nop
mov byte [rsi + 0x20c], bpl
add rsp, 0x488
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret