Function at 0x100033814
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0x1d0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov esi, edx
mov rbx, rcx
lea rcx, [rax + 0x18]
call fcn.10001e06c
nop
lea rcx, [rsp + 0x70]
call fcn.10003845c
nop
lea rcx, [rsp + 0x28]
call fcn.10003df74
nop
lea rcx, [rsp + 0x1f0]
call fcn.10001e06c
nop
xor ebp, ebp
cmp rbx, rbp
jne 0x1000338a4
lea rdx, [0x10000bbf0]
lea ecx, [rbp + 3]
call fcn.100037e18
nop
lea rcx, [rsp + 0x1f0]
call fcn.10001f3ec
nop
lea rcx, [rsp + 0x28]
call fcn.10003dfc8
nop
lea rcx, [rsp + 0x70]
call fcn.10003861c
nop
lea edi, [rbp + 0x57]
jmp 0x100033c28
mov eax, 0x7fff
mov rcx, rbx
cmp word [rcx], bp
je 0x1000338bb
add rcx, 2
sub rax, 1
jne 0x1000338ac
cmp rax, rbp
jne 0x100033900
lea rdx, [0x10000bc50]
mov ecx, 3
call fcn.100037e18
nop
lea rcx, [rsp + 0x1f0]
call fcn.10001f3ec
nop
lea rcx, [rsp + 0x28]
call fcn.10003dfc8
nop
lea rcx, [rsp + 0x70]
call fcn.10003861c
nop
mov edi, 0xce
jmp 0x100033c28
lea rax, [rsp + 0x208]
mov qword [rsp + 0x20], rax
mov rdx, rbx
lea rcx, [rsp + 0x208]
call fcn.10001e134
nop
xor r8d, r8d
lea rdx, [rsp + 0x200]
mov rcx, rax
call fcn.10003171c
mov edi, eax
cmp eax, ebp
je 0x100033977
mov r9, rbx
lea r8, [0x10000bca0]
mov edx, eax
mov ecx, 3
call fcn.100037ee8
nop
lea rcx, [rsp + 0x1f0]
call fcn.10001f3ec
nop
lea rcx, [rsp + 0x28]
call fcn.10003dfc8
nop
lea rcx, [rsp + 0x70]
call fcn.10003861c
nop
jmp 0x100033c28
mov rbx, qword [rsp + 0x200]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
jne 0x100033999
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x10003399f
shr edi, 3
and edi, 2
cmp edi, ebp
je 0x1000339e3
mov r9, rbx
lea r8, [0x10000bce8]
mov edx, edi
mov ecx, 3
call fcn.100037ee8
nop
lea rcx, [rsp + 0x1f0]
call fcn.10001f3ec
nop
lea rcx, [rsp + 0x28]
call fcn.10003dfc8
nop
lea rcx, [rsp + 0x70]
call fcn.10003861c
nop
jmp 0x100033c28
test esi, 0xffffffe0
je 0x100033a2b
lea rdx, [0x10000bd18]
mov ecx, 3
call fcn.100037e18
nop
lea rcx, [rsp + 0x1f0]
call fcn.10001f3ec
nop
lea rcx, [rsp + 0x28]
call fcn.10003dfc8
nop
lea rcx, [rsp + 0x70]
call fcn.10003861c
nop
mov edi, 0x57
jmp 0x100033c28
call fcn.1000305b8
cmp eax, ebp
jne 0x100033a74
lea rdx, [0x10000bd40]
mov ecx, 3
call fcn.100037e18
nop
lea rcx, [rsp + 0x1f0]
call fcn.10001f3ec
nop
lea rcx, [rsp + 0x28]
call fcn.10003dfc8
nop
lea rcx, [rsp + 0x70]
call fcn.10003861c
nop
mov edi, 5
jmp 0x100033c28
lea rax, [rsp + 0x208]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x208]
call fcn.10001e09c
nop
lea rdx, [rsp + 0x1f0]
mov rcx, rax
call fcn.100037414
cmp eax, ebp
je 0x100033b6e
cmp eax, 0x34
jne 0x100033b33
test sil, 1
je 0x100033af8
lea rdx, [0x10000bda0]
lea ecx, [rax - 0x31]
call fcn.100037e18
nop
lea rcx, [rsp + 0x1f0]
call fcn.10001f3ec
nop
lea rcx, [rsp + 0x28]
call fcn.10003dfc8
nop
lea rcx, [rsp + 0x70]
call fcn.10003861c
nop
mov edi, 0x780
jmp 0x100033c28
mov r9, qword [rsp + 0x1f0]
mov r8, rbx
lea rdx, [0x10000be20]
mov ecx, 1
call fcn.100037e18
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0x200]
call fcn.10001e1c8
mov rbx, qword [rsp + 0x200]
jmp 0x100033b6e
lea rcx, [rsp + 0x1f0]
call fcn.10001f3ec
nop
lea rcx, [rsp + 0x28]
call fcn.10003dfc8
nop
lea rcx, [rsp + 0x70]
call fcn.10003861c
nop
lea rcx, [rsp + 0x200]
call fcn.10001f3ec
mov eax, 0x780
jmp 0x100033d51
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x70]
call fcn.1000386e0
mov edi, eax
cmp eax, ebp
je 0x100033bc3
mov r9, rbx
lea r8, [0x10000b9e0]
mov edx, eax
mov ecx, 3
call fcn.100037ee8
nop
lea rcx, [rsp + 0x1f0]
call fcn.10001f3ec
nop
lea rcx, [rsp + 0x28]
call fcn.10003dfc8
nop
lea rcx, [rsp + 0x70]
call fcn.10003861c
nop
jmp 0x100033c28
mov ebx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov eax, ebx
mov rcx, qword [rsp + 0x78]
cmp rcx, rbp
cmovne eax, dword [rsp + 0x1c8]
cmp eax, 6
je 0x100033c3c
cmp rcx, rbp
cmovne ebx, dword [rsp + 0x1c8]
mov r8d, ebx
lea rdx, [0x10000be90]
mov ecx, 3
call fcn.100037e18
nop
lea rcx, [rsp + 0x1f0]
call fcn.10001f3ec
nop
lea rcx, [rsp + 0x28]
call fcn.10003dfc8
nop
lea rcx, [rsp + 0x70]
call fcn.10003861c
nop
mov edi, 1
lea rcx, [rsp + 0x200]
call fcn.10001f3ec
mov eax, edi
jmp 0x100033d51
test sil, 2
je 0x100033c4d
xor ecx, ecx
call fcn.100045390
mov edi, eax
jmp 0x100033c59
mov ecx, 1
call fcn.100045390
mov edi, eax
test sil, 8
je 0x100033cb8
cmp qword [rsp + 0x78], rbp
cmovne ebx, dword [rsp + 0x1c8]
cmp ebx, 6
jne 0x100033caf
lea rax, [rsp + 0x208]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x208]
call fcn.10001e09c
nop
mov rcx, rax
call fcn.100045e1c
mov ebx, eax
cmp eax, 0x103
jne 0x100033cb4
test sil, 4
je 0x100033d16
mov ebx, ebp
jmp 0x100033cb4
mov ebx, 1
cmp ebx, ebp
jne 0x100033d16
test sil, 0x10
mov r8d, ebp
mov eax, 3
cmove r8d, eax
test sil, 1
je 0x100033ce4
lea r9, [rsp + 0x28]
lea edx, [rax + 3]
lea rcx, [rsp + 0x70]
call fcn.1000406c4
mov ebx, eax
jmp 0x100033cfa
lea r9, [rsp + 0x28]
mov edx, 4
lea rcx, [rsp + 0x70]
call fcn.1000406c4
mov ebx, eax
cmp ebx, ebp
je 0x100033d06
cmp ebx, 0xb7
jne 0x100033d16
cmp dword [rsp + 0x50], ebp
je 0x100033d16
lea rcx, [rsp + 0x28]
call fcn.10003e29c
mov ecx, edi
call fcn.100045390
nop
lea rcx, [rsp + 0x1f0]
call fcn.10001f3ec
nop
lea rcx, [rsp + 0x28]
call fcn.10003dfc8
nop
lea rcx, [rsp + 0x70]
call fcn.10003861c
nop
lea rcx, [rsp + 0x200]
call fcn.10001f3ec
mov eax, ebx
mov rbx, qword [rsp + 0x1f8]
add rsp, 0x1d0
pop rdi
pop rsi
pop rbp
ret