Function at 0x140055860
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 qword [rbp + 0xf], 0xe
mov qword [rbp + 0x17], 0xf
movsd xmm0, qword [str.C:Chairs_tmp_]
movsd qword [rbp - 1], xmm0
mov eax, dword [0x1400e3380]
mov dword [rbp + 7], eax
movzx eax, word [0x1400e3384]
mov word [rbp + 0xb], ax
mov byte [rbp + 0xd], 0
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x39]
call fcn.140003840
nop
mov rdi, qword [rbp - 0x39]
mov r12, qword [rbp - 0x31]
xor ebx, ebx
cmp rdi, r12
je 0x140055ce1
movabs r13, 0x7fffffffffffffff
mov eax, 0x16
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
mov rsi, qword [rdi + 0x10]
mov r14, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140055909
mov r14, qword [rdi]
cmp rsi, r13
ja 0x140055e0a
mov qword [rsp + 0x38], 0xf
cmp rsi, 0x10
jae 0x14005593b
mov qword [rsp + 0x30], rsi
mov r8d, 0x10
mov rdx, r14
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memmove
jmp 0x140055982
mov rbx, rsi
or rbx, 0xf
cmp rbx, r13
jbe 0x14005594c
mov rbx, r13
jmp 0x140055954
cmp rbx, 0x16
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x20]
call fcn.140004080
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
xor ebx, ebx
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rdx, qword [rsp + 0x20]
lea rcx, [0x1400e3388]
call fcn.140023740
lea rax, [rbp - 0x21]
mov qword [rbp + 0x6f], rax
mov qword [rbp - 0x11], 0xa
mov qword [rbp - 9], 0xf
movsd xmm0, qword [str.laddon.exe]
movsd qword [rbp - 0x21], xmm0
movzx eax, word [0x1400e3398]
mov word [rbp - 0x19], ax
mov byte [rbp - 0x17], 0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov rsi, qword [rsp + 0x30]
lea r14, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae r14, qword [rsp + 0x20]
cmp rsi, r13
ja 0x140055e1c
mov qword [rsp + 0x58], 0xf
cmp rsi, 0x10
jae 0x140055a2a
mov qword [rsp + 0x50], rsi
mov r8d, 0x10
mov rdx, r14
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memmove
jmp 0x140055a76
mov rbx, rsi
or rbx, 0xf
cmp rbx, r13
jbe 0x140055a3b
mov rbx, r13
jmp 0x140055a48
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x40]
call fcn.140004080
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rbx
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
xor ebx, ebx
lea rdx, [rbp - 0x21]
lea rcx, [rsp + 0x40]
call fcn.140003f10
test al, al
je 0x140055c8d
lea rax, [rbp - 0x79]
mov qword [rbp + 0x6f], rax
mov qword [rbp - 0x79], rbx
mov qword [rbp - 0x69], rbx
mov qword [rbp - 0x61], rbx
mov rsi, qword [r15 + 0x10]
mov r14, r15
cmp qword [r15 + 0x18], 0x10
jb 0x140055ab1
mov r14, qword [r15]
cmp rsi, r13
ja 0x140055e16
mov qword [rbp - 0x61], 0xf
cmp rsi, 0x10
jae 0x140055ae0
mov qword [rbp - 0x69], rsi
mov r8d, 0x10
mov rdx, r14
lea rcx, [rbp - 0x79]
call sub.VCRUNTIME140.dll_memmove
jmp 0x140055b28
mov rbx, rsi
or rbx, 0xf
cmp rbx, r13
jbe 0x140055af1
mov rbx, r13
jmp 0x140055afe
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x79]
call fcn.140004080
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
xor ebx, ebx
mov qword [rbp - 0x59], rbx
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x41], rbx
mov rsi, qword [rsp + 0x30]
lea r14, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae r14, qword [rsp + 0x20]
cmp rsi, r13
ja 0x140055e10
mov qword [rbp - 0x41], 0xf
cmp rsi, 0x10
jae 0x140055b79
mov qword [rbp - 0x49], rsi
mov r8d, 0x10
mov rdx, r14
lea rcx, [rbp - 0x59]
call sub.VCRUNTIME140.dll_memmove
jmp 0x140055bc0
mov rbx, rsi
or rbx, 0xf
cmp rbx, r13
jbe 0x140055b8a
mov rbx, r13
jmp 0x140055b97
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x59]
call fcn.140004080
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x49], rsi
mov qword [rbp - 0x41], rbx
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.140003f10
test al, al
jne 0x140055c8d
lea rbx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rbx, qword [rsp + 0x20]
xor esi, esi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 0xf
lea edx, [rsi + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140004080
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], sil
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x21]
call fcn.140059a20
cmp qword [rax + 0x18], 0x10
jb 0x140055c48
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 0x140055c8d
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055c87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140055d7e
call fcn.14008fcf4
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140055cca
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055cc5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140055d85
call fcn.14008fcf4
add rdi, 0x20
xor ebx, ebx
cmp rdi, r12
jne 0x1400558e4
mov r12, qword [rbp - 0x31]
mov rdi, qword [rbp - 0x39]
test rdi, rdi
je 0x140055da2
cmp rdi, r12
je 0x140055d4b
lea rbx, [rdi + 0x18]
xor esi, esi
mov rdx, qword [rbx]
cmp rdx, 0x10
jb 0x140055d2b
mov rcx, qword [rbx - 0x18]
inc rdx
cmp rdx, 0x1000
jb 0x140055d26
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140055d77
mov rcx, r8
call fcn.14008fcf4
mov qword [rbx - 8], rsi
mov byte [rbx - 0x18], sil
mov qword [rbx], 0xf
add rbx, 0x20
lea rax, [rbx - 0x18]
cmp rax, r12
jne 0x140055cf5
mov rdi, qword [rbp - 0x39]
mov rdx, qword [rbp - 0x29]
sub rdx, rdi
and rdx, 0xffffffffffffffe0
mov rax, rdi
cmp rdx, 0x1000
jb 0x140055d8c
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140055d8c
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.14008fcf4
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
xor ebx, ebx
mov qword [rbp - 0x29], rbx
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x140055dd8
mov rcx, qword [r15]
inc rdx
cmp rdx, 0x1000
jb 0x140055dd3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140055e03
mov rcx, r8
call fcn.14008fcf4
mov qword [r15 + 0x10], rbx
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.140004020
nop
call fcn.140004020
nop
call fcn.140004020
nop
call fcn.140004020
int3