Function at 0x140040160
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 [0x1400cd828]
mov dword [rbp + 7], eax
movzx eax, word [0x1400cd82c]
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 0x140040729
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 0x140040219
mov r14, qword [rdi]
cmp rsi, rax
ja 0x140040864
cmp rsi, 0xf
ja 0x140040245
mov qword [rsp + 0x30], rsi
mov eax, 0xf
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x20], xmm0
jmp 0x1400402d9
mov qword [rsp + 0x38], 0xf
mov rbx, rsi
or rbx, 0xf
cmp rbx, rax
jbe 0x140040263
mov rbx, rax
lea rax, [rcx + 0x27]
jmp 0x140040285
cmp rbx, 0x16
cmovb rbx, rdx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400402a7
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14004086a
mov rcx, rax
call fcn.14007b82c
mov rcx, rax
test rax, rax
je 0x1400407e1
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400402b6
test rcx, rcx
je 0x1400402b3
call fcn.14007b82c
jmp 0x1400402b6
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, [0x1400cd830]
call fcn.140044240
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 [0x1400cd840]
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 0x14004088e
mov qword [rbp - 0x61], 0xf
cmp rsi, 0xf
ja 0x14004038d
mov qword [rbp - 0x69], rsi
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x79], xmm0
jmp 0x140040420
mov rbx, rsi
or rbx, 0xf
cmp rbx, rax
jbe 0x1400403ac
mov rbx, rax
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x1400403d3
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400403f5
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140040870
mov rcx, rax
call fcn.14007b82c
mov rcx, rax
test rax, rax
je 0x1400407c5
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140040404
test rcx, rcx
je 0x140040401
call fcn.14007b82c
jmp 0x140040404
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 0x1400406d7
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 0x14004045e
mov r14, qword [r15]
movabs rcx, 0x7fffffffffffffff
cmp rsi, rcx
ja 0x140040888
mov qword [rbp - 0x29], 0xf
cmp rsi, 0xf
ja 0x140040490
mov qword [rbp - 0x31], rsi
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x41], xmm0
jmp 0x14004052c
mov rbx, rsi
or rbx, 0xf
cmp rbx, rcx
jbe 0x1400404af
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x1400404d6
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400404f8
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140040876
mov rcx, rax
call fcn.14007b82c
mov rcx, rax
test rax, rax
je 0x1400407cc
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140040507
test rcx, rcx
je 0x140040504
call fcn.14007b82c
jmp 0x140040507
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 0x140040882
mov qword [rbp - 9], 0xf
cmp rsi, 0xf
ja 0x140040579
mov qword [rbp - 0x11], rsi
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x21], xmm0
jmp 0x14004060c
mov rbx, rsi
or rbx, 0xf
cmp rbx, rcx
jbe 0x140040598
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x1400405bf
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400405e1
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14004087c
mov rcx, rax
call fcn.14007b82c
mov rcx, rax
test rax, rax
je 0x1400407d3
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400405f0
test rcx, rcx
je 0x1400405ed
call fcn.14007b82c
jmp 0x1400405f0
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 0x1400406d7
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.14007b82c
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.1400442b0
cmp qword [rax + 0x18], 0xf
jbe 0x140040692
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 0x1400406d7
inc rdx
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400406d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400407da
call fcn.14007b868
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140040714
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004070f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400407e1
call fcn.14007b868
add rdi, 0x20
cmp rdi, r12
jne 0x1400401dd
mov r12, qword [rbp - 0x51]
mov rdi, qword [rbp - 0x59]
test rdi, rdi
je 0x1400407fc
cmp rdi, r12
je 0x140040792
nop word [rax + rax]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140040776
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140040771
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400407be
mov rcx, r8
call fcn.14007b868
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
add rdi, 0x20
cmp rdi, r12
jne 0x140040740
mov rdi, qword [rbp - 0x59]
mov rdx, qword [rbp - 0x49]
sub rdx, rdi
and rdx, 0xffffffffffffffe0
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400407e8
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400407e8
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.14007b868
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], r13
mov rdx, qword [r15 + 0x18]
cmp rdx, 0xf
jbe 0x140040832
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x14004082d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004085d
mov rcx, r8
call fcn.14007b868
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