Function at 0x401cd0
Capabilities:
Get file attributes

Disassembly:
push rbp
sub rsp, 0x2c0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x78], r8
mov qword [rbp + 0x80], rdx
mov qword [rbp + 0x88], rcx
mov qword [rbp + 0x90], rcx
mov qword [rbp + 0x98], r8
mov rcx, qword [rbp + 0x78]
mov rax, qword [rcx + 0x408]
cmp rax, qword [rcx + 0x410]
jae 0x401d51
jmp 0x401dfe
jmp 0x401d00
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x130], rax
mov rcx, qword [rbp + 0x130]
add rcx, 8
mov qword [rbp + 0x68], rcx
mov rax, qword [rax + 0x408]
mov qword [rbp + 0x70], rax
cmp rax, 0x400
jb 0x401fbc
jmp 0x401fbe
lea rcx, [rbp + 0xa0]
mov edx, 0xaa
mov r8d, 0x10
call fcn.004adff0
lea rax, [rbp + 0xa0]
mov qword [rbp + 0xb0], 0x4d430001
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0xc0], 0x10
mov qword [rbp + 0xc8], 0
mov qword [rbp + 0xd0], 0
mov qword [rbp + 0xd8], 0
lea rax, [rbp + 0xb0]
xor ecx, ecx
mov edx, ecx
rol rdi, 3
rol rdi, 0xd
rol rdi, 0x3d
rol rdi, 0x33
xchg rbx, rbx
mov rax, qword [rbp + 0x78]
mov rcx, qword [rax]
mov qword [rbp + 0x58], rcx
mov qword [rbp + 0xe0], rax
mov rcx, qword [rbp + 0xe0]
add rcx, 8
mov qword [rbp + 0x60], rcx
test byte [rax + 0x418], 1
jne 0x401e89
jmp 0x401e93
jmp 0x401d1b
mov r10, qword [rbp + 0x60]
mov rcx, qword [rbp + 0x58]
mov al, byte [rbp + 0x53]
xor edx, edx
mov r9d, edx
lea r11, [rbp + 0xa0]
xor edx, edx
mov rdx, r9
mov r8, r9
mov qword [rsp + 0x20], r11
mov qword [rsp + 0x28], r10
mov dword [rsp + 0x30], 0x400
mov dword [rsp + 0x38], 3
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov byte [rsp + 0x50], al
call sub.ntdll.dll_NtQueryDirectoryFile
mov ecx, eax
mov rax, qword [rbp + 0x78]
mov dword [rbp + 0x54], ecx
mov dword [rbp + 0xec], ecx
mov qword [rbp + 0xf0], rax
mov rax, qword [rbp + 0xf0]
mov byte [rax + 0x418], 0
cmp qword [rbp + 0xa8], 0
je 0x401eef
jmp 0x401f18
mov al, 1
mov byte [rbp + 0x53], al
jmp 0x401e03
xor eax, eax
mov byte [rbp + 0x53], al
jmp 0x401e03
mov eax, dword [rbp + 0x54]
mov rcx, qword [rbp + 0x78]
mov qword [rbp + 0xf8], rcx
mov rdx, qword [rbp + 0xf8]
mov qword [rdx + 0x408], 0
mov qword [rbp + 0x100], rcx
mov rcx, qword [rbp + 0x100]
mov rdx, qword [rbp + 0xa8]
mov qword [rcx + 0x410], rdx
sub eax, 0xc0000022
je 0x401f6c
jmp 0x401ee6
mov eax, dword [rbp + 0x54]
test eax, eax
je 0x401f6a
jmp 0x401f1f
mov rcx, qword [rbp + 0x88]
lea rdx, [0x004b2d90]
mov r8d, 0x28
call fcn.004adbd0
mov rax, qword [rbp + 0x90]
add rsp, 0x2c0
pop rbp
ret
jmp 0x401e9d
jmp 0x401d1b
mov rcx, qword [rbp + 0x80]
mov edx, dword [rbp + 0x54]
call fcn.0040cfa0
mov rcx, qword [rbp + 0x80]
mov word [rbp + 0x128], ax
call fcn.00402580
mov rcx, qword [rbp + 0x88]
lea rdx, [rbp + 0x108]
mov r8d, 0x28
call fcn.004adbd0
mov rax, qword [rbp + 0x90]
add rsp, 0x2c0
pop rbp
ret
jmp 0x401f1a
mov rcx, qword [rbp + 0x80]
call fcn.00402580
mov rcx, qword [rbp + 0x88]
lea rdx, [0x004b2db8]
mov r8d, 0x28
call fcn.004adbd0
mov rax, qword [rbp + 0x90]
add rsp, 0x2c0
pop rbp
ret
mov rcx, qword [rbp + 0x70]
mov rax, qword [rbp + 0x68]
add rax, rcx
mov qword [rbp + 0x48], rax
and rax, 1
cmp rax, 0
je 0x401fe8
jmp 0x401fea
jmp 0x401fa1
mov rcx, qword [rbp + 0x70]
mov edx, 0x400
call fcn.00401c90
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x138], rax
mov qword [rbp + 0x140], rax
cmp dword [rax], 0
jne 0x402045
jmp 0x402080
jmp 0x401fcc
lea rcx, [0x004b2938]
mov edx, 0x13
xor eax, eax
mov r8d, eax
lea r9, [0x004b2de0]
call fcn.00401c10
mov rax, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x138]
add rcx, 0x5e
mov qword [rbp + 0x158], rcx
mov eax, dword [rax + 0x3c]
shr eax, 1
mov rcx, qword [rbp + 0x158]
mov qword [rbp + 0x38], rcx
mov eax, eax
mov ecx, eax
mov qword [rbp + 0x40], rcx
xor eax, eax
cmp rax, rcx
jbe 0x4020dc
jmp 0x4020de
mov rcx, qword [rbp + 0x48]
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x148], rax
mov rax, qword [rbp + 0x148]
mov rdx, rax
add rdx, 0x408
mov qword [rbp + 0x28], rdx
mov rax, qword [rax + 0x408]
mov ecx, dword [rcx]
add rax, rcx
mov qword [rbp + 0x30], rax
setb al
jb 0x4020a2
jmp 0x4020bf
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x150], rax
mov rax, qword [rbp + 0x150]
mov qword [rax + 0x408], 0x400
jmp 0x402007
lea rcx, str.integer_overflow
mov edx, 0x10
xor eax, eax
mov r8d, eax
lea r9, [0x004b26f0]
call fcn.00401c10
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x30]
mov qword [rax], rcx
jmp 0x402007
mov rcx, qword [rbp + 0x40]
xor eax, eax
cmp rax, rcx
jbe 0x402143
jmp 0x402145
jmp 0x4020cf
mov rdx, qword [rbp + 0x40]
xor eax, eax
mov ecx, eax
call fcn.00402c40
mov rax, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x40]
mov rdx, rcx
mov qword [rbp + 0x18], rdx
mov rdx, rax
mov qword [rbp + 0x20], rdx
mov qword [rbp + 0x168], rcx
mov qword [rbp + 0x160], rax
mov qword [rbp + 0x178], rcx
mov qword [rbp + 0x170], rax
mov rcx, qword [rbp + 0x170]
mov rdx, qword [rbp + 0x178]
lea r8, [0x004b2df0]
mov r9d, 1
call fcn.0040cff0
test al, 1
jne 0x40217c
jmp 0x402183
jmp 0x4020eb
mov rdx, qword [rbp + 0x40]
xor eax, eax
mov ecx, eax
call fcn.00401c90
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x190], rax
mov rax, qword [rbp + 0x190]
add rax, 0x419
mov qword [rbp + 0x10], rax
jmp 0x40222a
mov al, byte [rbp + 0xf]
test al, 1
jne 0x4021be
jmp 0x4021c3
mov al, 1
mov byte [rbp + 0xf], al
jmp 0x402173
mov rax, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x20]
mov qword [rbp + 0x180], rcx
mov qword [rbp + 0x188], rax
mov rcx, qword [rbp + 0x180]
mov rdx, qword [rbp + 0x188]
lea r8, [0x004b2df2]
mov r9d, 2
call fcn.0040cff0
mov byte [rbp + 0xf], al
jmp 0x402173
jmp 0x401d19
jmp 0x402152
mov rax, qword [rbp + 0x18]
mov r8, qword [rbp + 0x20]
mov rcx, qword [rbp + 0x10]
mov edx, 0x2fd
mov qword [rbp + 0x198], r8
mov qword [rbp + 0x1a0], rax
mov r8, qword [rbp + 0x198]
mov r9, qword [rbp + 0x1a0]
call fcn.0040d090
mov rcx, rax
mov rax, qword [rbp + 0x78]
mov qword [rbp - 8], rcx
mov qword [rbp + 0x1a8], rcx
mov qword [rbp + 0x1b0], rax
mov rax, qword [rbp + 0x1b0]
add rax, 0x419
mov qword [rbp], rax
xor eax, eax
cmp rax, rcx
jbe 0x402247
jmp 0x402249
jmp 0x4021c5
mov rax, qword [rbp - 8]
cmp rax, 0x2fd
jbe 0x402263
jmp 0x402265
jmp 0x402239
mov rdx, qword [rbp - 8]
xor eax, eax
mov ecx, eax
call fcn.00402c40
mov rcx, qword [rbp - 8]
xor eax, eax
cmp rax, rcx
jbe 0x4022b8
jmp 0x4022ba
jmp 0x402256
mov rcx, qword [rbp - 8]
mov edx, 0x2fd
call fcn.00401c90
mov rax, qword [rbp + 0x48]
mov rcx, qword [rbp]
mov rdx, qword [rbp - 8]
mov r8, rdx
mov qword [rbp - 0x20], r8
mov r8, rcx
mov qword [rbp - 0x18], r8
mov qword [rbp + 0x1c0], rdx
mov qword [rbp + 0x1b8], rcx
mov eax, dword [rax + 0x38]
mov dword [rbp - 0xc], eax
mov dword [rbp + 0x1c8], eax
and eax, 0x10
cmp eax, 0
jne 0x4023b4
jmp 0x4023be
jmp 0x402273
mov rdx, qword [rbp - 8]
xor eax, eax
mov ecx, eax
call fcn.00401c90
mov rcx, qword [rbp + 0x88]
mov rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 0x20]
mov al, byte [rbp - 0x21]
and al, 0xf
mov byte [rbp + 0x1cf], al
mov qword [rbp + 0x1d8], r8
mov qword [rbp + 0x1d0], rdx
mov rdx, qword [rbp + 0x1d0]
mov r8, qword [rbp + 0x1d8]
mov qword [rbp + 0x1e8], r8
mov qword [rbp + 0x1e0], rdx
mov byte [rbp + 0x1f0], al
mov rax, qword [rbp + 0x1e0]
mov qword [rbp + 0x1f8], rax
mov rax, qword [rbp + 0x1e8]
mov qword [rbp + 0x200], rax
mov rax, qword [rbp + 0x1f0]
mov qword [rbp + 0x208], rax
mov byte [rbp + 0x210], 1
mov word [rbp + 0x238], 0
mov rax, qword [rbp + 0x1f8]
mov qword [rbp + 0x218], rax
mov rax, qword [rbp + 0x200]
mov qword [rbp + 0x220], rax
mov rax, qword [rbp + 0x208]
mov qword [rbp + 0x228], rax
mov rax, qword [rbp + 0x210]
mov qword [rbp + 0x230], rax
lea rdx, [rbp + 0x218]
mov r8d, 0x28
call fcn.004adbd0
mov rax, qword [rbp + 0x90]
add rsp, 0x2c0
pop rbp
ret
mov eax, dword [rbp - 0xc]
and eax, 0x400
cmp eax, 0
jne 0x4023ca
jmp 0x4023d4
mov al, 2
mov byte [rbp - 0x21], al
jmp 0x4022c7
jmp 0x4023a5
mov al, 5
mov byte [rbp - 0x21], al
jmp 0x4022c7
mov al, 4
mov byte [rbp - 0x21], al
jmp 0x4022c7
jmp 0x4023c0