Function at 0x140057070
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov r15, rcx
lea rcx, [rbp - 8]
call fcn.140004400
mov r8, rax
cmp qword [rax + 0x18], 0x10
jb 0x1400570aa
mov r8, qword [rax]
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x10], 0xf
mov eax, dword [str._s_tmp_]
mov dword [rbp - 0x28], eax
movzx eax, word [0x1400e750c]
mov word [rbp - 0x24], ax
movzx eax, byte [0x1400e750e]
mov byte [rbp - 0x22], al
mov byte [rbp - 0x21], 0
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x38]
call fcn.14005b4d0
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.1400040c0
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x140057134
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005712f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005712f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140093e7c
movdqa xmm0, xmmword [0x1400df1f0]
movdqu xmmword [rbp + 8], xmm0
mov byte [rbp - 8], 0
mov rsi, qword [rbp - 0x40]
mov r12, qword [rbp - 0x38]
xor r13d, r13d
cmp rsi, r12
je 0x1400575d6
mov ecx, 0x16
movabs rax, 0x7fffffffffffffff
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r13
mov rdi, qword [rsi + 0x10]
mov r14, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140057188
mov r14, qword [rsi]
cmp rdi, rax
ja 0x14005770a
mov qword [rsp + 0x38], 0xf
cmp rdi, 0x10
jae 0x1400571ba
mov qword [rsp + 0x30], rdi
mov r8d, 0x10
mov rdx, r14
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memmove
jmp 0x140057200
mov rbx, rdi
or rbx, 0xf
cmp rbx, rax
jbe 0x1400571cb
mov rbx, rax
jmp 0x1400571d3
cmp rbx, 0x16
cmovb rbx, rcx
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x20]
call fcn.140004fe0
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rbx
lea r8, [rdi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rdx, qword [rsp + 0x20]
lea rcx, [0x1400e7510]
call fcn.140024a60
lea rax, [rsp + 0x60]
mov qword [rbp + 0xa8], rax
mov qword [rsp + 0x70], 0xa
mov qword [rsp + 0x78], 0xf
movsd xmm0, qword [str.laddon.exe]
movsd qword [rsp + 0x60], xmm0
movzx eax, word [0x1400e7520]
mov word [rsp + 0x68], ax
mov byte [rsp + 0x6a], 0
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov rdi, qword [rsp + 0x30]
lea r14, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae r14, qword [rsp + 0x20]
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x14005771c
mov qword [rsp + 0x58], 0xf
cmp rdi, 0x10
jae 0x1400572bb
mov qword [rsp + 0x50], rdi
mov r8d, 0x10
mov rdx, r14
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memmove
jmp 0x140057306
mov rbx, rdi
or rbx, 0xf
cmp rbx, rax
jbe 0x1400572cc
mov rbx, rax
jmp 0x1400572d9
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x40]
call fcn.140004fe0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rbx
lea r8, [rdi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140004e00
test al, al
je 0x140057584
lea rax, [rbp - 0x80]
mov qword [rbp + 0xa8], rax
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], r13
mov rdi, qword [r15 + 0x10]
mov r14, r15
cmp qword [r15 + 0x18], 0x10
jb 0x140057345
mov r14, qword [r15]
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x140057716
mov qword [rbp - 0x68], 0xf
cmp rdi, 0x10
jae 0x14005737e
mov qword [rbp - 0x70], rdi
mov r8d, 0x10
mov rdx, r14
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memmove
jmp 0x1400573c5
mov rbx, rdi
or rbx, 0xf
cmp rbx, rax
jbe 0x14005738f
mov rbx, rax
jmp 0x14005739c
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x80]
call fcn.140004fe0
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], rbx
lea r8, [rdi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], r13
mov rdi, qword [rsp + 0x30]
lea r14, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae r14, qword [rsp + 0x20]
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x140057710
mov qword [rbp - 0x48], 0xf
cmp rdi, 0x10
jae 0x140057420
mov qword [rbp - 0x50], rdi
mov r8d, 0x10
mov rdx, r14
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memmove
jmp 0x140057467
mov rbx, rdi
or rbx, 0xf
cmp rbx, rax
jbe 0x140057431
mov rbx, rax
jmp 0x14005743e
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x60]
call fcn.140004fe0
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], rbx
lea r8, [rdi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.140004e00
test al, al
jne 0x140057584
lea rbx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rbx, qword [rsp + 0x20]
lea rcx, [rbp + 0x18]
call fcn.140004400
mov r8, rax
cmp qword [rax + 0x18], 0x10
jb 0x1400574a3
mov r8, qword [rax]
mov qword [rsp + 0x70], 9
mov qword [rsp + 0x78], 0xf
movsd xmm0, qword [str._s_tmp_s]
movsd qword [rsp + 0x60], xmm0
movzx eax, byte [0x1400e7530]
mov byte [rsp + 0x68], al
mov byte [rsp + 0x69], 0
mov r9, rbx
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.14005b4d0
cmp qword [rax + 0x18], 0x10
jb 0x1400574ef
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140057535
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057530
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057679
call fcn.140093e7c
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x140057584
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005757e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057680
call fcn.140093e7c
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400575c1
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400575bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057687
call fcn.140093e7c
add rsi, 0x20
cmp rsi, r12
jne 0x140057159
mov r12, qword [rbp - 0x38]
mov rsi, qword [rbp - 0x40]
test rsi, rsi
je 0x1400576a2
cmp rsi, r12
je 0x140057646
lea rbx, [rsi + 0x18]
nop dword [rax + rax]
mov rdx, qword [rbx]
cmp rdx, 0x10
jb 0x140057626
mov rcx, qword [rbx - 0x18]
inc rdx
cmp rdx, 0x1000
jb 0x140057621
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140057672
mov rcx, r8
call fcn.140093e7c
mov qword [rbx - 8], r13
mov byte [rbx - 0x18], 0
mov qword [rbx], 0xf
add rbx, 0x20
lea rax, [rbx - 0x18]
cmp rax, r12
jne 0x1400575f0
mov rsi, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
sub rdx, rsi
and rdx, 0xffffffffffffffe0
mov rax, rsi
cmp rdx, 0x1000
jb 0x14005768e
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005768e
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 qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, rsi
call fcn.140093e7c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r13
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x1400576d8
mov rcx, qword [r15]
inc rdx
cmp rdx, 0x1000
jb 0x1400576d3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140057703
mov rcx, r8
call fcn.140093e7c
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], 0xf
mov byte [r15], 0
mov rbx, qword [rsp + 0x1b8]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140004f80
nop
call fcn.140004f80
nop
call fcn.140004f80
nop
call fcn.140004f80
int3