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

Disassembly:
mov rax, rsp
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x1d0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov esi, edx
mov rbx, rcx
lea rcx, [rax + 0x20]
call fcn.100020360
nop
lea rcx, [rsp + 0x200]
call fcn.100020360
nop
lea rcx, [rsp + 0x70]
call fcn.100055970
nop
lea rcx, [rsp + 0x30]
call fcn.10003cdb4
nop
lea rcx, [rsp + 0x210]
call fcn.100020360
nop
xor r12d, r12d
test rbx, rbx
jne 0x100037b6c
lea rdx, [0x10000c360]
lea ecx, [rbx + 3]
call fcn.100054fd8
nop
lea rcx, [rsp + 0x210]
call fcn.10002006c
nop
lea rcx, [rsp + 0x30]
call fcn.10003ce68
nop
lea rcx, [rsp + 0x70]
call fcn.100055cd4
nop
lea rcx, [rsp + 0x200]
call fcn.10002006c
nop
lea edi, [rbx + 0x57]
jmp 0x1000380ea
mov eax, 0x7fff
mov rcx, rbx
cmp word [rcx], r12w
je 0x100037b84
add rcx, 2
sub rax, 1
jne 0x100037b74
test rax, rax
jne 0x100037bd5
lea rdx, [0x10000c3c0]
lea ecx, [rax + 3]
call fcn.100054fd8
nop
lea rcx, [rsp + 0x210]
call fcn.10002006c
nop
lea rcx, [rsp + 0x30]
call fcn.10003ce68
nop
lea rcx, [rsp + 0x70]
call fcn.100055cd4
nop
lea rcx, [rsp + 0x200]
call fcn.10002006c
nop
mov edi, 0xce
jmp 0x1000380ea
lea rax, [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.100020428
nop
xor r8d, r8d
lea rdx, [rsp + 0x218]
mov rcx, rax
call fcn.100034be4
mov edi, eax
test eax, eax
je 0x100037c54
mov r9, rbx
lea r8, [0x10000c410]
mov edx, eax
mov ecx, 3
call fcn.1000550a8
nop
lea rcx, [rsp + 0x210]
call fcn.10002006c
nop
lea rcx, [rsp + 0x30]
call fcn.10003ce68
nop
lea rcx, [rsp + 0x70]
call fcn.100055cd4
nop
lea rcx, [rsp + 0x200]
call fcn.10002006c
nop
jmp 0x1000380ea
mov rbx, qword [rsp + 0x218]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
jne 0x100037c76
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x100037c7c
shr edi, 3
and edi, 2
test edi, edi
je 0x100037cce
mov r9, rbx
lea r8, [0x10000c458]
mov edx, edi
mov ecx, 3
call fcn.1000550a8
nop
lea rcx, [rsp + 0x210]
call fcn.10002006c
nop
lea rcx, [rsp + 0x30]
call fcn.10003ce68
nop
lea rcx, [rsp + 0x70]
call fcn.100055cd4
nop
lea rcx, [rsp + 0x200]
call fcn.10002006c
nop
jmp 0x1000380ea
test esi, 0xffffffe0
je 0x100037d24
lea rdx, [0x10000c488]
mov ecx, 3
call fcn.100054fd8
nop
lea rcx, [rsp + 0x210]
call fcn.10002006c
nop
lea rcx, [rsp + 0x30]
call fcn.10003ce68
nop
lea rcx, [rsp + 0x70]
call fcn.100055cd4
nop
lea rcx, [rsp + 0x200]
call fcn.10002006c
nop
mov edi, 0x57
jmp 0x1000380ea
call fcn.1000338d4
test eax, eax
jne 0x100037d79
lea rdx, [0x10000c4b0]
lea ecx, [rax + 3]
call fcn.100054fd8
nop
lea rcx, [rsp + 0x210]
call fcn.10002006c
nop
lea rcx, [rsp + 0x30]
call fcn.10003ce68
nop
lea rcx, [rsp + 0x70]
call fcn.100055cd4
nop
lea rcx, [rsp + 0x200]
call fcn.10002006c
nop
mov edi, 5
jmp 0x1000380ea
test sil, 1
je 0x100037d8a
mov r12d, 0x10
jmp 0x100037e0a
lea rax, [rsp + 0x20]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x218]
lea rcx, [rsp + 0x20]
call fcn.100020390
nop
lea rdx, [rsp + 0x200]
mov rcx, rax
call fcn.100063bf8
test eax, eax
jne 0x100037e0a
mov r8, rbx
lea rdx, [0x10000c680]
lea ecx, [rax + 1]
call fcn.100054fd8
nop
lea rcx, [rsp + 0x210]
call fcn.10002006c
nop
lea rcx, [rsp + 0x30]
call fcn.10003ce68
nop
lea rcx, [rsp + 0x70]
call fcn.100055cd4
nop
lea rcx, [rsp + 0x200]
call fcn.10002006c
nop
mov edi, 0xb7
jmp 0x1000380ea
lea rcx, [rsp + 0x218]
call fcn.100035e20
test eax, eax
je 0x100037e69
lea rdx, [0x10000c510]
mov ecx, 3
call fcn.100054fd8
nop
lea rcx, [rsp + 0x210]
call fcn.10002006c
nop
lea rcx, [rsp + 0x30]
call fcn.10003ce68
nop
lea rcx, [rsp + 0x70]
call fcn.100055cd4
nop
lea rcx, [rsp + 0x200]
call fcn.10002006c
nop
mov edi, 0x780
jmp 0x1000380ea
lea rdx, [rsp + 0x218]
lea rcx, [rsp + 0x70]
call fcn.100055f34
mov edi, eax
test eax, eax
je 0x100037ecf
mov r9, rbx
lea r8, [0x10000c150]
mov edx, eax
mov ecx, 3
call fcn.1000550a8
nop
lea rcx, [rsp + 0x210]
call fcn.10002006c
nop
lea rcx, [rsp + 0x30]
call fcn.10003ce68
nop
lea rcx, [rsp + 0x70]
call fcn.100055cd4
nop
lea rcx, [rsp + 0x200]
call fcn.10002006c
nop
jmp 0x1000380ea
mov ebp, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov edi, ebp
cmp qword [rsp + 0x78], 0
cmovne edi, dword [rsp + 0x1c8]
lea rcx, [rsp + 0x70]
call fcn.100055c98
cmp edi, 6
je 0x100037f52
cmp qword [rsp + 0x78], 0
cmovne ebp, dword [rsp + 0x1c8]
mov r8d, ebp
lea rdx, [0x10000c600]
mov ecx, 3
call fcn.100054fd8
nop
lea rcx, [rsp + 0x210]
call fcn.10002006c
nop
lea rcx, [rsp + 0x30]
call fcn.10003ce68
nop
lea rcx, [rsp + 0x70]
call fcn.100055cd4
nop
lea rcx, [rsp + 0x200]
call fcn.10002006c
nop
mov edi, 1
jmp 0x1000380ea
test sil, 2
je 0x100037f63
xor ecx, ecx
call fcn.1000634e0
mov ebp, eax
jmp 0x100037f6f
mov ecx, 1
call fcn.1000634e0
mov ebp, eax
test sil, 8
je 0x100037fb7
lea rax, [rsp + 0x20]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x218]
lea rcx, [rsp + 0x20]
call fcn.100020390
nop
mov rcx, rax
call fcn.100050360
mov edi, eax
cmp eax, 0x103
jne 0x100037faf
test sil, 4
je 0x1000380b0
xor edi, edi
test edi, edi
jne 0x1000380b0
lea rax, [rsp + 0x20]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x218]
lea rcx, [rsp + 0x20]
call fcn.100020390
nop
lea r8, [rsp + 0x200]
mov edx, r12d
mov rcx, rax
call fcn.100063ce8
mov edi, eax
test eax, eax
jne 0x10003805c
mov rbx, qword [rsp + 0x200]
mov rcx, rbx
call fcn.10003c6a8
mov edi, eax
test eax, eax
je 0x1000380b0
mov r9, rbx
lea r8, [0x10000c6e0]
mov edx, eax
mov ecx, 3
call fcn.1000550a8
lea r11, [rsp + 0x20]
mov qword [rsp + 0x28], r11
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x20]
call fcn.100020390
nop
mov rcx, rax
call fcn.100063e58
test eax, eax
je 0x1000380b0
mov r8, rbx
lea rdx, [0x10000c730]
mov ecx, 3
call fcn.100054fd8
jmp 0x1000380b0
mov edx, 0x800b0110
cmp eax, edx
jne 0x100038078
lea r8, [0x10000c790]
mov ecx, 3
call fcn.1000550a8
jmp 0x1000380b0
mov edx, 0x800b0100
cmp eax, edx
jne 0x100038094
lea r8, [0x10000c7f0]
mov ecx, 3
call fcn.1000550a8
jmp 0x1000380b0
cmp eax, 2
jne 0x1000380b0
mov edi, 0xe0000303
mov r8, rbx
lea rdx, [0x10000c850]
lea ecx, [rax + 1]
call fcn.100054fd8
mov ecx, ebp
call fcn.1000634e0
nop
lea rcx, [rsp + 0x210]
call fcn.10002006c
nop
lea rcx, [rsp + 0x30]
call fcn.10003ce68
nop
lea rcx, [rsp + 0x70]
call fcn.100055cd4
nop
lea rcx, [rsp + 0x200]
call fcn.10002006c
nop
lea rcx, [rsp + 0x218]
call fcn.10002006c
mov eax, edi
add rsp, 0x1d0
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret