Function at 0x140051070
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 - 0x27]
sub rsp, 0x100
mov r15, rcx
mov word [rbp + 0xd], 0
mov qword [rbp + 0xf], 0xe
mov qword [rbp + 0x17], 0xf
movsd xmm0, qword [str.C:Chairs_tmp_]
movsd qword [rbp - 1], xmm0
mov eax, dword [0x1400df118]
mov dword [rbp + 7], eax
movzx eax, word [0x1400df11c]
mov word [rbp + 0xb], ax
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x59]
call fcn.140003b60
nop
mov rdi, qword [rbp - 0x59]
mov r12, qword [rbp - 0x51]
xor r13d, r13d
cmp rdi, r12
je 0x140051639
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 [rdi + 0x10]
mov r14, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140051129
mov r14, qword [rdi]
cmp rsi, rax
ja 0x140051774
cmp rsi, 0xf
ja 0x140051155
mov qword [rsp + 0x30], rsi
mov eax, 0xf
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x20], xmm0
jmp 0x1400511e9
mov qword [rsp + 0x38], 0xf
mov rbx, rsi
or rbx, 0xf
cmp rbx, rax
jbe 0x140051173
mov rbx, rax
lea rax, [rcx + 0x27]
jmp 0x140051195
cmp rbx, 0x16
cmovb rbx, rdx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400511b7
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14005177a
mov rcx, rax
call fcn.14008c73c
mov rcx, rax
test rax, rax
je 0x1400516f1
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400511c6
test rcx, rcx
je 0x1400511c3
call fcn.14008c73c
jmp 0x1400511c6
mov rax, r13
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbx
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, [0x1400df120]
call fcn.140055150
lea rax, [rsp + 0x40]
mov qword [rbp + 0x6f], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0xa
mov qword [rsp + 0x58], 0xf
movsd xmm0, qword [str.laddon.exe]
movsd qword [rsp + 0x40], xmm0
movzx eax, word [0x1400df130]
mov word [rsp + 0x48], ax
mov byte [rsp + 0x4a], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x79], xmm0
mov qword [rbp - 0x69], r13
mov qword [rbp - 0x61], 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 0x14005179e
mov qword [rbp - 0x61], 0xf
cmp rsi, 0xf
ja 0x14005129d
mov qword [rbp - 0x69], rsi
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x79], xmm0
jmp 0x140051330
mov rbx, rsi
or rbx, 0xf
cmp rbx, rax
jbe 0x1400512bc
mov rbx, rax
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x1400512e3
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140051305
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140051780
mov rcx, rax
call fcn.14008c73c
mov rcx, rax
test rax, rax
je 0x1400516d5
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140051314
test rcx, rcx
je 0x140051311
call fcn.14008c73c
jmp 0x140051314
mov rax, r13
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x69], rsi
mov qword [rbp - 0x61], rbx
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x79]
call fcn.140004200
test al, al
je 0x1400515e7
lea rax, [rbp - 0x41]
mov qword [rbp + 0x6f], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], r13
mov qword [rbp - 0x29], r13
mov rsi, qword [r15 + 0x10]
mov r14, r15
cmp qword [r15 + 0x18], 0xf
jbe 0x14005136e
mov r14, qword [r15]
movabs rcx, 0x7fffffffffffffff
cmp rsi, rcx
ja 0x140051798
mov qword [rbp - 0x29], 0xf
cmp rsi, 0xf
ja 0x1400513a0
mov qword [rbp - 0x31], rsi
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x41], xmm0
jmp 0x14005143c
mov rbx, rsi
or rbx, 0xf
cmp rbx, rcx
jbe 0x1400513bf
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x1400513e6
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140051408
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140051786
mov rcx, rax
call fcn.14008c73c
mov rcx, rax
test rax, rax
je 0x1400516dc
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140051417
test rcx, rcx
je 0x140051414
call fcn.14008c73c
jmp 0x140051417
mov rax, r13
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x31], rsi
mov qword [rbp - 0x29], rbx
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
movabs rcx, 0x7fffffffffffffff
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], r13
mov qword [rbp - 9], r13
mov rsi, qword [rsp + 0x30]
lea r14, [rsp + 0x20]
cmp qword [rsp + 0x38], 0xf
cmova r14, qword [rsp + 0x20]
cmp rsi, rcx
ja 0x140051792
mov qword [rbp - 9], 0xf
cmp rsi, 0xf
ja 0x140051489
mov qword [rbp - 0x11], rsi
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x21], xmm0
jmp 0x14005151c
mov rbx, rsi
or rbx, 0xf
cmp rbx, rcx
jbe 0x1400514a8
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x1400514cf
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400514f1
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14005178c
mov rcx, rax
call fcn.14008c73c
mov rcx, rax
test rax, rax
je 0x1400516e3
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140051500
test rcx, rcx
je 0x1400514fd
call fcn.14008c73c
jmp 0x140051500
mov rax, r13
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x11], rsi
mov qword [rbp - 9], rbx
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x21]
call fcn.140004200
test al, al
jne 0x1400515e7
lea rbx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0xf
cmova rbx, qword [rsp + 0x20]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], 0xf
mov ecx, 0x20
call fcn.14008c73c
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], 0x10
mov qword [rsp + 0x58], 0x1f
movups xmm0, xmmword [str.C:_Chairs_tmp__s]
movups xmmword [rax], xmm0
mov byte [rax + 0x10], 0
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x79]
call fcn.1400551c0
cmp qword [rax + 0x18], 0xf
jbe 0x1400515a2
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 - 0x61]
cmp rdx, 0xf
jbe 0x1400515e7
inc rdx
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400515e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400516ea
call fcn.14008c778
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140051624
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005161f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400516f1
call fcn.14008c778
add rdi, 0x20
cmp rdi, r12
jne 0x1400510ed
mov r12, qword [rbp - 0x51]
mov rdi, qword [rbp - 0x59]
test rdi, rdi
je 0x14005170c
cmp rdi, r12
je 0x1400516a2
nop word [rax + rax]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140051686
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140051681
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400516ce
mov rcx, r8
call fcn.14008c778
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
add rdi, 0x20
cmp rdi, r12
jne 0x140051650
mov rdi, qword [rbp - 0x59]
mov rdx, qword [rbp - 0x49]
sub rdx, rdi
and rdx, 0xffffffffffffffe0
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400516f8
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400516f8
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, rdi
call fcn.14008c778
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], r13
mov rdx, qword [r15 + 0x18]
cmp rdx, 0xf
jbe 0x140051742
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x14005173d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005176d
mov rcx, r8
call fcn.14008c778
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], 0xf
mov byte [r15], 0
mov rbx, qword [rsp + 0x158]
add rsp, 0x100
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.1400044a0
nop
call fcn.140004480
nop
call fcn.140004480
nop
call fcn.140004480
nop
call fcn.140004480
int3
call fcn.1400044a0
nop
call fcn.1400044a0
nop
call fcn.1400044a0
int3