Function at 0x14002d7d0
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 - 0x118]
sub rsp, 0x1f0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140212c80]
xor rax, rsp
mov qword [rbp + 0xd0], rax
xor r13d, r13d
mov dword [rsp + 0x30], r13d
mov rcx, qword [0x14021e038]
cmp byte [rcx + 0x278], r13b
je 0x14002da65
lea rdx, [rcx + 0x280]
lea rcx, [rsp + 0x60]
call fcn.140025a20
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rax, qword [rsp + 0x60]
mov qword [rbp - 0x80], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x78], rax
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
test rax, rax
je 0x14002d87d
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.14005f500
test eax, eax
jne 0x14002d884
call fcn.14005eef0
mov eax, dword [rax]
mov edx, eax
lea rcx, [rbp - 0x40]
call fcn.140053a40
nop
lea r8, [rbp - 0x80]
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140053e80
nop
lea rcx, [rbp - 0x40]
call fcn.140025e80
nop
lea rcx, [rsp + 0x60]
call fcn.140025e80
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002da5a
test al, 0x10
jne 0x14002da5a
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rax
lea rcx, [rbp - 0x20]
call fcn.1400239c0
nop
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x20]
call fcn.140088120
mov rdx, qword [0x14021e038]
add rdx, 0x280
lea rcx, [rbp - 0x40]
call fcn.140025a20
mov dword [rsp + 0x30], 0x203
lea rax, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova rax, qword [rbp - 0x40]
mov qword [rbp - 0x80], rax
mov r14, 0xffffffffffffffff
nop word [rax + rax]
inc r14
cmp word [rax + r14*2], 0
jne 0x14002d940
mov qword [rbp - 0x78], r14
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x20]
call fcn.140085e40
lea rcx, str.channel
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x78], 7
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rsp + 0x40], xmm0
mov qword [rbp - 0x80], r13
lea rdi, [rax + 0x10]
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.1400296d0
mov ecx, 3
mov rbx, qword [rbp - 0x80]
cmp rbx, qword [rdi]
cmovne ecx, r13d
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp rbx, qword [rdi]
je 0x14002d9ce
lea rdx, [rbx + 0x40]
lea rcx, [rsp + 0x40]
call fcn.140025a20
nop
mov ebx, 0x243
jmp 0x14002d9fd
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
xor r8d, r8d
lea rdx, [0x1401db668]
lea rcx, [rsp + 0x60]
call fcn.1400258d0
lea rax, [rsp + 0x60]
mov ebx, 0x283
mov dword [rsp + 0x30], ebx
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.140025a20
bts ebx, 8
test bl, bl
jns 0x14002da24
btr ebx, 7
lea rcx, [rsp + 0x60]
call fcn.140025e80
nop
test bl, 0x40
je 0x14002da34
lea rcx, [rsp + 0x40]
call fcn.140025e80
nop
lea rcx, [rbp - 0x40]
call fcn.140025e80
cmp qword [rbp + 0x18], 0
sete bl
lea rcx, [rbp + 8]
call fcn.140025e80
nop
lea rcx, [rbp - 0x20]
call fcn.14000af00
jmp 0x14002da5c
mov bl, 1
lea rcx, [rbp - 0x60]
jmp 0x14002dec5
lea rdx, [rbp + 0x90]
call fcn.14000b6a0
nop
cmp qword [rbp + 0xa0], 0
jne 0x14002da83
xor bl, bl
jmp 0x14002debe
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x70]
call fcn.1400279b0
nop
lea rcx, [rbp + 0x70]
cmp qword [rbp + 0x88], 7
cmova rcx, qword [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002deb2
test al, 0x10
je 0x14002deb2
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x28], xmm0
movups xmmword [rbp + 0x38], xmm0
mov qword [rbp + 0x48], rax
lea rcx, [rbp + 0x28]
call fcn.1400239c0
nop
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 8]
call fcn.140027690
nop
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.140088120
nop
lea rcx, [rbp + 8]
call fcn.140025e80
lea rax, str.Common
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], 6
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x28]
call fcn.140085e40
lea rcx, [0x1401dbad0]
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x78], 9
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rsp + 0x40], xmm0
mov qword [rbp - 0x80], r13
lea rdi, [rax + 0x10]
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.1400296d0
mov r12d, 3
mov ecx, r12d
mov rbx, qword [rbp - 0x80]
cmp rbx, qword [rdi]
cmovne ecx, r13d
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp rbx, qword [rdi]
je 0x14002db90
lea rdx, [rbx + 0x40]
lea rcx, [rbp + 8]
call fcn.140025a20
nop
mov esi, 0x400
jmp 0x14002dbbb
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
xor r8d, r8d
lea rdx, [0x1401db668]
lea rcx, [rbp - 0x40]
call fcn.1400258d0
lea rax, [rbp - 0x40]
mov esi, 0x800
mov dword [rsp + 0x30], esi
mov rdx, rax
lea rcx, [rbp + 0x50]
call fcn.140025a20
bts esi, 0xc
mov dword [rsp + 0x30], esi
bt esi, 0xb
jae 0x14002dbeb
btr esi, 0xb
mov dword [rsp + 0x30], esi
lea rcx, [rbp - 0x40]
call fcn.140025e80
nop
bt esi, 0xa
jae 0x14002dc03
btr esi, 0xa
mov dword [rsp + 0x30], esi
lea rcx, [rbp + 8]
call fcn.140025e80
nop
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14021ccd8], eax
jle 0x14002dc4c
lea rcx, [0x14021ccd8]
call fcn.140133a50
cmp dword [0x14021ccd8], 0xffffffff
jne 0x14002dc4c
call fcn.140130b28
mov qword [0x14021cce0], rax
lea rcx, [0x14021ccd8]
call fcn.1401339e4
lea rax, [0x1401dbac8]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], r12
lea rax, [rbp + 0x50]
cmp qword [rbp + 0x68], 7
cmova rax, qword [rbp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm1
mov r9, qword [0x14021cce0]
mov r14, 0xffffffffffffffff
mov r8, r14
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.140024d40
test eax, eax
jne 0x14002de9b
lea rax, str.jrog2
mov qword [rbp + 0xb0], rax
lea rax, str.program
mov qword [rbp + 0xb8], rax
lea rax, str.setup
mov qword [rbp + 0xc0], rax
lea rax, [0x1401dbb90]
mov qword [rbp + 0xc8], rax
lea r15, [rbp + 0xb0]
lea rax, [0x1401db9d0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], reloc.WS2_32.dll_setsockopt
movaps xmm6, xmmword [rsp + 0x40]
nop dword [rax + rax]
movdqa xmmword [rbp - 0x80], xmm6
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x28]
call fcn.140085e40
mov rdx, qword [r15]
mov qword [rsp + 0x40], rdx
mov rcx, r14
nop dword [rax]
inc rcx
cmp word [rdx + rcx*2], 0
jne 0x14002dd30
mov qword [rsp + 0x48], rcx
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rbp - 0x80], r13
lea rdi, [rax + 0x10]
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.1400296d0
mov ecx, r12d
mov rbx, qword [rbp - 0x80]
cmp rbx, qword [rdi]
cmovne ecx, r13d
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp rbx, qword [rdi]
je 0x14002dd8f
lea rdx, [rbx + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140025a20
nop
or esi, 8
jmp 0x14002ddb8
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], r13
xor r8d, r8d
lea rdx, [0x1401db668]
lea rcx, [rbp - 0x60]
call fcn.1400258d0
lea rax, [rbp - 0x60]
or esi, 0x10
mov dword [rsp + 0x30], esi
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140025a20
or esi, 0x20
test sil, 0x10
je 0x14002ddde
and esi, 0xffffffef
lea rcx, [rbp - 0x60]
call fcn.140025e80
nop
test sil, 8
je 0x14002ddf1
and esi, 0xfffffff7
lea rcx, [rbp - 0x80]
call fcn.140025e80
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], r13
mov r8d, 1
lea rdx, [0x1401db9fc]
lea rcx, [rbp - 0x60]
call fcn.1400258d0
nop
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], r13
or esi, 4
mov dword [rsp + 0x30], esi
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x20]
call fcn.140025a20
lea r8, [rsp + 0x60]
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140027b50
mov rbx, qword [rsp + 0x68]
sub rbx, qword [rsp + 0x60]
sar rbx, 5
and esi, 0xfffffffb
mov dword [rsp + 0x30], esi
lea rcx, [rsp + 0x60]
call fcn.140025810
nop
lea rcx, [rbp - 0x60]
call fcn.140025e80
nop
lea rcx, [rbp - 0x40]
call fcn.140025e80
cmp rbx, 2
jb 0x14002de9b
add r15, 8
lea rax, [rbp + 0xd0]
cmp r15, rax
jne 0x14002dd10
xor bl, bl
jmp 0x14002de9d
mov bl, 1
lea rcx, [rbp + 0x50]
call fcn.140025e80
nop
lea rcx, [rbp + 0x28]
call fcn.14000af00
jmp 0x14002deb4
xor bl, bl
lea rcx, [rbp + 0x70]
call fcn.140025e80
nop
lea rcx, [rbp + 0x90]
call fcn.140025e80
movzx eax, bl
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.140133600
lea r11, [rsp + 0x1f0]
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