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

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x1d0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov esi, edx
mov rbx, rcx
lea rcx, [rax + 0x20]
call fcn.10001e06c
nop
lea rcx, [rsp + 0x200]
call fcn.10001e06c
nop
lea rcx, [rsp + 0x70]
call fcn.10003845c
nop
lea rcx, [rsp + 0x30]
call fcn.10003df74
nop
lea rcx, [rsp + 0x210]
call fcn.10001e06c
nop
xor r13d, r13d
mov r12d, r13d
cmp rbx, r13
jne 0x100033e22
lea rdx, [0x10000bbf0]
lea ecx, [r13 + 3]
call fcn.100037e18
nop
lea rcx, [rsp + 0x210]
call fcn.10001f3ec
nop
lea rcx, [rsp + 0x30]
call fcn.10003dfc8
nop
lea rcx, [rsp + 0x70]
call fcn.10003861c
nop
lea rcx, [rsp + 0x200]
call fcn.10001f3ec
nop
lea edi, [r13 + 0x57]
jmp 0x1000343af
mov eax, 0x7fff
mov rcx, rbx
cmp word [rcx], r13w
je 0x100033e3a
add rcx, 2
sub rax, 1
jne 0x100033e2a
cmp rax, r13
jne 0x100033e8d
lea rdx, [0x10000bc50]
mov ecx, 3
call fcn.100037e18
nop
lea rcx, [rsp + 0x210]
call fcn.10001f3ec
nop
lea rcx, [rsp + 0x30]
call fcn.10003dfc8
nop
lea rcx, [rsp + 0x70]
call fcn.10003861c
nop
lea rcx, [rsp + 0x200]
call fcn.10001f3ec
nop
mov edi, 0xce
jmp 0x1000343af
lea rax, [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.10001e134
nop
xor r8d, r8d
lea rdx, [rsp + 0x218]
mov rcx, rax
call fcn.10003171c
mov edi, eax
cmp eax, r13d
je 0x100033f0d
mov r9, rbx
lea r8, [0x10000bca0]
mov edx, eax
mov ecx, 3
call fcn.100037ee8
nop
lea rcx, [rsp + 0x210]
call fcn.10001f3ec
nop
lea rcx, [rsp + 0x30]
call fcn.10003dfc8
nop
lea rcx, [rsp + 0x70]
call fcn.10003861c
nop
lea rcx, [rsp + 0x200]
call fcn.10001f3ec
nop
jmp 0x1000343af
mov rbx, qword [rsp + 0x218]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
jne 0x100033f2f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x100033f35
shr edi, 3
and edi, 2
cmp edi, r13d
je 0x100033f88
mov r9, rbx
lea r8, [0x10000bce8]
mov edx, edi
mov ecx, 3
call fcn.100037ee8
nop
lea rcx, [rsp + 0x210]
call fcn.10001f3ec
nop
lea rcx, [rsp + 0x30]
call fcn.10003dfc8
nop
lea rcx, [rsp + 0x70]
call fcn.10003861c
nop
lea rcx, [rsp + 0x200]
call fcn.10001f3ec
nop
jmp 0x1000343af
test esi, 0xffffffe0
je 0x100033fde
lea rdx, [0x10000bd18]
mov ecx, 3
call fcn.100037e18
nop
lea rcx, [rsp + 0x210]
call fcn.10001f3ec
nop
lea rcx, [rsp + 0x30]
call fcn.10003dfc8
nop
lea rcx, [rsp + 0x70]
call fcn.10003861c
nop
lea rcx, [rsp + 0x200]
call fcn.10001f3ec
nop
mov edi, 0x57
jmp 0x1000343af
call fcn.1000305b8
cmp eax, r13d
jne 0x100034036
lea rdx, [0x10000bd40]
mov ecx, 3
call fcn.100037e18
nop
lea rcx, [rsp + 0x210]
call fcn.10001f3ec
nop
lea rcx, [rsp + 0x30]
call fcn.10003dfc8
nop
lea rcx, [rsp + 0x70]
call fcn.10003861c
nop
lea rcx, [rsp + 0x200]
call fcn.10001f3ec
nop
mov edi, 5
jmp 0x1000343af
test sil, 1
je 0x100034047
mov r12d, 0x10
jmp 0x1000340ca
lea rax, [rsp + 0x20]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x218]
lea rcx, [rsp + 0x20]
call fcn.10001e09c
nop
lea rdx, [rsp + 0x200]
mov rcx, rax
call fcn.1000459a0
cmp eax, r13d
jne 0x1000340ca
mov r8, rbx
lea rdx, [0x10000bf10]
mov ecx, 1
call fcn.100037e18
nop
lea rcx, [rsp + 0x210]
call fcn.10001f3ec
nop
lea rcx, [rsp + 0x30]
call fcn.10003dfc8
nop
lea rcx, [rsp + 0x70]
call fcn.10003861c
nop
lea rcx, [rsp + 0x200]
call fcn.10001f3ec
nop
mov edi, 0xb7
jmp 0x1000343af
lea rcx, [rsp + 0x218]
call fcn.1000326d4
cmp eax, r13d
je 0x10003412a
lea rdx, [0x10000bda0]
mov ecx, 3
call fcn.100037e18
nop
lea rcx, [rsp + 0x210]
call fcn.10001f3ec
nop
lea rcx, [rsp + 0x30]
call fcn.10003dfc8
nop
lea rcx, [rsp + 0x70]
call fcn.10003861c
nop
lea rcx, [rsp + 0x200]
call fcn.10001f3ec
nop
mov edi, 0x780
jmp 0x1000343af
lea rdx, [rsp + 0x218]
lea rcx, [rsp + 0x70]
call fcn.1000386e0
mov edi, eax
cmp eax, r13d
je 0x100034191
mov r9, rbx
lea r8, [0x10000b9e0]
mov edx, eax
mov ecx, 3
call fcn.100037ee8
nop
lea rcx, [rsp + 0x210]
call fcn.10001f3ec
nop
lea rcx, [rsp + 0x30]
call fcn.10003dfc8
nop
lea rcx, [rsp + 0x70]
call fcn.10003861c
nop
lea rcx, [rsp + 0x200]
call fcn.10001f3ec
nop
jmp 0x1000343af
mov ebp, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov edi, ebp
cmp qword [rsp + 0x78], r13
cmovne edi, dword [rsp + 0x1c8]
lea rcx, [rsp + 0x70]
call fcn.1000385e0
cmp edi, 6
je 0x100034212
cmp qword [rsp + 0x78], r13
cmovne ebp, dword [rsp + 0x1c8]
mov r8d, ebp
lea rdx, [0x10000be90]
mov ecx, 3
call fcn.100037e18
nop
lea rcx, [rsp + 0x210]
call fcn.10001f3ec
nop
lea rcx, [rsp + 0x30]
call fcn.10003dfc8
nop
lea rcx, [rsp + 0x70]
call fcn.10003861c
nop
lea rcx, [rsp + 0x200]
call fcn.10001f3ec
nop
mov edi, 1
jmp 0x1000343af
test sil, 2
je 0x100034223
xor ecx, ecx
call fcn.100045390
mov ebp, eax
jmp 0x10003422f
mov ecx, 1
call fcn.100045390
mov ebp, eax
test sil, 8
je 0x100034279
lea rax, [rsp + 0x20]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x218]
lea rcx, [rsp + 0x20]
call fcn.10001e09c
nop
mov rcx, rax
call fcn.100045e1c
mov edi, eax
cmp eax, 0x103
jne 0x100034270
test sil, 4
je 0x100034375
mov edi, r13d
cmp edi, r13d
jne 0x100034375
lea rax, [rsp + 0x20]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x218]
lea rcx, [rsp + 0x20]
call fcn.10001e09c
nop
lea r8, [rsp + 0x200]
mov edx, r12d
mov rcx, rax
call fcn.100045a30
mov edi, eax
cmp eax, r13d
jne 0x100034321
mov rbx, qword [rsp + 0x200]
mov rcx, rbx
call fcn.100037b84
mov edi, eax
cmp eax, r13d
je 0x100034375
mov r9, rbx
lea r8, [0x10000bf70]
mov edx, eax
mov ecx, 3
call fcn.100037ee8
lea r11, [rsp + 0x20]
mov qword [rsp + 0x28], r11
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x20]
call fcn.10001e09c
nop
mov rcx, rax
call fcn.100045b78
cmp eax, r13d
je 0x100034375
mov r8, rbx
lea rdx, [0x10000bfc0]
mov ecx, 3
call fcn.100037e18
jmp 0x100034375
mov edx, 0x800b0110
cmp eax, edx
jne 0x10003433d
lea r8, [0x10000c020]
mov ecx, 3
call fcn.100037ee8
jmp 0x100034375
mov edx, 0x800b0100
cmp eax, edx
jne 0x100034359
lea r8, [0x10000c080]
mov ecx, 3
call fcn.100037ee8
jmp 0x100034375
cmp eax, 2
jne 0x100034375
mov edi, 0xe0000303
mov r8, rbx
lea rdx, [0x10000c0e0]
lea ecx, [rax + 1]
call fcn.100037e18
mov ecx, ebp
call fcn.100045390
nop
lea rcx, [rsp + 0x210]
call fcn.10001f3ec
nop
lea rcx, [rsp + 0x30]
call fcn.10003dfc8
nop
lea rcx, [rsp + 0x70]
call fcn.10003861c
nop
lea rcx, [rsp + 0x200]
call fcn.10001f3ec
nop
lea rcx, [rsp + 0x218]
call fcn.10001f3ec
mov eax, edi
mov rbx, qword [rsp + 0x208]
add rsp, 0x1d0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret