Function at 0x1000f220
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 0x10030776
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x448
mov eax, dword [0x10044040]
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.100180d0
add esp, 8
lea ecx, [edi + 0xc]
lea edx, [ebp - 0x220]
call fcn.1000e750
add esp, 4
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xfffffff
jb 0x1000f2b7
mov eax, 0x80004005
jmp 0x1000f5a7
mov dword [ebp - 0x434], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x434]
push eax
push 0x1003f920
push 1
push 0
push 0x100322b0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x1000f584
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 0x1003f948
push eax
call dword [ecx]
mov esi, eax
mov byte [ebp - 4], 2
test esi, esi
js 0x1000f566
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 0x1000f566
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 0x1003f9a4
push eax
call dword [ecx]
mov esi, eax
mov byte [ebp - 4], 5
test esi, esi
js 0x1000f548
mov eax, dword [ebp - 0x42c]
lea edx, [ebp - 0x448]
push edx
push 0x1003229c
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov esi, eax
test esi, esi
js 0x1000f548
push 0x104
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x448]
push eax
call dword [0x1004c434]
mov esi, eax
mov eax, dword [ebp - 0x454]
mov byte [eax], 0
test esi, esi
js 0x1000f43b
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 0x1000f3d0
mov eax, dword [ebp - 0x450]
sub ecx, edx
sar ecx, 1
cmp dword [eax + 0x14], 7
mov edi, dword [eax + 0x10]
jbe 0x1000f3f0
mov eax, dword [eax]
cmp edi, ecx
jne 0x1000f42f
lea edx, [ebp - 0x428]
test edi, edi
je 0x1000f53b
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 0x1000f42f
mov eax, dword [ebp - 0x450]
add edx, 2
sub edi, 1
jne 0x1000f410
jmp 0x1000f53b
mov eax, dword [ebp - 0x454]
mov edi, dword [ebp - 0x44c]
cmp dword [edi + 8], 2
jne 0x1000f536
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 0x1000f460
mov edi, dword [edi]
xor eax, eax
mov esi, 0x80070057
test edi, edi
cmovne esi, eax
je 0x1000f4cd
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000f473
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 0x1000f4cd
mov eax, dword [ebp - 0x44c]
test eax, eax
je 0x1000f4c1
push eax
push edi
push ecx
call fcn.10017b50
add esp, 0xc
mov eax, 0x1f
mov word [ebp - 0x448], ax
test esi, esi
jns 0x1000f4dd
xorps xmm0, xmm0
movups xmmword [ebp - 0x448], xmm0
jmp 0x1000f53b
mov eax, dword [ebp - 0x42c]
lea edx, [ebp - 0x448]
push edx
push 0x1003229c
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
test esi, esi
js 0x1000f53b
mov eax, dword [ebp - 0x42c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
js 0x1000f53b
mov eax, dword [ebp - 0x430]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
test eax, eax
js 0x1000f53b
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 0x1000f53b
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 0x1000f566
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 0x1000f584
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 0x1000f5a5
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.10015e23
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4