Function at 0x1401fcc30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rsi, rdx
mov rdi, rcx
test rdx, rdx
je 0x1401fcae4
xorps xmm0, xmm0
mov qword [rsp + 0x50], 0
movups xmmword [rdx], xmm0
movsd xmm0, qword [rsp + 0x50]
movsd qword [rdx + 0x10], xmm0
mov eax, dword [0x140652090]
nop
test eax, eax
je 0x1401fcc15
cmp qword [rcx + 0x18], 7
jbe 0x1401fcafd
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2200000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x110199
mov r8d, 7
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rsp + 0x78], rax
inc rax
test rax, 0xfffffffffffffffe
jne 0x1401fcbe5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x35
ja 0x1401fcb5c
movabs rdx, 0x2000000020800c
bt rdx, rax
jb 0x1401fcb7b
lea ecx, [rax - 0x43]
cmp ecx, 0x38
ja 0x1401fcb74
movabs rdx, 0x100000000100001
bt rdx, rcx
jb 0x1401fcb7b
cmp eax, 0xa1
jne 0x1401fcba3
lea rcx, [rbx - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1401fcb8e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
lea r9, str.boost::filesystem::remove_all
mov r8, rsi
mov rdx, rdi
mov ecx, eax
call fcn.140200cf0
nop
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1401fcbcb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call fcn.1401fd140
mov rdi, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
jmp 0x1401fcc30
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x100
mov rbx, rdx
mov r15, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor esi, esi
mov qword [rsp + 0x40], rsi
mov r12d, esi
lea r13, section..data
lea rdi, [0x140642050]
mov rcx, r15
cmp qword [r15 + 0x18], 7
jbe 0x1401fcc7f
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r14d, eax
cmp eax, 0xffffffff
je 0x1401fd05c
and eax, 0x410
cmp eax, 0x10
jne 0x1401fd02d
mov qword [rbp + 0x77], rsi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, reloc.WS2_32.dll_recv
mov rdx, r15
lea rcx, [rbp + 0x77]
call fcn.140201dd0
mov rdx, qword [rsp + 0x40]
test dl, 1
je 0x1401fcf41
mov r9d, dword [rsp + 0x30]
cmp rdx, 1
jne 0x1401fcce9
test r9d, r9d
setne al
test al, al
je 0x1401fcf41
mov dword [rbp - 0x59], reloc.WS2_32.dll_sendto
mov qword [rbp - 0x51], r13
cmp rdx, 1
jne 0x1401fcd8a
mov rcx, r13
call fcn.1401fbdc0
mov rcx, rax
mov eax, dword [rbp - 0x59]
mov dword [rbp - 0x29], eax
mov qword [rbp - 0x21], rcx
mov rax, qword [rsp + 0x40]
cmp rax, 1
jne 0x1401fcd37
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x69], xmm0
movd edx, xmm0
psrldq xmm0, 8
movq rcx, xmm0
jmp 0x1401fcd62
test rax, rax
jne 0x1401fcd4a
mov dword [rbp - 0x69], esi
mov rcx, rdi
mov qword [rbp - 0x61], rcx
mov edx, esi
jmp 0x1401fcd62
mov rcx, qword [rsp + 0x38]
call fcn.1401fbdc0
mov rcx, rax
mov edx, dword [rsp + 0x30]
mov dword [rbp - 0x69], edx
mov qword [rbp - 0x61], rax
mov rax, qword [rcx]
lea r8, [rbp - 0x29]
call qword [rax + 0x28]
test al, al
jne 0x1401fcd86
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
mov r8d, dword [rbp - 0x29]
lea rdx, [rbp - 0x69]
call qword [rax + 0x20]
test al, al
je 0x1401fcdcc
mov al, 1
jmp 0x1401fcdcc
lea rcx, [0x14064af80]
test rdx, rdx
cmovne rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea r8, [rbp - 0x59]
mov edx, r9d
call qword [rax + 0x18]
test al, al
jne 0x1401fcec2
mov rcx, r13
mov rax, qword [rbp - 0x51]
test rax, rax
cmovne rcx, rax
mov rax, qword [rcx]
mov r8d, dword [rbp - 0x59]
lea rdx, [rsp + 0x30]
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
jne 0x1401fcec2
mov dword [rbp - 0x39], WSAStartup
mov qword [rbp - 0x31], r13
mov rax, qword [rsp + 0x40]
cmp rax, 1
jne 0x1401fce7f
mov rcx, r13
call fcn.1401fbdc0
mov rcx, rax
mov eax, dword [rbp - 0x39]
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x58], rcx
mov rax, qword [rsp + 0x40]
cmp rax, 1
jne 0x1401fce29
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x49], xmm0
movd edx, xmm0
psrldq xmm0, 8
movq rcx, xmm0
jmp 0x1401fce54
test rax, rax
jne 0x1401fce3c
mov dword [rbp - 0x49], esi
mov rcx, rdi
mov qword [rbp - 0x41], rcx
mov edx, esi
jmp 0x1401fce54
mov rcx, qword [rsp + 0x38]
call fcn.1401fbdc0
mov rcx, rax
mov edx, dword [rsp + 0x30]
mov dword [rbp - 0x49], edx
mov qword [rbp - 0x41], rax
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
call qword [rax + 0x28]
test al, al
jne 0x1401fce7b
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov r8d, dword [rsp + 0x50]
lea rdx, [rbp - 0x49]
call qword [rax + 0x20]
test al, al
je 0x1401fcebe
mov al, 1
jmp 0x1401fcebe
lea rcx, [0x14064af80]
test rax, rax
cmovne rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea r8, [rbp - 0x39]
mov edx, dword [rsp + 0x30]
call qword [rax + 0x18]
test al, al
jne 0x1401fcec2
mov rcx, r13
mov rax, qword [rbp - 0x31]
test rax, rax
cmovne rcx, rax
mov rax, qword [rcx]
mov r8d, dword [rbp - 0x39]
lea rdx, [rsp + 0x30]
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
je 0x1401fcf23
mov rdi, qword [rbp + 0x77]
test rdi, rdi
je 0x1401fceee
mov eax, 0xffffffff
lock xadd dword [rdi], eax
cmp eax, 1
jne 0x1401fceee
test rdi, rdi
je 0x1401fceee
mov rcx, rdi
call fcn.1402012b0
mov rcx, rdi
call fcn.140130b30
inc r12d
cmp r12d, 5
jb 0x1401fcc6b
movups xmm0, xmmword [rsp + 0x30]
movsd xmm1, qword [rsp + 0x40]
test rbx, rbx
je 0x1401fd103
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
mov rax, 0xffffffffffffffff
jmp 0x1401fd0b5
movups xmm0, xmmword [rsp + 0x30]
movsd xmm1, qword [rsp + 0x40]
test rbx, rbx
je 0x1401fd0d0
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
jmp 0x1401fcfb3
mov qword [rbp + 0x7f], rsi
nop word [rax + rax]
mov rdi, qword [rbp + 0x77]
test rdi, rdi
je 0x1401fd005
cmp qword [rdi + 0x40], 0
je 0x1401fd005
lea rcx, [rdi + 0x10]
mov rdx, rbx
call 0x1401fcc30
add rsi, rax
test rbx, rbx
je 0x1401fcf8f
mov rax, qword [rbx + 0x10]
test al, 1
je 0x1401fcff7
cmp rax, 1
jne 0x1401fcfb3
cmp dword [rbx], 0
jne 0x1401fcfb3
mov rdx, rbx
lea rcx, [rbp + 0x77]
call fcn.1402024b0
test rbx, rbx
je 0x1401fcf50
mov rax, qword [rbx + 0x10]
test al, 1
je 0x1401fcf50
cmp rax, 1
jne 0x1401fcfb3
cmp dword [rbx], 0
je 0x1401fcf50
mov rbx, qword [rbp + 0x77]
test rbx, rbx
je 0x1401fd0aa
mov eax, 0xffffffff
lock xadd dword [rbx], eax
cmp eax, 1
jne 0x1401fd0aa
test rbx, rbx
je 0x1401fd0aa
mov rcx, rbx
call fcn.1402012b0
mov rcx, rbx
call fcn.140130b30
mov rax, 0xffffffffffffffff
jmp 0x1401fd0b5
mov rdx, rbx
lea rcx, [rbp + 0x77]
call fcn.1402024b0
jmp 0x1401fcfa0
test rdi, rdi
je 0x1401fd02d
mov eax, 0xffffffff
lock xadd dword [rdi], eax
cmp eax, 1
jne 0x1401fd02d
test rdi, rdi
je 0x1401fd02d
mov rcx, rdi
call fcn.1402012b0
mov rcx, rdi
call fcn.140130b30
mov r8, rbx
mov edx, r14d
mov rcx, r15
call fcn.1401fd980
test rbx, rbx
je 0x1401fd054
mov rcx, qword [rbx + 0x10]
test cl, 1
je 0x1401fd054
cmp rcx, 1
jne 0x1401fd0aa
cmp dword [rbx], 0
jne 0x1401fd0aa
movzx eax, al
add rax, rsi
jmp 0x1401fd0b5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x35
ja 0x1401fd077
movabs rdx, 0x2000000020800c
bt rdx, rax
jb 0x1401fd0b3
lea ecx, [rax - 0x43]
cmp ecx, 0x38
ja 0x1401fd08f
movabs rdx, 0x100000000100001
bt rdx, rcx
jb 0x1401fd0b3
cmp eax, 0xa1
je 0x1401fd0b3
lea r9, str.boost::filesystem::remove_all
mov r8, rbx
mov rdx, r15
mov ecx, eax
call fcn.140200cf0
mov rax, 0xffffffffffffffff
jmp 0x1401fd0b5
xor eax, eax
mov rbx, qword [rsp + 0x140]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movaps xmmword [rsp + 0x50], xmm0
movsd qword [rbp - 0x79], xmm1
lea r9, [rsp + 0x50]
mov r8, r15
lea rdx, str.boost::filesystem::remove_all
lea rcx, [rbp - 0x19]
call fcn.140200730
lea rdx, [0x14063dd78]
lea rcx, [rbp - 0x19]
call fcn.1404a8608
nop
movaps xmmword [rsp + 0x50], xmm0
movsd qword [rbp - 0x79], xmm1
lea r9, [rsp + 0x50]
mov r8, r15
lea rdx, str.boost::filesystem::remove_all:_path_cannot_be_opened_as_a_directory
lea rcx, [rbp - 0x19]
call fcn.140200730
lea rdx, [0x14063dd78]
lea rcx, [rbp - 0x19]
call fcn.1404a8608
int3