Function at 0x140050bc0
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 [0x1400df348]
mov dword [rbp + 7], eax
movzx eax, word [0x1400df34c]
mov word [rbp + 0xb], ax
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x39]
call fcn.140003ba0
nop
mov rbx, qword [rbp - 0x39]
mov r12, qword [rbp - 0x31]
xor edi, edi
cmp rbx, r12
je 0x140051042
movabs r13, 0x7fffffffffffffff
mov eax, 0x16
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov rsi, qword [rbx + 0x10]
mov r14, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140050c6e
mov r14, qword [rbx]
cmp rsi, r13
ja 0x14005115f
cmp rsi, 0x10
jae 0x140050c97
mov qword [rsp + 0x30], rsi
mov eax, 0xf
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x20], xmm0
jmp 0x140050cec
mov qword [rsp + 0x38], 0xf
mov rdi, rsi
or rdi, 0xf
cmp rdi, r13
jbe 0x140050cb1
mov rdi, r13
jmp 0x140050cb9
cmp rdi, 0x16
cmovb rdi, rax
lea rdx, [rdi + 1]
lea rcx, [rsp + 0x20]
call fcn.1400045b0
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]
xor edi, edi
lea rdx, [rsp + 0x20]
cmp rax, 0x10
cmovae rdx, qword [rsp + 0x20]
lea rcx, [0x1400df350]
call fcn.140054ee0
lea rax, [rbp - 0x21]
mov qword [rbp + 0x6f], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], 0xa
mov qword [rbp - 9], 0xf
movsd xmm0, qword [str.laddon.exe]
movsd qword [rbp - 0x21], xmm0
movzx eax, word [0x1400df360]
mov word [rbp - 0x19], ax
mov byte [rbp - 0x17], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdi
mov rsi, qword [rsp + 0x30]
lea r14, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae r14, qword [rsp + 0x20]
cmp rsi, r13
ja 0x140051171
mov qword [rsp + 0x58], 0xf
cmp rsi, 0x10
jae 0x140050d92
mov qword [rsp + 0x50], rsi
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x40], xmm0
jmp 0x140050dde
mov rdi, rsi
or rdi, 0xf
cmp rdi, r13
jbe 0x140050da3
mov rdi, r13
jmp 0x140050db0
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
lea rdx, [rdi + 1]
lea rcx, [rsp + 0x40]
call fcn.1400045b0
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
xor edi, edi
lea rdx, [rbp - 0x21]
lea rcx, [rsp + 0x40]
call fcn.1400042d0
test al, al
je 0x140050fee
lea rax, [rbp - 0x79]
mov qword [rbp + 0x6f], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x79], xmm0
mov qword [rbp - 0x69], rdi
mov qword [rbp - 0x61], rdi
mov rsi, qword [r15 + 0x10]
mov r14, r15
cmp qword [r15 + 0x18], 0x10
jb 0x140050e1c
mov r14, qword [r15]
cmp rsi, r13
ja 0x14005116b
mov qword [rbp - 0x61], 0xf
cmp rsi, 0x10
jae 0x140050e41
mov qword [rbp - 0x69], rsi
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x79], xmm0
jmp 0x140050e89
mov rdi, rsi
or rdi, 0xf
cmp rdi, r13
jbe 0x140050e52
mov rdi, r13
jmp 0x140050e5f
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
lea rdx, [rdi + 1]
lea rcx, [rbp - 0x79]
call fcn.1400045b0
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x69], rsi
mov qword [rbp - 0x61], rdi
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], rdi
mov qword [rbp - 0x41], rdi
mov rsi, qword [rsp + 0x30]
lea r14, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae r14, qword [rsp + 0x20]
cmp rsi, r13
ja 0x140051165
mov qword [rbp - 0x41], 0xf
cmp rsi, 0x10
jae 0x140050ed3
mov qword [rbp - 0x49], rsi
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x59], xmm0
jmp 0x140050f1a
mov rdi, rsi
or rdi, 0xf
cmp rdi, r13
jbe 0x140050ee4
mov rdi, r13
jmp 0x140050ef1
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
lea rdx, [rdi + 1]
lea rcx, [rbp - 0x59]
call fcn.1400045b0
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x49], rsi
mov qword [rbp - 0x41], rdi
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x59]
call fcn.1400042d0
test al, al
jne 0x140050fee
lea rdi, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rdi, qword [rsp + 0x20]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0xf
mov edx, 0x20
lea rcx, [rsp + 0x40]
call fcn.1400045b0
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, rdi
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x21]
call fcn.140054f50
cmp qword [rax + 0x18], 0x10
jb 0x140050fa9
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 - 9]
cmp rdx, 0x10
jb 0x140050fee
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050fe8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400510d5
call fcn.14008caf4
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14005102b
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051026
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400510dc
call fcn.14008caf4
add rbx, 0x20
xor edi, edi
cmp rbx, r12
jne 0x140050c46
mov r12, qword [rbp - 0x31]
mov rbx, qword [rbp - 0x39]
test rbx, rbx
je 0x1400510f7
cmp rbx, r12
je 0x1400510a2
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140051086
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140051081
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400510ce
mov rcx, r8
call fcn.14008caf4
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
add rbx, 0x20
cmp rbx, r12
jne 0x140051050
mov rbx, qword [rbp - 0x39]
mov rdx, qword [rbp - 0x29]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400510e3
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400510e3
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.14008caf4
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], rdi
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x14005112d
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140051128
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140051158
mov rcx, r8
call fcn.14008caf4
mov qword [r15 + 0x10], rdi
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.140004570
nop
call fcn.140004570
nop
call fcn.140004570
nop
call fcn.140004570
int3