Function at 0x1400ad8f0
Capabilities:
Check if file exists

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x318], rbx
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r14, r9
mov rdi, rcx
mov qword [rsp + 0x40], rcx
mov qword [rbp - 0x68], r9
movzx r13d, word [0x14045e75c]
xor esi, esi
mov qword [rbp - 0x60], rsi
mov r12d, esi
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyW]
test eax, eax
jne 0x1400adbbf
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rsi
mov word [rsp + 0x48], si
lea rax, str.9hnc
cmp word [str.9hnc], si
jne 0x1400ad982
mov r8d, esi
jmp 0x1400ad990
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], si
jne 0x1400ad986
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14004dd70
lea rcx, [rsp + 0x48]
call fcn.140082440
call fcn.140083550
mov r15, rax
mov rbx, qword [r14]
mov rcx, qword [r14 + 8]
sub rcx, rbx
movabs rax, 0x1fc07f01fc07f02
imul rcx
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
je 0x1400adbbf
cmp rbx, qword [r14 + 8]
je 0x1400adbbf
cmp dword [0x14045e968], 0
jne 0x1400adb55
movzx eax, r13w
cmp dword [rbx], eax
jne 0x1400adb44
mov qword [rbp - 0x60], rsi
cmp qword [rbx + 0x3c], 8
jb 0x1400ada0a
mov rax, qword [rbx + 0x24]
jmp 0x1400ada0e
lea rax, [rbx + 0x24]
mov qword [rsp + 0x20], rax
mov r9, rdi
lea r8, [0x140339ee0]
mov edx, 0x104
lea rcx, [rbp - 0x50]
call fcn.14004ebd0
lea rcx, [rbp - 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400adb44
mov edx, 1
lea r8d, [rdx + 2]
lea rcx, [rbp - 0x50]
call fcn.1400526c0
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400ada78
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x50]
lea rdx, [0x140082180]
mov rcx, rax
call fcn.140052980
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp - 0x60]
test rax, rax
je 0x1400adb3f
add r12, rax
mov ecx, 0x478
call fcn.14012a618
mov rdi, rax
xor edx, edx
mov r8d, 0x478
mov rcx, rax
call fcn.14027b2c0
mov rcx, qword [rbp - 0x60]
mov qword [rdi + 0x28], rcx
mov dword [rdi + 0x38], reloc.WS2_32.dll_recv
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], rsi
mov word [rsp + 0x68], si
cmp word [rbp - 0x50], 0
jne 0x1400adad2
mov r8, rsi
jmp 0x1400adaeb
lea rax, [rbp - 0x50]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400adae0
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x68]
call fcn.14004dd70
mov qword [rbp - 0x78], rdi
lea rdx, [rsp + 0x68]
lea rcx, [r15 + 0x71]
call fcn.140056980
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x48]
lea rcx, [r15 + 0x71]
call fcn.140056a00
nop
mov r8, qword [rbp - 0x80]
cmp r8, 8
jb 0x1400adb3f
inc r8
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.14004e2e0
mov rdi, qword [rsp + 0x40]
add rbx, 0x81
cmp rbx, qword [r14 + 8]
jne 0x1400ad9e0
test r12, r12
je 0x1400adbbf
mov dword [r15 + 0x6d], esi
mov qword [r15 + 0x64], r12
call fcn.140083430
mov rbx, rax
mov byte [rax + 0x4c], 1
mov byte [r15 + 0x6c], 1
mov qword [rax + 0x51], r15
mov dword [rax + 0x48], esi
lea rdx, str.9hnc
cmp word [str.9hnc], 0
je 0x1400adb9a
or rsi, 0xffffffffffffffff
nop
inc rsi
cmp word [rdx + rsi*2], 0
jne 0x1400adb90
lea rcx, [rax + 8]
mov r8, rsi
call fcn.14004dd70
xor r9d, r9d
mov r8, rbx
mov edx, 0x4ca
mov rcx, qword [0x14045df08]
call qword [sym.imp.USER32.dll_PostMessageW]
nop
mov rcx, r14
call fcn.1400b1fd0
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14012a2b0
mov rbx, qword [rsp + 0x318]
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret