Function at 0x14004e6d0
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 0x14004e70e
cmp word [rdx], r12w
jne 0x14004e715
lea r14, str..invalid
xor r15b, r15b
lea rsi, [0x1401241f8]
mov rdx, rsi
test r14, r14
cmovne rdx, r14
movdqa xmm0, xmmword [0x14012bfc0]
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 0x14004e745
lea rcx, [rbp - 0x51]
call fcn.1400149d0
nop
mov dword [rbp - 0x59], 1
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14004e76d
mov rcx, qword [rdi]
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
test rax, rax
cmovne rsi, rax
movdqa xmm0, xmmword [0x14012bfc0]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r12w
nop dword [rax]
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x14004e790
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.14001c160
nop
mov dword [rbp - 0x59], reloc.WS2_32.dll_socket
movdqa xmm0, xmmword [0x14012bfc0]
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.14001ce30
test eax, eax
je 0x14004e81d
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14004e80a
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14004e819
test al, 0x10
jne 0x14004e81d
mov bl, 1
jmp 0x14004e81f
xor bl, bl
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x14004e85f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e85a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ea34
call fcn.1400ccd64
movdqa xmm0, xmmword [0x14012bfc0]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], r12w
mov rdx, qword [rbp + 0x27]
cmp rdx, 0x10
jb 0x14004e8ac
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e8a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ea34
call fcn.1400ccd64
movdqa xmm0, xmmword [0x14012bfd0]
movdqu xmmword [rbp + 0x1f], xmm0
mov byte [rbp + 0xf], 0
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x14004e8fd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e8f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ea34
call fcn.1400ccd64
movdqa xmm0, xmmword [0x14012bfc0]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r12w
mov rdx, qword [rbp - 0x39]
cmp rdx, 8
jb 0x14004e94f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e94a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ea34
call fcn.1400ccd64
test bl, bl
je 0x14004ea0e
mov r8, r14
mov rdx, rdi
lea rcx, [rbp + 0xf]
call fcn.14004ef20
nop
mov rdx, rax
lea rcx, [rbp - 0x51]
call fcn.1400200b0
nop
lea rdx, [rbp - 0x51]
mov rcx, rdi
call fcn.14001e890
movzx r15d, al
mov rdx, qword [rbp - 0x39]
cmp rdx, 8
jb 0x14004e9c0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e9bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ea2e
call fcn.1400ccd64
movdqa xmm0, xmmword [0x14012bfc0]
movdqu xmmword [rbp - 0x41], xmm0
mov word [rbp - 0x51], r12w
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x14004ea0e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ea09
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ea2e
call fcn.1400ccd64
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.1400d1a34
nop
call fcn.1400d1a34
int3