Function at 0x100038250
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 rbp, rdx
mov rbx, rcx
lea rcx, [rax + 0x18]
call fcn.100020360
nop
lea rcx, [rsp + 0x70]
call fcn.100055970
nop
lea rcx, [rsp + 0x28]
call fcn.10003cdb4
nop
lea rcx, [rsp + 0x1f0]
call fcn.100020360
nop
test rbx, rbx
jne 0x1000382df
lea rdx, [0x10000c360]
lea ecx, [rbx + 3]
call fcn.100054fd8
nop
lea rcx, [rsp + 0x1f0]
call fcn.10002006c
nop
lea rcx, [rsp + 0x28]
call fcn.10003ce68
nop
lea rcx, [rsp + 0x70]
call fcn.100055cd4
nop
lea edi, [rbx + 0x57]
jmp 0x100038567
mov eax, 0x7fff
mov rcx, rbx
cmp word [rcx], 0
je 0x1000382f7
add rcx, 2
sub rax, 1
jne 0x1000382e7
test rax, rax
jne 0x10003833a
lea rdx, [0x10000c3c0]
lea ecx, [rax + 3]
call fcn.100054fd8
nop
lea rcx, [rsp + 0x1f0]
call fcn.10002006c
nop
lea rcx, [rsp + 0x28]
call fcn.10003ce68
nop
lea rcx, [rsp + 0x70]
call fcn.100055cd4
nop
mov edi, 0xce
jmp 0x100038567
lea rax, [rsp + 0x208]
mov qword [rsp + 0x20], rax
mov rdx, rbx
lea rcx, [rsp + 0x208]
call fcn.100020428
nop
xor r8d, r8d
lea rdx, [rsp + 0x200]
mov rcx, rax
call fcn.100034be4
mov edi, eax
test eax, eax
je 0x1000383b1
mov r9, rbx
lea r8, [0x10000c410]
mov edx, eax
mov ecx, 3
call fcn.1000550a8
nop
lea rcx, [rsp + 0x1f0]
call fcn.10002006c
nop
lea rcx, [rsp + 0x28]
call fcn.10003ce68
nop
lea rcx, [rsp + 0x70]
call fcn.100055cd4
nop
jmp 0x100038567
mov rbx, qword [rsp + 0x200]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
jne 0x1000383d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1000383d9
shr edi, 3
and edi, 2
test edi, edi
je 0x10003841d
mov r9, rbx
lea r8, [0x10000c458]
mov edx, edi
mov ecx, 3
call fcn.1000550a8
nop
lea rcx, [rsp + 0x1f0]
call fcn.10002006c
nop
lea rcx, [rsp + 0x28]
call fcn.10003ce68
nop
lea rcx, [rsp + 0x70]
call fcn.100055cd4
nop
jmp 0x100038567
call fcn.1000338d4
test eax, eax
jne 0x100038464
lea rdx, [0x10000c8e0]
lea ecx, [rax + 3]
call fcn.100054fd8
nop
lea rcx, [rsp + 0x1f0]
call fcn.10002006c
nop
lea rcx, [rsp + 0x28]
call fcn.10003ce68
nop
lea rcx, [rsp + 0x70]
call fcn.100055cd4
nop
mov edi, 5
jmp 0x100038567
lea rax, [rsp + 0x208]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x208]
call fcn.100020390
nop
lea rdx, [rsp + 0x1f0]
mov rcx, rax
call fcn.10003bc38
test eax, eax
je 0x100038514
cmp eax, 0x34
jne 0x1000384d9
mov r9, qword [rsp + 0x1f0]
mov r8, rbx
lea rdx, [0x10000c590]
lea ecx, [rax - 0x33]
call fcn.100054fd8
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0x200]
call fcn.10001f050
mov rbx, qword [rsp + 0x200]
jmp 0x100038514
lea rcx, [rsp + 0x1f0]
call fcn.10002006c
nop
lea rcx, [rsp + 0x28]
call fcn.10003ce68
nop
lea rcx, [rsp + 0x70]
call fcn.100055cd4
nop
lea rcx, [rsp + 0x200]
call fcn.10002006c
mov eax, 0xe0000302
jmp 0x100038657
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x70]
call fcn.100055f34
mov edi, eax
test eax, eax
je 0x10003857b
mov r9, rbx
lea r8, [0x10000c150]
mov edx, eax
mov ecx, 3
call fcn.1000550a8
nop
lea rcx, [rsp + 0x1f0]
call fcn.10002006c
nop
lea rcx, [rsp + 0x28]
call fcn.10003ce68
nop
lea rcx, [rsp + 0x70]
call fcn.100055cd4
nop
lea rcx, [rsp + 0x200]
call fcn.10002006c
mov eax, edi
jmp 0x100038657
lea r9, [rsp + 0x28]
xor r8d, r8d
lea edx, [r8 + 3]
lea rcx, [rsp + 0x70]
call fcn.10005d374
mov esi, eax
cmp eax, 0xb7
jne 0x1000385d9
test rbp, rbp
jne 0x1000385aa
lea ecx, [rax - 0x60]
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1000385d2
mov r8, rbp
mov edx, 2
lea rcx, [rsp + 0x28]
call fcn.10003d2d8
test eax, eax
je 0x1000385d2
xor edi, edi
lea rdx, [0x10000c948]
xor ecx, ecx
call fcn.100054fd8
jmp 0x100038612
mov edi, 0x6e
jmp 0x100038612
mov edi, 0xe0000302
cmp eax, edi
jne 0x1000385fa
mov r9, rbx
lea r8, [0x10000c980]
mov edx, edi
mov ecx, 1
call fcn.1000550a8
jmp 0x100038612
mov r9, rbx
lea r8, [0x10000c180]
mov edx, eax
mov ecx, 3
call fcn.1000550a8
mov edi, esi
cmp dword [rsp + 0x50], 0
je 0x100038624
lea rcx, [rsp + 0x28]
call fcn.10003d1ac
nop
lea rcx, [rsp + 0x1f0]
call fcn.10002006c
nop
lea rcx, [rsp + 0x28]
call fcn.10003ce68
nop
lea rcx, [rsp + 0x70]
call fcn.100055cd4
nop
lea rcx, [rsp + 0x200]
call fcn.10002006c
mov eax, edi
mov rbx, qword [rsp + 0x1f8]
add rsp, 0x1d0
pop rdi
pop rsi
pop rbp
ret