Function at 0x140110bb0
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1d0
mov qword [rbp + 8], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14047b0a0]
xor rax, rsp
mov qword [rbp + 0xc8], rax
mov r14, rdx
mov r12, rcx
mov qword [rbp + 0x10], rdx
mov rcx, qword [rdx]
mov r15, 0xffffffffffffffff
test rcx, rcx
je 0x140111303
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], 0
lea rdx, [rbp - 0x20]
call fcn.1400d67e0
mov rsi, qword [rbp - 0x20]
cmp rsi, qword [rbp - 0x18]
je 0x140110d05
lea rax, [rsp + 0x68]
mov qword [rbp + 0x18], rax
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x140110c48
lock inc dword [rbx + 8]
mov rbx, qword [rsi + 8]
mov rax, qword [rsi]
mov qword [rbp - 8], rax
mov qword [rbp], rbx
mov rcx, qword [r12]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
test rbx, rbx
je 0x140110c6d
lock inc dword [rbx + 8]
mov rax, qword [rbp - 8]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rbx
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x140111362
mov rax, qword [rcx]
lea rdx, [rsp + 0x68]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x140110cc6
mov eax, r15d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140110cc6
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, r15d
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x140110cc6
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
test rbx, rbx
je 0x140110cf7
mov eax, r15d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140110cf7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140110cf7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
add rsi, 0x10
cmp rsi, qword [rbp - 0x18]
jne 0x140110c37
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
call fcn.1400800c0
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rdi, qword [r14]
add rdi, 0x8f0
lea rax, [rsp + 0x40]
cmp rax, rdi
je 0x140110d78
mov rdx, qword [rbx + 8]
lea rcx, [rsp + 0x40]
call fcn.1400800f0
mov rax, qword [rsp + 0x40]
mov qword [rax + 8], rbx
mov rax, qword [rsp + 0x40]
mov qword [rax], rbx
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x10], rbx
mov qword [rsp + 0x48], 0
movzx r8d, byte [rsp + 0x30]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.1400de9b0
mov rbx, qword [rsp + 0x40]
mov rax, qword [rbx]
mov qword [rsp + 0x78], rax
cmp rax, rbx
je 0x140110da3
mov rcx, qword [rax + 0x28]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
lea rcx, [rsp + 0x78]
call fcn.1400ba500
mov rax, qword [rsp + 0x78]
cmp rax, rbx
jne 0x140110d85
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
xor r8d, r8d
xor edx, edx
call fcn.140085770
mov qword [rsp + 0x58], rax
mov rax, qword [r14]
mov rbx, qword [rax + 0xa30]
test rbx, rbx
je 0x140110dd5
lock inc dword [rbx + 8]
mov rbx, qword [rax + 0xa30]
mov rax, qword [rax + 0xa28]
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], rbx
lea r8, [rax + 0xa8]
lea rax, [rsp + 0x58]
cmp rax, r8
je 0x140110e06
mov r8, qword [r8]
mov rdx, qword [r8]
lea rcx, [rsp + 0x58]
call fcn.140085990
nop
test rbx, rbx
je 0x140110e37
mov eax, r15d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140110e37
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140110e37
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rax, qword [rsp + 0x58]
mov rbx, qword [rax]
cmp rbx, rax
je 0x14011111c
nop dword [rax + rax]
mov rdi, qword [rbx + 0x10]
add rdi, 8
cmp qword [rdi + 0x18], 8
jb 0x140110e62
mov rdi, qword [rdi]
test rdi, rdi
je 0x1401110b3
mov rax, r15
nop
inc rax
cmp word [rdi + rax*2], 0
jne 0x140110e70
test rax, rax
je 0x1401110b3
mov r8d, 2
lea rdx, [0x1403fe454]
mov rcx, rdi
call fcn.1402e4d88
test eax, eax
je 0x1401110b3
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1401110b3
mov rdi, qword [rbx + 0x10]
cmp dword [rdi + 0x80], 8
je 0x140110fda
lea rcx, [rdi + 8]
cmp qword [rcx + 0x18], 8
jb 0x140110ed0
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140110fda
mov eax, dword [rdi + 0x7c]
shr eax, 1
and al, 1
je 0x140110fda
xor eax, eax
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x60], rax
xor r8d, r8d
lea edx, [rax + 0x20]
lea rcx, [rbp + 0x48]
call qword [sym.imp.SHELL32.dll_SHGetSetSettings]
test byte [rbp + 0x48], 8
jne 0x140110fa9
mov rdi, qword [rbx + 0x10]
cmp dword [rdi + 0x80], 8
je 0x140110f76
lea rcx, [rdi + 8]
cmp qword [rcx + 0x18], 8
jb 0x140110f32
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140110f76
mov eax, dword [rdi + 0x7c]
and eax, 6
cmp al, 6
jne 0x140110f76
xor eax, eax
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x80], rax
xor r8d, r8d
mov edx, 0x40000
lea rcx, [rbp + 0x68]
call qword [sym.imp.SHELL32.dll_SHGetSetSettings]
test dword [rbp + 0x68], 0x8000
je 0x140110fda
mov rcx, qword [r14]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x140110f92
lock inc dword [rdx + 8]
mov rdx, qword [rbx + 0x18]
mov rax, qword [rbx + 0x10]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rdx
lea rdx, [rbp - 0x80]
call fcn.1400d1160
jmp 0x140110fda
mov rcx, qword [r14]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x140110fc5
lock inc dword [rdx + 8]
mov rdx, qword [rbx + 0x18]
mov rax, qword [rbx + 0x10]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rdx
lea rdx, [rbp - 0x70]
call fcn.1400d12c0
mov rdi, qword [rbx + 0x10]
cmp dword [rdi + 0x80], 8
je 0x14011110e
lea rcx, [rdi + 8]
cmp qword [rcx + 0x18], 8
jb 0x140110ff9
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14011110e
mov eax, dword [rdi + 0x7c]
and eax, 6
cmp al, 6
jne 0x14011110e
xor eax, eax
mov qword [rbp + 0x88], rax
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rax
mov qword [rbp + 0xa0], rax
xor r8d, r8d
mov edx, 0x40000
lea rcx, [rbp + 0x88]
call qword [sym.imp.SHELL32.dll_SHGetSetSettings]
mov rcx, qword [r14]
xorps xmm0, xmm0
mov rdx, qword [rbx + 0x18]
test dword [rbp + 0x88], 0x8000
je 0x14011108a
movdqu xmmword [rbp - 0x60], xmm0
test rdx, rdx
je 0x140111070
lock inc dword [rdx + 8]
mov rdx, qword [rbx + 0x18]
mov rax, qword [rbx + 0x10]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
lea rdx, [rbp - 0x60]
call fcn.1400d1160
jmp 0x14011110e
movdqu xmmword [rbp - 0x50], xmm0
test rdx, rdx
je 0x14011109c
lock inc dword [rdx + 8]
mov rdx, qword [rbx + 0x18]
mov rax, qword [rbx + 0x10]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
lea rdx, [rbp - 0x50]
call fcn.1400d12c0
jmp 0x14011110e
mov r9, qword [r12 + 8]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1401110d1
lock inc dword [rcx + 8]
mov rcx, qword [rbx + 0x18]
mov rax, qword [rbx + 0x10]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rcx
movdqu xmmword [rbp - 0x30], xmm0
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x1401110f3
lock inc dword [rdx + 8]
mov rdx, qword [r14 + 8]
mov rax, qword [r14]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x30]
mov rcx, r9
call fcn.140115830
mov rbx, qword [rbx]
cmp rbx, qword [rsp + 0x58]
jne 0x140110e50
mov rcx, qword [r14]
mov dword [rsp + 0x50], 0
mov rax, qword [rcx + 0xa28]
mov r8d, dword [rax + 0x68]
mov eax, 0x2718
add r8w, ax
lea edx, [rax + 8]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
call fcn.1400ca500
mov rbx, qword [r14]
xor eax, eax
mov qword [rbp + 0xa8], rax
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0xc0], rax
xor r8d, r8d
mov edx, 0x80
lea rcx, [rbp + 0xa8]
call qword [sym.imp.SHELL32.dll_SHGetSetSettings]
mov eax, dword [rbp + 0xa8]
not eax
and eax, 0x20
shr eax, 5
mov byte [rbx + 0xa00], al
mov rbx, qword [r14]
call fcn.1400a2360
mov dword [rbx + 0xa04], eax
mov rbx, qword [r14]
mov edi, recv
mov eax, reloc.WLDAP32.dll_Ordinal_14
cmp dword [rbx + 0x328], 0
cmovne edi, eax
cmp byte [rbx + 0xa00], 0
je 0x1401111d6
cmp dword [rbx + 0xa04], 3
jne 0x1401111d6
mov r8b, 1
jmp 0x1401111d9
xor r8d, r8d
mov edx, dword [rbx + 0x314]
mov ecx, edi
call fcn.140127140
mov qword [rbx + 0xa38], rax
movzx r8d, byte [rbx + 0xa00]
mov edx, dword [rbx + 0x314]
mov ecx, edi
call fcn.140127140
mov qword [rbx + 0xa40], rax
mov rbx, qword [r14]
mov rcx, qword [rbx + 0xb8]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1401112b9
mov byte [rbx + 0x9b], 1
xor eax, eax
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], rax
xor r8d, r8d
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.14012ae10
lea rdx, [rbp + 0x38]
mov rcx, qword [rbx + 0xb8]
call qword [sym.imp.USER32.dll_ScreenToClient]
lea rdx, [rbp + 0x40]
mov rcx, qword [rbx + 0xb8]
call qword [sym.imp.USER32.dll_ScreenToClient]
xor r8d, r8d
lea rdx, [rbp + 0x38]
mov rcx, qword [rbx + 0xb8]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, qword [rbx + 0xb8]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1401112b9
mov edx, 0xffffffec
mov rcx, qword [rbx + 0xb8]
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x13
jae 0x1401112b9
xor r9d, r9d
lea r8, [rbp + 0x38]
lea edx, [r9 + 0xf]
mov rcx, qword [rbx + 0xb8]
call qword [sym.imp.USER32.dll_PostMessageW]
nop
lea rcx, [rsp + 0x58]
call fcn.1400855b0
mov edx, 0x20
mov rcx, qword [rsp + 0x58]
call fcn.1401aed44
nop
mov r9, qword [rsp + 0x40]
mov r8, qword [r9]
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.1400dcab0
mov edx, gethostname
mov rcx, qword [rsp + 0x40]
call fcn.1401aed44
nop
lea rcx, [rbp - 0x20]
call fcn.1400dc9b0
nop
mov rbx, qword [r14 + 8]
test rbx, rbx
je 0x140111337
mov eax, r15d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140111337
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r15d
cmp r15d, 1
jne 0x140111337
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp + 0xc8]
xor rcx, rsp
call fcn.1401aed20
lea r11, [rsp + 0x1d0]
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.1401ab9c8
nop
int3