Function at 0x10013ad0
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10035196
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x440
mov eax, dword [0x10048040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x44c], edi
mov eax, dword [ebx + 8]
push 0x208
mov dword [ebp - 0x450], eax
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.1001c960
add esp, 8
lea ecx, [edi + 0xc]
lea edx, [ebp - 0x220]
call fcn.10012fd0
add esp, 4
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xfffffff
jb 0x10013b67
mov eax, 0x80004005
jmp 0x10013e44
mov dword [ebp - 0x434], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x434]
push eax
push 0x10043c28
push 1
push 0
push 0x10036290
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x10013e21
mov dword [ebp - 0x430], 0
mov eax, dword [ebp - 0x434]
mov ecx, dword [eax]
lea edx, [ebp - 0x430]
mov byte [ebp - 4], 3
push edx
push 0x10043c50
push eax
call dword [ecx]
mov esi, eax
mov byte [ebp - 4], 2
test esi, esi
js 0x10013e03
mov eax, dword [ebp - 0x430]
lea edx, [ebp - 0x220]
push 2
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov esi, eax
test esi, esi
js 0x10013e03
mov dword [ebp - 0x42c], 0
mov eax, dword [ebp - 0x434]
mov ecx, dword [eax]
lea edx, [ebp - 0x42c]
mov byte [ebp - 4], 6
push edx
push 0x10043cac
push eax
call dword [ecx]
mov esi, eax
mov byte [ebp - 4], 5
test esi, esi
js 0x10013de5
mov eax, dword [ebp - 0x42c]
lea edx, [ebp - 0x448]
push edx
push 0x1003627c
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov esi, eax
test esi, esi
js 0x10013de5
push 0x104
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x448]
push eax
call dword [0x10050480]
mov esi, eax
mov eax, dword [ebp - 0x450]
mov byte [eax], 0
test esi, esi
js 0x10013cd2
lea ecx, [ebp - 0x428]
add edi, 0x24
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10013c80
sub ecx, edx
mov edx, dword [edi + 0x10]
sar ecx, 1
cmp dword [edi + 0x14], 7
jbe 0x10013c9a
mov edi, dword [edi]
cmp edx, ecx
jne 0x10013cc6
test edx, edx
je 0x10013dd8
lea ecx, [ebp - 0x428]
mov eax, ecx
sub edi, eax
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x10013cc6
add ecx, 2
sub edx, 1
jne 0x10013cb0
jmp 0x10013dd8
mov eax, dword [ebp - 0x450]
mov edi, dword [ebp - 0x44c]
cmp dword [edi + 8], 2
jne 0x10013dd3
mov byte [eax], 1
lea eax, [ebp - 0x448]
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
add edi, 0x24
cmp dword [edi + 0x14], 7
jbe 0x10013cf7
mov edi, dword [edi]
xor eax, eax
mov esi, 0x80070057
test edi, edi
cmovne esi, eax
je 0x10013d6a
mov ecx, edi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10013d10
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
mov dword [ebp - 0x44c], eax
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov ecx, eax
mov esi, 0x8007000e
xor eax, eax
mov dword [ebp - 0x440], ecx
test ecx, ecx
cmovne esi, eax
je 0x10013d6a
mov eax, dword [ebp - 0x44c]
test eax, eax
je 0x10013d5e
push eax
push edi
push ecx
call fcn.1001c3e0
add esp, 0xc
mov eax, 0x1f
mov word [ebp - 0x448], ax
test esi, esi
jns 0x10013d7a
xorps xmm0, xmm0
movups xmmword [ebp - 0x448], xmm0
jmp 0x10013dd8
mov eax, dword [ebp - 0x42c]
lea edx, [ebp - 0x448]
push edx
push 0x1003627c
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
test esi, esi
js 0x10013dd8
mov eax, dword [ebp - 0x42c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
js 0x10013dd8
mov eax, dword [ebp - 0x430]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
test eax, eax
js 0x10013dd8
mov eax, dword [ebp - 0x430]
lea edx, [ebp - 0x220]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
jmp 0x10013dd8
mov esi, 0x80004005
lea eax, [ebp - 0x448]
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x42c]
test ecx, ecx
je 0x10013e03
mov dword [ebp - 0x42c], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x430]
test ecx, ecx
je 0x10013e21
mov dword [ebp - 0x430], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp - 0x434]
test ecx, ecx
je 0x10013e42
mov dword [ebp - 0x434], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001a6fb
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4