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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp + 0x2f], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov r14, rdx
mov rdi, rcx
xor r12d, r12d
mov dword [rbp - 0x59], r12d
test rdx, rdx
je 0x14004e8de
cmp word [rdx], r12w
jne 0x14004e8e5
lea r14, str..invalid
xor r15b, r15b
lea rsi, [0x140125218]
mov rdx, rsi
test r14, r14
cmovne rdx, r14
movdqa xmm0, xmmword [0x14012d1d0]
movdqu xmmword [rbp - 0x41], xmm0
mov word [rbp - 0x51], r12w
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rdx + r8*2], r12w
jne 0x14004e915
lea rcx, [rbp - 0x51]
call fcn.1400149d0
nop
mov dword [rbp - 0x59], 1
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14004e93d
mov rcx, qword [rdi]
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
test rax, rax
cmovne rsi, rax
movdqa xmm0, xmmword [0x14012d1d0]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r12w
nop dword [rax]
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x14004e960
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp - 0x11]
call fcn.1400149d0
nop
mov dword [rbp - 0x59], reloc.WS2_32.dll_send
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x11]
call fcn.14001c6d0
nop
mov dword [rbp - 0x59], reloc.WS2_32.dll_socket
movdqa xmm0, xmmword [0x14012d1d0]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], r12w
lea rdx, [rbp - 0x31]
mov rcx, rax
call fcn.140008860
nop
mov dword [rbp - 0x59], Ordinal_32
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x31]
call fcn.14001d3a0
test eax, eax
je 0x14004e9ed
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14004e9da
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14004e9e9
test al, 0x10
jne 0x14004e9ed
mov bl, 1
jmp 0x14004e9ef
xor bl, bl
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x14004ea2f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ea2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ec04
call fcn.1400cd424
movdqa xmm0, xmmword [0x14012d1d0]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], r12w
mov rdx, qword [rbp + 0x27]
cmp rdx, 0x10
jb 0x14004ea7c
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ea77
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ec04
call fcn.1400cd424
movdqa xmm0, xmmword [0x14012d1e0]
movdqu xmmword [rbp + 0x1f], xmm0
mov byte [rbp + 0xf], 0
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x14004eacd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004eac8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ec04
call fcn.1400cd424
movdqa xmm0, xmmword [0x14012d1d0]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r12w
mov rdx, qword [rbp - 0x39]
cmp rdx, 8
jb 0x14004eb1f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004eb1a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ec04
call fcn.1400cd424
test bl, bl
je 0x14004ebde
mov r8, r14
mov rdx, rdi
lea rcx, [rbp + 0xf]
call fcn.14004f0f0
nop
mov rdx, rax
lea rcx, [rbp - 0x51]
call fcn.140020620
nop
lea rdx, [rbp - 0x51]
mov rcx, rdi
call fcn.14001ee00
movzx r15d, al
mov rdx, qword [rbp - 0x39]
cmp rdx, 8
jb 0x14004eb90
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004eb8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ebfe
call fcn.1400cd424
movdqa xmm0, xmmword [0x14012d1d0]
movdqu xmmword [rbp - 0x41], xmm0
mov word [rbp - 0x51], r12w
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x14004ebde
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ebd9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ebfe
call fcn.1400cd424
movzx eax, r15b
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1400d20f4
nop
call fcn.1400d20f4
int3