Function at 0x1403015f0
Capabilities:
Get file attributes

Disassembly:
push rbp
push rbx
push rdi
push r12
push r14
lea rbp, [rsp - 0x21a0]
mov eax, 0x22a0
call fcn.140284120
sub rsp, rax
mov rax, qword [0x140601e40]
xor rax, rsp
mov qword [rbp + 0x2190], rax
mov r14, rcx
mov dword [rsp + 0x30], 0x10000
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
je 0x1403016fa
lea rdx, str.NtQuerySystemInformation
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtQueryObject
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test rdi, rdi
je 0x1403016fa
test rax, rax
je 0x1403016fa
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14030172e
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rbx
mov ecx, reloc.WS2_32.dll_recv
call rdi
test eax, eax
jns 0x14030172e
cmp eax, 0xc0000004
jne 0x1403016f1
mov eax, dword [rsp + 0x30]
dec eax
cmp eax, 0x1ffffe
ja 0x1403016f1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [rsp + 0x30]
lea ecx, [rax*4]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
mov ecx, edx
mov dword [rsp + 0x30], edx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x140301690
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r9, qword [r14]
lea rdx, str._info_currently_unavailable_for_this_platform_or_process__r_n
xor r8d, r8d
mov rcx, r14
call qword [r9 + reloc.WS2_32.dll_WSASetLastError]
xor al, al
mov rcx, qword [rbp + 0x2190]
xor rcx, rsp
call fcn.140284180
add rsp, 0x22a0
pop r14
pop r12
pop rdi
pop rbx
pop rbp
ret
mov qword [rsp + 0x22e0], r13
mov qword [rsp + 0x22e8], r15
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor r13d, r13d
mov r15d, eax
mov edi, r13d
cmp dword [rbx], r13d
jbe 0x1403018ce
mov qword [rsp + 0x22d8], rsi
nop
mov eax, edi
lea rcx, [rax + rax*2]
cmp dword [rbx + rcx*8 + 8], r15d
jne 0x1403018bc
cmp byte [rbx + rcx*8 + 0xc], 0x1c
je 0x140301783
cmp byte [rbx + rcx*8 + 0xc], 0x19
jne 0x1403018bc
cmp dword [rbx + rcx*8 + 0x18], 0x12019f
je 0x1403018bc
cmp dword [rbx + rcx*8 + 0x18], 0x1a019f
je 0x1403018bc
cmp dword [rbx + rcx*8 + 0x18], 0x120189
je 0x1403018bc
cmp dword [rbx + rcx*8 + 0x18], 0x160001
je 0x1403018bc
cmp dword [rbx + rcx*8 + 0x18], 0x100001
je 0x1403018bc
cmp dword [rbx + rcx*8 + 0x18], 0x100000
je 0x1403018bc
cmp dword [rbx + rcx*8 + 0x18], 0x100020
je 0x1403018bc
movzx esi, word [rbx + rcx*8 + 0xe]
lea rax, [rsp + 0x38]
xorps xmm0, xmm0
mov dword [rsp + 0x38], r13d
mov ecx, esi
mov qword [rsp + 0x20], rax
mov r9d, 0x2000
lea r8, [rbp + 0x180]
mov edx, 2
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
call r12
test eax, eax
js 0x1403018bc
cmp word [rbp + 0x180], 8
jne 0x1403018bc
mov rax, qword [rbp + 0x188]
lea rdx, str.File
mov rcx, qword [rax]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x48]
mov word [rsp + 0x52], r13w
call fcn.1402f9cf0
test eax, eax
jne 0x1403018bc
lea r9, [rsp + 0x40]
mov qword [rsp + 0x40], r13
mov r8d, 0x104
lea rdx, [rsp + 0x70]
mov ecx, esi
call fcn.1402ffea0
test al, al
je 0x1403018bc
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r10, qword [r14]
lea r9, [0x140522df8]
mov r8, qword [rsp + 0x40]
lea rdx, str.Size:__9I64u_Type:__4s_Path:__ls_r_n
test al, 0x10
mov rcx, r14
lea rax, [0x140522df4]
cmovne r9, rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
call qword [r10 + 0x78]
inc edi
cmp edi, dword [rbx]
jb 0x140301760
mov rsi, qword [rsp + 0x22d8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r15, qword [rsp + 0x22e8]
mov al, 1
mov r13, qword [rsp + 0x22e0]
jmp 0x140301710