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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x128]
sub rsp, 0x200
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140241cc0]
xor rax, rsp
mov qword [rbp + 0xe0], rax
xor r13d, r13d
mov dword [rsp + 0x30], r13d
mov rcx, qword [0x14024d2d8]
cmp byte [rcx + 0x260], r13b
je 0x14002e0df
lea rdx, [rcx + 0x268]
lea rcx, [rbp - 0x30]
call fcn.140025a50
nop
lea r10, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova r10, qword [rbp - 0x30]
mov qword [rbp - 0x60], r10
mov rbx, qword [rbp - 0x20]
mov qword [rbp - 0x58], rbx
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rsp + 0x40], xmm0
test rbx, rbx
je 0x14002deee
lea r9d, [r13 + 0x2d]
xor r8d, r8d
mov rdx, rbx
mov rcx, r10
call fcn.140028c80
cmp rbx, rax
cmovb rax, rbx
mov qword [rbp - 0x60], r10
mov qword [rbp - 0x58], rax
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x60]
call fcn.140064490
test eax, eax
jne 0x14002def6
call fcn.140063780
mov eax, dword [rax + 0x20]
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.1400577e0
nop
lea r8, [rsp + 0x40]
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.140057c70
nop
lea rcx, [rbp - 0x80]
call fcn.140025f00
nop
lea rcx, [rbp - 0x30]
call fcn.140025f00
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 7
cmova rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002e0d4
test al, 0x10
jne 0x14002e0d4
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x78], xmm0
movups xmmword [rbp + 0x88], xmm0
mov qword [rbp + 0x98], rax
lea rcx, [rbp + 0x78]
call fcn.140023ad0
nop
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x78]
call fcn.1400983a0
mov rdx, qword [0x14024d2d8]
add rdx, 0x268
lea rcx, [rsp + 0x60]
call fcn.140025a50
mov dword [rsp + 0x30], 0x203
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rax, qword [rsp + 0x60]
mov qword [rbp - 0x60], rax
mov r14, 0xffffffffffffffff
nop word [rax + rax]
inc r14
cmp word [rax + r14*2], 0
jne 0x14002dfc0
mov qword [rbp - 0x58], r14
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x78]
call fcn.140096740
lea rcx, str.channel
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], 7
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rsp + 0x40], xmm0
mov qword [rbp - 0x60], r13
lea rdi, [rax + 0x10]
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x60]
mov rcx, rdi
call fcn.1400297b0
mov ecx, 3
mov rbx, qword [rbp - 0x60]
cmp rbx, qword [rdi]
cmovne ecx, r13d
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp rbx, qword [rdi]
je 0x14002e04d
lea rdx, [rbx + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140025a50
nop
mov ebx, 0x243
jmp 0x14002e078
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
xor r8d, r8d
lea rdx, [0x140205128]
lea rcx, [rbp - 0x30]
call fcn.140025740
lea rax, [rbp - 0x30]
mov ebx, 0x283
mov dword [rsp + 0x30], ebx
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.140025a50
bts ebx, 8
test bl, bl
jns 0x14002e09e
btr ebx, 7
lea rcx, [rbp - 0x30]
call fcn.140025f00
nop
test bl, 0x40
je 0x14002e0ad
lea rcx, [rbp - 0x80]
call fcn.140025f00
nop
lea rcx, [rsp + 0x60]
call fcn.140025f00
cmp qword [rbp], 0
sete bl
lea rcx, [rbp - 0x10]
call fcn.140025f00
nop
lea rcx, [rbp + 0x78]
call fcn.14000b040
jmp 0x14002e0d6
mov bl, 1
lea rcx, [rbp - 0x50]
jmp 0x14002e545
lea rdx, [rbp + 0xa0]
call fcn.14000b8a0
nop
cmp qword [rbp + 0xb0], 0
jne 0x14002e0fd
xor bl, bl
jmp 0x14002e53e
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x58]
call fcn.140027990
nop
lea rcx, [rbp + 0x58]
cmp qword [rbp + 0x70], 7
cmova rcx, qword [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002e532
test al, 0x10
je 0x14002e532
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], rax
lea rcx, [rbp + 0x10]
call fcn.140023ad0
nop
lea rdx, [rbp + 0x58]
lea rcx, [rbp - 0x80]
call fcn.140027670
nop
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1400983a0
nop
lea rcx, [rbp - 0x80]
call fcn.140025f00
lea rax, str.Common
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 6
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x10]
call fcn.140096740
lea rcx, [0x1402056a0]
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], 9
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rsp + 0x40], xmm0
mov qword [rbp - 0x60], r13
lea rdi, [rax + 0x10]
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x60]
mov rcx, rdi
call fcn.1400297b0
mov r12d, 3
mov ecx, r12d
mov rbx, qword [rbp - 0x60]
cmp rbx, qword [rdi]
cmovne ecx, r13d
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp rbx, qword [rdi]
je 0x14002e207
lea rdx, [rbx + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140025a50
nop
mov esi, 0x400
jmp 0x14002e232
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
xor r8d, r8d
lea rdx, [0x140205128]
lea rcx, [rbp - 0x50]
call fcn.140025740
lea rax, [rbp - 0x50]
mov esi, 0x800
mov dword [rsp + 0x30], esi
mov rdx, rax
lea rcx, [rbp + 0x38]
call fcn.140025a50
bts esi, 0xc
mov dword [rsp + 0x30], esi
bt esi, 0xb
jae 0x14002e262
btr esi, 0xb
mov dword [rsp + 0x30], esi
lea rcx, [rbp - 0x50]
call fcn.140025f00
nop
bt esi, 0xa
jae 0x14002e27a
btr esi, 0xa
mov dword [rsp + 0x30], esi
lea rcx, [rbp - 0x80]
call fcn.140025f00
nop
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14024be88], eax
jle 0x14002e2c3
lea rcx, [0x14024be88]
call fcn.140144780
cmp dword [0x14024be88], 0xffffffff
jne 0x14002e2c3
call fcn.14014190c
mov qword [0x14024be90], rax
lea rcx, [0x14024be88]
call fcn.140144710
lea rax, [0x140205698]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], r12
lea rax, [rbp + 0x38]
cmp qword [rbp + 0x50], 7
cmova rax, qword [rbp + 0x38]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp + 0x48]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rsp + 0x40], xmm0
movaps xmm1, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm1
mov r9, qword [0x14024be90]
mov r14, 0xffffffffffffffff
mov r8, r14
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140024e20
test eax, eax
jne 0x14002e51b
lea rax, str.jrog2
mov qword [rbp + 0xc0], rax
lea rax, str.program
mov qword [rbp + 0xc8], rax
lea rax, str.setup
mov qword [rbp + 0xd0], rax
lea rax, [0x140205760]
mov qword [rbp + 0xd8], rax
lea r15, [rbp + 0xc0]
lea rax, [0x1402055a0]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], reloc.WS2_32.dll_setsockopt
movaps xmm6, xmmword [rsp + 0x60]
nop dword [rax]
nop dword [rax + rax]
movdqa xmmword [rsp + 0x40], xmm6
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x10]
call fcn.140096740
mov rdx, qword [r15]
mov qword [rsp + 0x60], rdx
mov rcx, r14
nop
inc rcx
cmp word [rdx + rcx*2], 0
jne 0x14002e3b0
mov qword [rsp + 0x68], rcx
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x40], xmm0
mov qword [rbp - 0x60], r13
lea rdi, [rax + 0x10]
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x60]
mov rcx, rdi
call fcn.1400297b0
mov ecx, r12d
mov rbx, qword [rbp - 0x60]
cmp rbx, qword [rdi]
cmovne ecx, r13d
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp rbx, qword [rdi]
je 0x14002e40f
lea rdx, [rbx + 0x40]
lea rcx, [rbp - 0x10]
call fcn.140025a50
nop
or esi, 8
jmp 0x14002e438
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], r13
xor r8d, r8d
lea rdx, [0x140205128]
lea rcx, [rbp - 0x50]
call fcn.140025740
lea rax, [rbp - 0x50]
or esi, 0x10
mov dword [rsp + 0x30], esi
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140025a50
or esi, 0x20
test sil, 0x10
je 0x14002e45e
and esi, 0xffffffef
lea rcx, [rbp - 0x50]
call fcn.140025f00
nop
test sil, 8
je 0x14002e471
and esi, 0xfffffff7
lea rcx, [rbp - 0x10]
call fcn.140025f00
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], r13
mov r8d, 1
lea rdx, [0x1402055cc]
lea rcx, [rbp - 0x50]
call fcn.140025740
nop
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov qword [rsp + 0x50], r13
or esi, 4
mov dword [rsp + 0x30], esi
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x10]
call fcn.140025a50
lea r8, [rsp + 0x40]
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140027b30
mov rbx, qword [rsp + 0x48]
sub rbx, qword [rsp + 0x40]
sar rbx, 5
and esi, 0xfffffffb
mov dword [rsp + 0x30], esi
lea rcx, [rsp + 0x40]
call fcn.140025680
nop
lea rcx, [rbp - 0x50]
call fcn.140025f00
nop
lea rcx, [rbp - 0x30]
call fcn.140025f00
cmp rbx, 2
jb 0x14002e51b
add r15, 8
lea rax, [rbp + 0xe0]
cmp r15, rax
jne 0x14002e390
xor bl, bl
jmp 0x14002e51d
mov bl, 1
lea rcx, [rbp + 0x38]
call fcn.140025f00
nop
lea rcx, [rbp + 0x10]
call fcn.14000b040
jmp 0x14002e534
xor bl, bl
lea rcx, [rbp + 0x58]
call fcn.140025f00
nop
lea rcx, [rbp + 0xa0]
call fcn.140025f00
movzx eax, bl
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140144310
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret