Function at 0x14005d260
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x1402e1040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rbx, rcx
xor r12d, r12d
mov ecx, 8
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x1402e39f0], eax
jle 0x14005d312
lea rcx, [0x1402e39f0]
call fcn.140171c98
cmp dword [0x1402e39f0], 0xffffffff
jne 0x14005d312
mov qword [0x1402e3990], r12
mov qword [0x1402e3998], r12
mov ecx, 0x30
call fcn.140171d10
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x1402e3990], rax
lea rcx, [0x1401e47e0]
call fcn.140172044
nop
lea rcx, [0x1402e39f0]
call fcn.140171c2c
mov edi, dword [rbx]
mov rdx, qword [0x1402e3990]
mov rax, qword [rdx + 8]
mov rcx, rdx
cmp byte [rax + 0x19], 0
jne 0x14005d33f
cmp dword [rax + 0x20], edi
jge 0x14005d333
mov rax, qword [rax + 0x10]
jmp 0x14005d339
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14005d328
cmp byte [rcx + 0x19], 0
jne 0x14005d34a
cmp edi, dword [rcx + 0x20]
jge 0x14005d34d
mov rcx, rdx
cmp rcx, rdx
je 0x14005d35b
mov rax, qword [rcx + 0x28]
jmp 0x14005d650
lea rdx, [rbp + 0xf]
mov rcx, rbx
call fcn.14005cfd0
nop
cmp byte [rbx + 0x1b0], 0
je 0x14005d645
lea rax, [rbp + 0xf]
cmp qword [rbp + 0x27], 0xf
cmova rax, qword [rbp + 0xf]
mov qword [rbp - 0x49], rax
mov rax, qword [rbp + 0x1f]
mov qword [rbp - 0x41], rax
call fcn.140171104
movaps xmm0, xmmword [rbp - 0x49]
movdqa xmmword [rbp - 0x49], xmm0
lea r8, [rbp - 0x49]
mov edx, eax
lea rcx, [rbp - 0x31]
call fcn.1400489a0
lea rdx, [rbp - 0x31]
call fcn.14008f720
test al, al
je 0x14005d645
lea rbx, [rbp + 0xf]
cmp qword [rbp + 0x27], 0xf
cmova rbx, qword [rbp + 0xf]
mov ecx, 0x58
call fcn.140171d10
mov qword [rbp - 0x39], rax
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
mov qword [rax + 0x50], rcx
mov rdx, rbx
mov rcx, rax
call fcn.1400a4470
mov r15, rax
mov rbx, rax
mov qword [rbp - 0x39], rax
mov rsi, qword [0x1402e3990]
mov rcx, qword [rsi + 8]
mov qword [rbp - 0x31], rcx
mov dword [rbp - 0x29], r12d
mov r13, rsi
mov r14d, 1
cmp byte [rcx + 0x19], 0
jne 0x14005d453
nop dword [rax]
mov qword [rbp - 0x31], rcx
cmp dword [rcx + 0x20], edi
jge 0x14005d443
mov dword [rbp - 0x29], r12d
mov rcx, qword [rcx + 0x10]
jmp 0x14005d44d
mov dword [rbp - 0x29], r14d
mov r13, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x14005d430
cmp byte [r13 + 0x19], 0
jne 0x14005d460
cmp edi, dword [r13 + 0x20]
jge 0x14005d4ce
movabs rax, 0x555555555555555
cmp qword [0x1402e3998], rax
je 0x14005d67d
lea r12, [0x1402e3990]
mov qword [rbp - 0x49], r12
mov qword [rbp - 0x41], 0
mov ecx, 0x30
call fcn.140171d10
nop
mov dword [rax + 0x20], edi
xor ebx, ebx
mov qword [rax + 0x28], r15
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
mov word [rax + 0x18], bx
movups xmm0, xmmword [rbp - 0x31]
movaps xmmword [rbp - 0x49], xmm0
mov r8, rax
lea rdx, [rbp - 0x49]
mov rcx, r12
call fcn.140073710
mov r13, rax
mov rsi, qword [0x1402e3990]
test rbx, rbx
je 0x14005d52b
mov rsi, qword [rbx + 0x20]
cmp dword [rbx + 8], 1
jle 0x14005d50d
nop dword [rax]
test rsi, rsi
je 0x14005d504
mov r15, rsi
mov rsi, qword [rsi + 0x10]
mov rcx, qword [r15 + 8]
test rcx, rcx
je 0x14005d4fb
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
inc r14d
cmp r14d, dword [rbx + 8]
jl 0x14005d4e0
lea rcx, [rbx + 0x38]
call fcn.140063ba0
nop
mov edx, 0x58
mov rcx, rbx
call fcn.140172064
mov rsi, qword [0x1402e3990]
mov rax, qword [r13 + 0x28]
cmp qword [rax + 0x28], 0
je 0x14005d540
cmp dword [rax + 8], 0
jne 0x14005d645
mov rcx, qword [rsi + 8]
mov rax, rcx
mov rdx, rsi
cmp byte [rcx + 0x19], 0
jne 0x14005d578
mov r8d, dword [rax + 0x20]
cmp r8d, edi
jge 0x14005d55f
mov rax, qword [rax + 0x10]
jmp 0x14005d572
cmp byte [rdx + 0x19], 0
je 0x14005d56c
cmp edi, r8d
cmovl rdx, rax
mov rsi, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14005d550
cmp byte [rdx + 0x19], 0
jne 0x14005d581
mov rcx, qword [rdx]
cmp byte [rcx + 0x19], 0
jne 0x14005d59e
cmp edi, dword [rcx + 0x20]
jge 0x14005d594
mov rdx, rcx
mov rcx, qword [rcx]
jmp 0x14005d598
mov rcx, qword [rcx + 0x10]
cmp byte [rcx + 0x19], 0
je 0x14005d587
mov qword [rbp - 0x49], rsi
mov qword [rbp - 0x41], rdx
movaps xmm0, xmmword [rbp - 0x49]
movdqa xmmword [rbp - 0x49], xmm0
lea rdx, [rbp - 0x49]
call fcn.140062ed0
lea rax, [rbp + 0xf]
cmp qword [rbp + 0x27], 0xf
cmova rax, qword [rbp + 0xf]
mov qword [rbp - 0x49], rax
mov rax, qword [rbp + 0x1f]
mov qword [rbp - 0x41], rax
call fcn.140171104
movaps xmm0, xmmword [rbp - 0x49]
movdqa xmmword [rbp - 0x49], xmm0
lea r8, [rbp - 0x49]
mov edx, eax
lea rcx, [rbp - 0x31]
call fcn.1400489a0
lea rax, [rbp - 0x31]
mov qword [rbp - 0x39], rax
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x11]
call fcn.140061c30
lea rdx, [rbp - 0x11]
call fcn.14008f720
test al, al
je 0x14005d63b
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x31]
call fcn.140048e20
cmp qword [rax + 0x18], 0xf
jbe 0x14005d628
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rcx, [rbp - 0x11]
call fcn.140063ba0
nop
lea rcx, [rbp - 0x31]
call fcn.140063b30
nop
lea rcx, [rbp + 0xf]
call fcn.140063ba0
xor eax, eax
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140171bd0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140046800
nop
int3