Function at 0x140035510
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0xe0
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x14007e090]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rbx, rdx
mov rbp, rcx
mov ecx, 8
call fcn.140042afc
xor r13d, r13d
cmp rax, r13
je 0x140035565
lea rcx, [rsp + 0x30]
mov qword [rax], rcx
jmp 0x140035568
mov rax, r13
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.140007b50
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], r13
mov r12, qword [rbx + 0x28]
mov rdi, qword [r12]
mov rbx, qword [rbx]
cmp rbx, r13
je 0x140035596
cmp rbx, rbx
je 0x14003559b
call fcn.140042ffc
cmp rdi, r12
je 0x140035657
cmp rbx, r13
jne 0x1400355b3
call fcn.140042ffc
mov r11, r13
jmp 0x1400355b6
mov r11, qword [rbx]
cmp rdi, qword [r11 + 0x28]
jne 0x1400355c1
call fcn.140042ffc
cmp qword [rdi + 0x30], 8
jb 0x1400355ce
mov rcx, qword [rdi + 0x18]
jmp 0x1400355d2
lea rcx, [rdi + 0x18]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, r13d
je 0x140035632
cmp rbx, r13
jne 0x1400355ec
call fcn.140042ffc
mov r11, r13
jmp 0x1400355ef
mov r11, qword [rbx]
cmp rdi, qword [r11 + 0x28]
jne 0x1400355fa
call fcn.140042ffc
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x90], xmm0
lea r8, [rdi + 0x10]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x30]
call fcn.140007a98
cmp rbx, r13
jne 0x140035641
call fcn.140042ffc
mov r11, r13
jmp 0x140035644
mov r11, qword [rbx]
cmp rdi, qword [r11 + 0x28]
jne 0x14003564f
call fcn.140042ffc
mov rdi, qword [rdi]
jmp 0x14003558c
cmp qword [rsp + 0x60], r13
jne 0x140035668
mov ebx, 0x44e
jmp 0x140035849
cmp rbp, r13
je 0x140035675
mov rcx, rbp
call fcn.140011bbc
mov rcx, rbp
call fcn.1400124b8
mov r9, rbp
lea r8, [0x140066b6c]
lea rdx, str.__s__a___s_
lea rcx, [rsp + 0xa8]
call fcn.140013c28
nop
mov rsi, qword [rsp + 0x58]
mov rax, qword [rsi]
mov qword [rsp + 0x28], rax
mov r12, qword [rsp + 0x30]
mov qword [rsp + 0x20], r12
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
cmp rdi, r13
je 0x1400356d2
cmp rdi, r12
je 0x1400356d7
call fcn.140042ffc
cmp rbx, rsi
je 0x140035772
cmp rdi, r13
jne 0x1400356ef
call fcn.140042ffc
mov r11, r13
jmp 0x1400356f2
mov r11, qword [rdi]
cmp rbx, qword [r11 + 0x28]
jne 0x1400356fd
call fcn.140042ffc
cmp qword [rbx + 0x30], 8
jb 0x14003570a
mov r8, qword [rbx + 0x18]
jmp 0x14003570e
lea r8, [rbx + 0x18]
lea rdx, str.___s_
lea rcx, [rsp + 0x68]
call fcn.140013c28
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.14001563c
nop
cmp qword [rsp + 0x88], 8
jb 0x14003574d
mov rcx, qword [rsp + 0x70]
call fcn.140042a98
cmp rdi, r13
jne 0x14003575c
call fcn.140042ffc
mov r11, r13
jmp 0x14003575f
mov r11, qword [rdi]
cmp rbx, qword [r11 + 0x28]
jne 0x14003576a
call fcn.140042ffc
mov rbx, qword [rbx]
jmp 0x1400356c8
mov rcx, rbp
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
cmp rax, r13
je 0x1400357b2
mov rcx, rbp
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov rcx, rax
lea rdx, [0x140069268]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, r13d
jne 0x1400357b2
lea rdx, str.__md1M
lea rcx, [rsp + 0xa8]
call fcn.14001450c
mov qword [rsp + 0x88], socket
mov qword [rsp + 0x80], r13
mov byte [rsp + 0x70], r13b
lea rcx, [rsp + 0xb0]
cmp qword [rsp + 0xc8], 8
cmovae rcx, qword [rsp + 0xb0]
lea rdx, [rsp + 0x68]
call fcn.140035458
mov ebx, eax
cmp qword [rsp + 0x88], 0x10
jb 0x140035806
mov rcx, qword [rsp + 0x70]
call fcn.140042a98
cmp ebx, r13d
je 0x140035814
mov rcx, rbp
call fcn.1400124b8
nop
cmp qword [rsp + 0xc8], 8
jb 0x14003582c
mov rcx, qword [rsp + 0xb0]
call fcn.140042a98
mov qword [rsp + 0xc8], 7
mov qword [rsp + 0xc0], r13
mov word [rsp + 0xb0], r13w
lea rcx, [rsp + 0x30]
call fcn.140007b88
mov rcx, qword [rsp + 0x30]
call fcn.140042a98
mov eax, ebx
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140042a40
mov rbx, qword [rsp + 0x120]
add rsp, 0xe0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret