Function at 0x1400748d0
Capabilities:
Delete file
Move file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov r14, rcx
xor r15d, r15d
mov dword [rbp - 9], r15d
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f], xmm0
movdqa xmm1, xmmword [0x140092290]
movdqu xmmword [rbp + 0x2f], xmm1
mov byte [rbp + 0x1f], r15b
mov dword [rbp - 9], 2
lea r9, [rcx + 8]
mov rcx, qword [r9 + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0xf
jb 0x140074c66
cmp qword [r9 + 0x18], 0xf
jbe 0x140074942
mov r9, qword [r9]
mov qword [rsp + 0x30], 0xf
lea rax, str.DesiredItem.png
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 1]
call fcn.140015050
mov dword [rbp - 9], 0x82
lea rdx, [rbp - 1]
lea rcx, [rbp + 0x1f]
call fcn.1400118e0
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x1400749b7
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400749b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400749b2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400829f0
lea rdx, [rbp + 0x1f]
cmp qword [rbp + 0x37], 0xf
cmova rdx, qword [rbp + 0x1f]
call fcn.1400743d0
movzx ebx, al
mov esi, 0x80
mov rdx, qword [rbp + 0x37]
cmp rdx, 0xf
jbe 0x140074a10
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140074a0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140074a0b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400829f0
test bl, bl
je 0x140074c2d
mov edi, 5
nop dword [rax]
mov r8d, edi
lea rdx, [rbp - 1]
mov rcx, r14
call fcn.140074560
nop
or esi, 1
mov dword [rbp - 9], esi
cmp qword [rax + 0x18], 0xf
jbe 0x140074a40
mov rax, qword [rax]
mov rdx, rax
call fcn.1400743d0
test al, al
je 0x140074a55
cmp edi, 5
jne 0x140074a55
mov bl, 1
jmp 0x140074a57
xor bl, bl
test sil, 1
je 0x140074a9b
and esi, 0xfffffffe
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x140074a9b
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140074a96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140074c4a
call fcn.1400829f0
mov r8d, edi
lea rdx, [rbp - 1]
mov rcx, r14
call fcn.140074560
test bl, bl
je 0x140074b06
cmp qword [rax + 0x18], 0xf
jbe 0x140074ab8
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x140074c22
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140074c1d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140074c1d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
cmp qword [rax + 0x18], 0xf
jbe 0x140074b10
mov rax, qword [rax]
mov rdx, rax
call fcn.1400743d0
movzx ebx, al
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x140074b56
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140074b51
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140074c51
call fcn.1400829f0
test bl, bl
je 0x140074c22
lea r8d, [rdi + 1]
lea rdx, [rbp - 1]
mov rcx, r14
call fcn.140074560
mov rbx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x140074b7b
mov rbx, qword [rax]
mov r8d, edi
lea rdx, [rbp + 0x1f]
mov rcx, r14
call fcn.140074560
cmp qword [rax + 0x18], 0xf
jbe 0x140074b94
mov rax, qword [rax]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
mov rdx, qword [rbp + 0x37]
cmp rdx, 0xf
jbe 0x140074bdb
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140074bd6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140074c58
call fcn.1400829f0
mov qword [rbp + 0x2f], r15
mov qword [rbp + 0x37], 0xf
mov byte [rbp + 0x1f], 0
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x140074c22
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140074c1d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140074c5f
call fcn.1400829f0
dec edi
cmp edi, 0xffffffff
jne 0x140074a20
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140002940
int3