Function at 0x140273520
Capabilities:
Get file attributes

Disassembly:
push rbx
push rdi
push r14
push r15
mov eax, 0x2298
call fcn.140233e90
sub rsp, rax
mov rax, qword [0x1404f4fb8]
xor rax, rsp
mov qword [rsp + 0x2280], 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 0x14027362a
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 r15, rax
test rdi, rdi
je 0x14027362a
test rax, rax
je 0x14027362a
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 0x14027365e
nop dword [rax + rax]
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 0x14027365e
cmp eax, 0xc0000004
jne 0x140273621
mov eax, dword [rsp + 0x30]
dec eax
cmp eax, 0x1ffffe
ja 0x140273621
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 0x1402735c0
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 [rsp + 0x2280]
xor rcx, rsp
call fcn.140233ef0
add rsp, 0x2298
pop r15
pop r14
pop rdi
pop rbx
ret
mov qword [rsp + 0x22c8], rbp
mov qword [rsp + 0x22d8], r12
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor r12d, r12d
mov ebp, eax
mov edi, r12d
cmp dword [rbx], r12d
jbe 0x140273811
mov qword [rsp + 0x2290], r13
lea r13, [0x14043a79c]
mov qword [rsp + 0x22d0], rsi
nop dword [rax]
mov eax, edi
lea rcx, [rax + rax*2]
cmp dword [rbx + rcx*8 + 8], ebp
jne 0x1402737f7
cmp byte [rbx + rcx*8 + 0xc], 0x1c
je 0x1402736c2
cmp byte [rbx + rcx*8 + 0xc], 0x19
jne 0x1402737f7
cmp dword [rbx + rcx*8 + 0x18], 0x12019f
je 0x1402737f7
cmp dword [rbx + rcx*8 + 0x18], 0x1a019f
je 0x1402737f7
cmp dword [rbx + rcx*8 + 0x18], 0x120189
je 0x1402737f7
cmp dword [rbx + rcx*8 + 0x18], 0x160001
je 0x1402737f7
cmp dword [rbx + rcx*8 + 0x18], 0x100001
je 0x1402737f7
cmp dword [rbx + rcx*8 + 0x18], 0x100000
je 0x1402737f7
cmp dword [rbx + rcx*8 + 0x18], 0x100020
je 0x1402737f7
movzx esi, word [rbx + rcx*8 + 0xe]
lea rax, [rsp + 0x34]
xorps xmm0, xmm0
mov dword [rsp + 0x34], r12d
mov ecx, esi
mov qword [rsp + 0x20], rax
mov r9d, 0x2000
lea r8, [rsp + 0x270]
mov edx, 2
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
call r15
test eax, eax
js 0x1402737f7
cmp word [rsp + 0x270], 8
jne 0x1402737f7
mov rax, qword [rsp + 0x278]
lea rdx, str.File
mov rcx, qword [rax]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x40]
mov word [rsp + 0x4a], r12w
call fcn.14026bd40
test eax, eax
jne 0x1402737f7
lea r9, [rsp + 0x38]
mov qword [rsp + 0x38], r12
mov r8d, 0x104
lea rdx, [rsp + 0x60]
mov ecx, esi
call fcn.140271dd0
test al, al
je 0x1402737f7
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r10, qword [r14]
lea r9, [0x14043a7a0]
mov r8, qword [rsp + 0x38]
lea rdx, str.Size:__9I64u_Type:__4s_Path:__ls_r_n
test al, 0x10
mov rcx, r14
lea rax, [rsp + 0x60]
cmovne r9, r13
mov qword [rsp + 0x20], rax
call qword [r10 + 0x78]
inc edi
cmp edi, dword [rbx]
jb 0x1402736a0
mov r13, qword [rsp + 0x2290]
mov rsi, qword [rsp + 0x22d0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r12, qword [rsp + 0x22d8]
mov al, 1
mov rbp, qword [rsp + 0x22c8]
jmp 0x140273640