Function at 0x140051740
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.1400043d0
mov r8, rax
cmp qword [rax + 0x18], 0xf
jbe 0x14005177a
mov r8, qword [rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], 3
mov qword [rbp - 0x10], 0xf
mov eax, dword [0x1400df07c]
mov word [rbp - 0x28], ax
movzx eax, byte [0x1400df07e]
mov byte [rbp - 0x26], al
mov byte [rbp - 0x25], 0
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x38]
call fcn.1400559c0
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140004120
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x140051801
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400517fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400517fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008cad8
movdqa xmm0, xmmword [0x1400d8330]
movdqu xmmword [rbp + 8], xmm0
mov byte [rbp - 8], 0
mov rbx, qword [rbp - 0x80]
mov r12, qword [rbp - 0x78]
xor r13d, r13d
cmp rbx, r12
je 0x140051dd8
mov edx, 0x16
movabs rcx, 0x8000000000000000
movabs rax, 0x7fffffffffffffff
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r13
mov rsi, qword [rbx + 0x10]
mov r14, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140051862
mov r14, qword [rbx]
cmp rsi, rax
ja 0x140051f11
cmp rsi, 0xf
ja 0x14005188e
mov qword [rsp + 0x30], rsi
mov eax, 0xf
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x20], xmm0
jmp 0x140051922
mov qword [rsp + 0x38], 0xf
mov rdi, rsi
or rdi, 0xf
cmp rdi, rax
jbe 0x1400518ac
mov rdi, rax
lea rax, [rcx + 0x27]
jmp 0x1400518ce
cmp rdi, 0x16
cmovb rdi, rdx
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x1400518f0
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140051f17
mov rcx, rax
call fcn.14008ca9c
mov rcx, rax
test rax, rax
je 0x140051e8e
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400518ff
test rcx, rcx
je 0x1400518fc
call fcn.14008ca9c
jmp 0x1400518ff
mov rax, r13
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x38]
lea rdx, [rsp + 0x20]
cmp rax, 0xf
cmova rdx, qword [rsp + 0x20]
lea rcx, [0x1400df080]
call fcn.140055950
lea rax, [rsp + 0x60]
mov qword [rbp + 0xa8], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0xa
mov qword [rsp + 0x78], 0xf
movsd xmm0, qword [str.laddon.exe]
movsd qword [rsp + 0x60], xmm0
movzx eax, word [0x1400df090]
mov word [rsp + 0x68], ax
mov byte [rsp + 0x6a], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov rsi, qword [rsp + 0x30]
lea r14, [rsp + 0x20]
cmp qword [rsp + 0x38], 0xf
cmova r14, qword [rsp + 0x20]
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
ja 0x140051f3b
mov qword [rsp + 0x58], 0xf
cmp rsi, 0xf
ja 0x1400519df
mov qword [rsp + 0x50], rsi
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x40], xmm0
jmp 0x140051a75
mov rdi, rsi
or rdi, 0xf
cmp rdi, rax
jbe 0x1400519fe
mov rdi, rax
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x140051a25
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x140051a47
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140051f1d
mov rcx, rax
call fcn.14008ca9c
mov rcx, rax
test rax, rax
je 0x140051e6b
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140051a56
test rcx, rcx
je 0x140051a53
call fcn.14008ca9c
jmp 0x140051a56
mov rax, r13
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140004e10
test al, al
je 0x140051d86
lea rax, [rbp - 0x68]
mov qword [rbp + 0xa8], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], r13
mov rsi, qword [r15 + 0x10]
mov r14, r15
cmp qword [r15 + 0x18], 0xf
jbe 0x140051ab7
mov r14, qword [r15]
movabs rcx, 0x7fffffffffffffff
cmp rsi, rcx
ja 0x140051f35
mov qword [rbp - 0x50], 0xf
cmp rsi, 0xf
ja 0x140051ae9
mov qword [rbp - 0x58], rsi
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x68], xmm0
jmp 0x140051b85
mov rdi, rsi
or rdi, 0xf
cmp rdi, rcx
jbe 0x140051b08
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x140051b2f
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x140051b51
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140051f23
mov rcx, rax
call fcn.14008ca9c
mov rcx, rax
test rax, rax
je 0x140051e72
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140051b60
test rcx, rcx
je 0x140051b5d
call fcn.14008ca9c
jmp 0x140051b60
mov rax, r13
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], rdi
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
movabs rcx, 0x7fffffffffffffff
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], r13
mov rsi, qword [rsp + 0x30]
lea r14, [rsp + 0x20]
cmp qword [rsp + 0x38], 0xf
cmova r14, qword [rsp + 0x20]
cmp rsi, rcx
ja 0x140051f2f
mov qword [rbp - 0x30], 0xf
cmp rsi, 0xf
ja 0x140051bd2
mov qword [rbp - 0x38], rsi
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x48], xmm0
jmp 0x140051c65
mov rdi, rsi
or rdi, 0xf
cmp rdi, rcx
jbe 0x140051bf1
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x140051c18
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x140051c3a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140051f29
mov rcx, rax
call fcn.14008ca9c
mov rcx, rax
test rax, rax
je 0x140051e79
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140051c49
test rcx, rcx
je 0x140051c46
call fcn.14008ca9c
jmp 0x140051c49
mov rax, r13
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], rdi
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x48]
call fcn.140004e10
test al, al
jne 0x140051d86
lea rdi, [rsp + 0x20]
cmp qword [rsp + 0x38], 0xf
cmova rdi, qword [rsp + 0x20]
lea rcx, [rbp + 0x18]
call fcn.1400043d0
mov r8, rax
cmp qword [rax + 0x18], 0xf
jbe 0x140051ca1
mov r8, qword [rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 5
mov qword [rsp + 0x78], 0xf
mov eax, dword [str._s_s]
mov dword [rsp + 0x60], eax
movzx eax, byte [0x1400df098]
mov byte [rsp + 0x64], al
mov byte [rsp + 0x65], 0
mov r9, rdi
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.1400559c0
cmp qword [rax + 0x18], 0xf
jbe 0x140051cf1
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, 0xf
jbe 0x140051d37
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051d32
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051e80
call fcn.14008cad8
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x140051d86
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051d80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051e87
call fcn.14008cad8
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140051dc3
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051dbe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051e8e
call fcn.14008cad8
add rbx, 0x20
cmp rbx, r12
jne 0x140051826
mov r12, qword [rbp - 0x78]
mov rbx, qword [rbp - 0x80]
test rbx, rbx
je 0x140051ea9
cmp rbx, r12
je 0x140051e38
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140051e1c
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140051e17
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140051e64
mov rcx, r8
call fcn.14008cad8
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
add rbx, 0x20
cmp rbx, r12
jne 0x140051de6
mov rbx, qword [rbp - 0x80]
mov rdx, qword [rbp - 0x70]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x140051e95
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051e95
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
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, rbx
call fcn.14008cad8
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r13
mov rdx, qword [r15 + 0x18]
cmp rdx, 0xf
jbe 0x140051edf
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140051eda
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140051f0a
mov rcx, r8
call fcn.14008cad8
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.140005120
nop
call fcn.140005090
nop
call fcn.140005090
nop
call fcn.140005090
nop
call fcn.140005090
int3
call fcn.140005120
nop
call fcn.140005120
nop
call fcn.140005120
int3