Function at 0x1000e6c0
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 0x1002ef56
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x448
mov eax, dword [0x10042040]
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 - 0x454], eax
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.10016fc0
add esp, 8
lea ecx, [edi + 0xc]
lea edx, [ebp - 0x220]
call fcn.1000dbc0
add esp, 4
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xfffffff
jb 0x1000e757
mov eax, 0x80004005
jmp 0x1000ea47
mov dword [ebp - 0x434], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x434]
push eax
push 0x1003d158
push 1
push 0
push 0x10030290
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x1000ea24
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 0x1003d180
push eax
call dword [ecx]
mov esi, eax
mov byte [ebp - 4], 2
test esi, esi
js 0x1000ea06
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 0x1000ea06
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 0x1003d1dc
push eax
call dword [ecx]
mov esi, eax
mov byte [ebp - 4], 5
test esi, esi
js 0x1000e9e8
mov eax, dword [ebp - 0x42c]
lea edx, [ebp - 0x448]
push edx
push 0x1003027c
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov esi, eax
test esi, esi
js 0x1000e9e8
push 0x104
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x448]
push eax
call dword [0x1004a48c]
mov esi, eax
mov eax, dword [ebp - 0x454]
mov byte [eax], 0
test esi, esi
js 0x1000e8db
lea eax, [edi + 0x24]
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x450], eax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000e870
mov eax, dword [ebp - 0x450]
sub ecx, edx
sar ecx, 1
cmp dword [eax + 0x14], 7
mov edi, dword [eax + 0x10]
jbe 0x1000e890
mov eax, dword [eax]
cmp edi, ecx
jne 0x1000e8cf
lea edx, [ebp - 0x428]
test edi, edi
je 0x1000e9db
mov ecx, edx
sub eax, ecx
mov dword [ebp - 0x450], eax
nop dword [eax]
movzx ecx, word [eax + edx]
movzx eax, word [edx]
cmp cx, ax
jne 0x1000e8cf
mov eax, dword [ebp - 0x450]
add edx, 2
sub edi, 1
jne 0x1000e8b0
jmp 0x1000e9db
mov eax, dword [ebp - 0x454]
mov edi, dword [ebp - 0x44c]
cmp dword [edi + 8], 2
jne 0x1000e9d6
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 0x1000e900
mov edi, dword [edi]
xor eax, eax
mov esi, 0x80070057
test edi, edi
cmovne esi, eax
je 0x1000e96d
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000e913
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 0x1000e96d
mov eax, dword [ebp - 0x44c]
test eax, eax
je 0x1000e961
push eax
push edi
push ecx
call fcn.100185e0
add esp, 0xc
mov eax, 0x1f
mov word [ebp - 0x448], ax
test esi, esi
jns 0x1000e97d
xorps xmm0, xmm0
movups xmmword [ebp - 0x448], xmm0
jmp 0x1000e9db
mov eax, dword [ebp - 0x42c]
lea edx, [ebp - 0x448]
push edx
push 0x1003027c
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
test esi, esi
js 0x1000e9db
mov eax, dword [ebp - 0x42c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
js 0x1000e9db
mov eax, dword [ebp - 0x430]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
test eax, eax
js 0x1000e9db
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 0x1000e9db
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 0x1000ea06
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 0x1000ea24
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 0x1000ea45
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.100151d3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4