Function at 0x140002438
Capabilities:
Get file attributes

Disassembly:
push rbp
sub rsp, 0xa30
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x260], rdi
mov qword [rbp + 0x258], rsi
mov qword [rbp + 0x250], rbx
mov qword [rbp + 0xb8], rcx
mov qword [rbp + 0xc0], rdx
mov qword [rbp + 0xc8], r8
mov qword [rbp + 0xa00], rcx
mov qword [rbp + 0xa08], rdx
mov dword [rbp + 0xa10], r8d
mov rax, qword [0x1400e0a40]
xor rax, rbp
mov qword [rbp + 0x9e8], rax
mov dword [rbp], 0
mov qword [rbp + 0xd0], 0
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], 0
mov qword [rbp + 0xe8], 0
mov qword [rbp + 0xf0], 0xffffffffffffffff
mov qword [rbp + 0xf8], 0
mov dword [rbp + 4], 0
mov dword [rbp + 8], 0
mov dword [rbp + 0xc], 0
lea rax, [rbp + 0x68c]
mov edx, 0
mov ecx, 0x10e
mov rdi, rax
mov eax, edx
and eax, 0xffff
mov ah, al
mov edx, eax
shl eax, 0x10
or eax, edx
mov esi, ecx
shr rcx, 2
rep stosd dword [rdi], eax
mov ecx, esi
and ecx, 3
rep stosb byte [rdi], al
lea rax, [rbp + 0x79a]
mov edx, 0
mov ecx, 0x10e
mov rdi, rax
mov eax, edx
and eax, 0xffff
mov ah, al
mov edx, eax
shl eax, 0x10
or eax, edx
mov esi, ecx
shr rcx, 2
rep stosd dword [rdi], eax
mov ecx, esi
and ecx, 3
rep stosb byte [rdi], al
mov qword [rbp + 0x100], 0
mov qword [rbp + 0x108], 0
mov eax, dword [rbp + 0xa10]
cmp eax, 1
jne 0x140002590
mov rax, qword [rbp + 0xa08]
mov rax, qword [rax]
mov qword [rbp + 0x100], rax
jmp 0x140002610
mov eax, dword [rbp + 0xa10]
cmp eax, 2
jne 0x1400025c4
mov rax, qword [rbp + 0xa08]
mov rax, qword [rax]
mov qword [rbp + 0x100], rax
mov eax, 8
add rax, qword [rbp + 0xa08]
mov rax, qword [rax]
mov qword [rbp + 0x108], rax
jmp 0x140002610
mov eax, reloc.WS2_32.dll_listen
mov dword [rbp + 0xa4], eax
mov rax, qword [rbp + 0x9e8]
mov qword [rbp + 0x9e8], 0
xor rax, rbp
mov rcx, rax
call fcn.1400aab50
mov eax, dword [rbp + 0xa4]
mov rbx, qword [rbp + 0x250]
mov rsi, qword [rbp + 0x258]
mov rdi, qword [rbp + 0x260]
lea rsp, [rbp + 0x9f0]
pop rbp
ret
lea rax, [rbp + 0x36c]
mov edx, 0
mov ecx, 0x104
mov qword [rbp + 0x178], rcx
mov rcx, rax
mov rax, qword [rbp + 0x178]
mov r8, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x110], rax
lea rax, [rbp + 0x36c]
lea rdx, [0x1400afa9c]
mov rcx, qword [rbp + 0x100]
mov qword [rbp + 0x180], rcx
mov rcx, rax
mov rax, qword [rbp + 0x180]
mov r8, rax
call fcn.1400012e0
mov dword [rbp + 0x10], eax
lea rax, [rbp + 0x57e]
mov edx, 0
mov ecx, 0x10e
mov qword [rbp + 0x188], rcx
mov rcx, rax
mov rax, qword [rbp + 0x188]
mov r8, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x118], rax
lea rax, [rbp + 0x79a]
mov edx, 0x10e
lea rcx, str.FindFirstFile____s
mov rbx, qword [rbp + 0x100]
mov qword [rbp + 0x190], rcx
mov rcx, rax
mov rax, qword [rbp + 0x190]
mov r8, rax
mov r9, rbx
call sub.oracore.dll_ss_snprintf
mov dword [rbp + 0x14], eax
mov rax, qword [rbp + 0x100]
lea rdx, [rbp + 0x8a8]
mov rcx, qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rbp + 0x198], rcx
mov rcx, rax
mov rax, qword [rbp + 0x198]
call rax
mov qword [rbp + 0x120], rax
mov rax, qword [rbp + 0x120]
mov qword [rbp + 0xf0], rax
mov rax, qword [rbp + 0xf0]
cmp rax, 0xffffffffffffffff
jne 0x140002864
mov rax, qword [sym.imp.orauts.dll_WSAGetLastError]
call rax
mov dword [rbp + 0x18], eax
mov eax, dword [rbp + 0x18]
mov dword [rbp + 0x20], eax
mov eax, 0x1300
mov edx, 0
mov ecx, dword [rbp + 0x20]
mov ebx, 0x400
lea rsi, [rbp + 0x128]
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov rsi, qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rbp + 0x1a0], ecx
mov ecx, eax
mov eax, dword [rbp + 0x1a0]
mov r8d, eax
mov r9d, ebx
call rsi
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x24]
test eax, eax
je 0x1400027f8
mov rax, qword [rbp + 0xa00]
lea rdx, str.FindFirstFile
mov ecx, dword [rbp + 0x20]
mov rbx, qword [rbp + 0x128]
lea rsi, str.CVU00500
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], 0
mov dword [rbp + 0x1a8], ecx
mov rcx, rax
mov eax, dword [rbp + 0x1a8]
mov r8d, eax
mov r9, rbx
call fcn.14002cda8
mov dword [rbp + 0x30], eax
mov rax, qword [rbp + 0x128]
mov rdx, qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rax
call rdx
mov qword [rbp + 0x130], rax
jmp 0x140002842
mov rax, qword [rbp + 0xa00]
lea rdx, str.FindFirstFile
mov ecx, dword [rbp + 0x20]
mov rbx, qword [rbp + 0x128]
lea rsi, str.CVU00501
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], 0
mov dword [rbp + 0x1b0], ecx
mov rcx, rax
mov eax, dword [rbp + 0x1b0]
mov r8d, eax
mov r9, rbx
call fcn.14002cda8
mov dword [rbp + 0x34], eax
mov rax, qword [rbp + 0xf0]
mov rdx, qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rax
call rdx
mov dword [rbp + 0x38], eax
mov dword [rbp], 1
jmp 0x140002f7c
mov rax, qword [rbp + 0xa00]
lea rdx, [rbp + 0x68c]
mov ecx, 0x10e
mov dword [rbp + 0x1b8], ecx
mov rcx, rax
mov eax, dword [rbp + 0x1b8]
mov r8d, eax
call fcn.140020110
mov dword [rbp + 0x1c], eax
mov rax, qword [rbp + 0xa00]
lea rdx, [rbp + 0x79a]
mov ecx, 0
lea rbx, [rbp + 0x68c]
mov dword [rbp + 0x1c0], ecx
mov rcx, rax
mov eax, dword [rbp + 0x1c0]
mov r8d, eax
mov r9, rbx
call fcn.14002d4d0
mov dword [rbp + 0x28], eax
mov rax, qword [rbp + 0x100]
mov rdx, qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov rcx, rax
call rdx
mov dword [rbp + 0x2c], eax
mov eax, dword [rbp + 0x2c]
mov dword [rbp + 8], eax
mov eax, dword [rbp + 8]
cmp eax, 0x10
je 0x1400029a0
mov rax, qword [rbp + 0xa00]
lea rdx, str.prvf
lea rcx, str.7508
mov ebx, 0
mov qword [rsp + 0x20], 0
lea rsi, str.CVU00480
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], 0
mov qword [rbp + 0x1c8], rcx
mov rcx, rax
mov rax, qword [rbp + 0x1c8]
mov r8, rax
mov r9d, ebx
call fcn.14002d0f9
mov dword [rbp + 0x3c], eax
mov rax, qword [rbp + 0xa00]
lea rdx, str.GetFileAttributes
mov ecx, 0
lea rbx, str.Given_Path_is_not_a_directory
mov dword [rbp + 0x1d0], ecx
mov rcx, rax
mov eax, dword [rbp + 0x1d0]
mov r8d, eax
mov r9, rbx
call fcn.14002d4d0
mov dword [rbp + 0x40], eax
mov dword [rbp], 1
mov rax, qword [rbp + 0xf0]
mov rdx, qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rax
call rdx
mov dword [rbp + 0x48], eax
jmp 0x140002f7c
lea rax, [rbp + 0x268]
mov edx, 0
mov ecx, 0x104
mov qword [rbp + 0x1d8], rcx
mov rcx, rax
mov rax, qword [rbp + 0x1d8]
mov r8, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x138], rax
lea rax, [rbp + 0x268]
lea rdx, str._s
lea rcx, [rbp + 0x36c]
mov qword [rbp + 0x1e0], rcx
mov rcx, rax
mov rax, qword [rbp + 0x1e0]
mov r8, rax
call fcn.1400012e0
mov dword [rbp + 0x44], eax
lea rax, [rbp + 0x268]
lea rdx, [rbp + 0x8a8]
mov rcx, qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rbp + 0x1e8], rcx
mov rcx, rax
mov rax, qword [rbp + 0x1e8]
call rax
mov qword [rbp + 0x140], rax
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0xf0], rax
mov rax, qword [rbp + 0xf0]
cmp rax, 0xffffffffffffffff
jne 0x140002af6
mov rax, qword [rbp + 0xa00]
lea rdx, str.prvf
lea rcx, str.7508
mov ebx, 0
mov qword [rsp + 0x20], 0
lea rsi, str.CVU00481
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], 0
mov qword [rbp + 0x1f0], rcx
mov rcx, rax
mov rax, qword [rbp + 0x1f0]
mov r8, rax
mov r9d, ebx
call fcn.14002d0f9
mov dword [rbp + 0x54], eax
mov rax, qword [rbp + 0xa00]
lea rdx, str.FindFirstFile
mov ecx, 0
lea rbx, str.Error_while_getting_size_of_the_directory.
mov dword [rbp + 0x1f8], ecx
mov rcx, rax
mov eax, dword [rbp + 0x1f8]
mov r8d, eax
mov r9, rbx
call fcn.14002d4d0
mov dword [rbp + 0x58], eax
mov dword [rbp + 0x60], 1
mov eax, dword [rbp + 0x60]
mov dword [rbp], eax
mov eax, dword [rbp + 0x60]
mov dword [rbp + 0xc], eax
jmp 0x140002f7c
mov eax, dword [rbp + 0x8a8]
test al, 0x10
je 0x140002c25
lea rax, [rbp + 0x8d4]
lea rdx, [0x1400afb78]
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
mov dword [rbp + 0x5c], eax
mov eax, dword [rbp + 0x5c]
test eax, eax
je 0x140002d14
lea rax, [rbp + 0x8d4]
lea rdx, [0x1400afb74]
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
mov dword [rbp + 0x70], eax
mov eax, dword [rbp + 0x70]
test eax, eax
je 0x140002d14
mov eax, pe_nt_image_headers64
mov rdx, qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rax
call rdx
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0xe0], rax
mov rax, qword [rbp + 0xe0]
lea rdx, str._s__s
lea rcx, [rbp + 0x36c]
lea rbx, [rbp + 0x8d4]
mov qword [rbp + 0x200], rcx
mov rcx, rax
mov rax, qword [rbp + 0x200]
mov r8, rax
mov r9, rbx
call fcn.1400012e0
mov dword [rbp + 0x8c], eax
mov rax, qword [rbp + 0xe0]
mov qword [rax + 0x108], 0
mov rax, qword [rbp + 0xd8]
test rax, rax
jne 0x140002bfd
mov rax, qword [rbp + 0xe0]
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x168]
mov qword [rbp + 0xd8], rax
mov rax, qword [rbp + 0x168]
mov qword [rbp + 0xd0], rax
jmp 0x140002d14
mov rax, qword [rbp + 0xd0]
mov rdx, qword [rbp + 0xe0]
mov qword [rax + 0x108], rdx
mov rax, qword [rbp + 0xe0]
mov qword [rbp + 0xd0], rax
jmp 0x140002d14
mov eax, dword [rbp + 0x8c8]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
add rax, qword [rbp + 0xf8]
mov qword [rbp + 0xf8], rax
mov rax, qword [rbp + 0xf8]
test rax, rax
jge 0x140002d14
mov rax, qword [rbp + 0xa00]
lea rdx, str.prvf
lea rcx, str.7508
mov ebx, 0
mov qword [rsp + 0x20], 0
lea rsi, str.CVU00482
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], 0
mov qword [rbp + 0x208], rcx
mov rcx, rax
mov rax, qword [rbp + 0x208]
mov r8, rax
mov r9d, ebx
call fcn.14002d0f9
mov dword [rbp + 0x64], eax
mov rax, qword [rbp + 0xa00]
lea rdx, str.sprvfex_getdirsize
mov ecx, 0
lea rbx, str.Could_not_handle_size.
mov dword [rbp + 0x210], ecx
mov rcx, rax
mov eax, dword [rbp + 0x210]
mov r8d, eax
mov r9, rbx
call fcn.14002d4d0
mov dword [rbp + 0x74], eax
mov rax, qword [rbp + 0xf0]
mov rdx, qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rax
call rdx
mov dword [rbp + 0x7c], eax
mov dword [rbp + 0x84], 1
mov eax, dword [rbp + 0x84]
mov dword [rbp], eax
mov eax, dword [rbp + 0x84]
mov dword [rbp + 0xc], eax
jmp 0x140002f7c
mov rax, qword [rbp + 0xf0]
lea rdx, [rbp + 0x8a8]
mov rcx, qword [sym.imp.KERNEL32.dll_FindNextFileA]
mov qword [rbp + 0x218], rcx
mov rcx, rax
mov rax, qword [rbp + 0x218]
call rax
mov dword [rbp + 0x68], eax
mov eax, dword [rbp + 0x68]
test eax, eax
jne 0x140002a3f
mov rax, qword [rbp + 0xf0]
mov rdx, qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rax
call rdx
mov dword [rbp + 0x80], eax
mov rax, qword [rbp + 0xd8]
test rax, rax
jne 0x140002d7b
mov dword [rbp], 0
jmp 0x140002e77
lea rax, [rbp + 0x36c]
mov edx, 0
mov ecx, 0x104
mov qword [rbp + 0x220], rcx
mov rcx, rax
mov rax, qword [rbp + 0x220]
mov r8, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x160], rax
lea rax, [rbp + 0x36c]
lea rdx, [0x1400afa9c]
mov rcx, qword [rbp + 0xd8]
mov qword [rbp + 0x228], rcx
mov rcx, rax
mov rax, qword [rbp + 0x228]
mov r8, rax
call fcn.1400012e0
mov dword [rbp + 0x94], eax
mov rax, qword [rbp + 0xd8]
mov rax, qword [rax + 0x108]
test rax, rax
jne 0x140002e21
mov rax, qword [rbp + 0xd8]
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0xe8]
mov rdx, qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rax
call rdx
mov qword [rbp + 0xd8], 0
jmp 0x140002e69
mov rax, qword [rbp + 0xd8]
mov rax, qword [rax + 0x108]
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0xd8]
mov qword [rax + 0x108], 0
mov rax, qword [rbp + 0xd8]
mov rdx, qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rax
call rdx
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0xd8], rax
mov eax, 0
cmp eax, 1
jne 0x1400029a0
mov rax, qword [rbp + 0xf0]
mov rdx, qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rax
call rdx
mov dword [rbp + 0x90], eax
lea rax, [rbp + 0x470]
mov edx, 0
mov ecx, 0x10e
mov qword [rbp + 0x230], rcx
mov rcx, rax
mov rax, qword [rbp + 0x230]
mov r8, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x170], rax
lea rax, [rbp + 0x470]
lea rdx, str._I64d
mov rcx, qword [rbp + 0xf8]
mov qword [rbp + 0x238], rcx
mov rcx, rax
mov rax, qword [rbp + 0x238]
mov r8, rax
call fcn.1400012e0
mov dword [rbp + 0x98], eax
mov rax, qword [rbp + 0xa00]
lea rdx, [rbp + 0x470]
mov rcx, rax
call fcn.140024a10
mov dword [rbp + 0x9c], eax
mov eax, dword [rbp + 0x9c]
test eax, eax
je 0x140002f7c
lea rax, str.sprvfex_getdirsize:_unable_to_write_val_n
mov rcx, rax
call fcn.140001114
mov dword [rbp + 0xa0], eax
mov eax, 1
mov dword [rbp + 0xa8], eax
mov rax, qword [rbp + 0x9e8]
mov qword [rbp + 0x9e8], 0
xor rax, rbp
mov rcx, rax
call fcn.1400aab50
mov eax, dword [rbp + 0xa8]
mov rbx, qword [rbp + 0x250]
mov rsi, qword [rbp + 0x258]
mov rdi, qword [rbp + 0x260]
lea rsp, [rbp + 0x9f0]
pop rbp
ret
mov eax, dword [rbp]
cmp eax, 1
jne 0x140002fe6
mov rax, qword [rbp + 0xd8]
test rax, rax
je 0x140002fe6
mov rax, qword [rbp + 0xd8]
test rax, rax
je 0x140002fe6
mov rax, qword [rbp + 0xd8]
mov rax, qword [rax + 0x108]
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0xd8]
mov qword [rax + 0x108], 0
mov rax, qword [rbp + 0xd8]
mov rdx, qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rax
call rdx
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0xd8], rax
jmp 0x140002f90
mov rax, qword [rbp + 0xa00]
mov edx, dword [rbp + 0xc]
mov rcx, rax
call fcn.14002483b
mov dword [rbp + 0x4c], eax
mov eax, dword [rbp + 0x4c]
test eax, eax
je 0x140003060
lea rax, str.sprvfex_getdirsize:_unable_to_wrap_vres_n
mov rcx, rax
call fcn.140001114
mov dword [rbp + 0x50], eax
mov eax, 1
mov dword [rbp + 0xac], eax
mov rax, qword [rbp + 0x9e8]
mov qword [rbp + 0x9e8], 0
xor rax, rbp
mov rcx, rax
call fcn.1400aab50
mov eax, dword [rbp + 0xac]
mov rbx, qword [rbp + 0x250]
mov rsi, qword [rbp + 0x258]
mov rdi, qword [rbp + 0x260]
lea rsp, [rbp + 0x9f0]
pop rbp
ret
lea rax, [rbp + 0x470]
mov edx, 0
mov ecx, 0x10e
mov qword [rbp + 0x240], rcx
mov rcx, rax
mov rax, qword [rbp + 0x240]
mov r8, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x148], rax
mov eax, dword [rbp]
test eax, eax
je 0x1400030a8
lea rax, str.failed
mov qword [rbp + 0x150], rax
jmp 0x1400030b6
lea rax, str.successful
mov qword [rbp + 0x150], rax
lea rax, [rbp + 0x470]
lea rdx, str.Exectask:_sprvfex_getdirsize__s.
mov rcx, qword [rbp + 0x150]
mov qword [rbp + 0x248], rcx
mov rcx, rax
mov rax, qword [rbp + 0x248]
mov r8, rax
call fcn.1400012e0
mov dword [rbp + 0x6c], eax
mov rax, qword [rbp + 0xa00]
lea rdx, [rbp + 0x470]
mov rcx, rax
call fcn.14002d658
mov dword [rbp + 0x78], eax
mov eax, dword [rbp + 0x78]
test eax, eax
je 0x140003168
lea rax, str.sprvfex_getdirsize:_unable_to_wrap_log_message_n
mov rcx, rax
call fcn.140001114
mov dword [rbp + 0x88], eax
mov eax, 1
mov dword [rbp + 0xb0], eax
mov rax, qword [rbp + 0x9e8]
mov qword [rbp + 0x9e8], 0
xor rax, rbp
mov rcx, rax
call fcn.1400aab50
mov eax, dword [rbp + 0xb0]
mov rbx, qword [rbp + 0x250]
mov rsi, qword [rbp + 0x258]
mov rdi, qword [rbp + 0x260]
lea rsp, [rbp + 0x9f0]
pop rbp
ret
mov eax, dword [rbp]
mov dword [rbp + 0xb4], eax
mov rax, qword [rbp + 0x9e8]
mov qword [rbp + 0x9e8], 0
xor rax, rbp
mov rcx, rax
call fcn.1400aab50
mov eax, dword [rbp + 0xb4]
mov rbx, qword [rbp + 0x250]
mov rsi, qword [rbp + 0x258]
mov rdi, qword [rbp + 0x260]
lea rsp, [rbp + 0x9f0]
pop rbp
ret