Function at 0x1000f130
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 0x1002f9d6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x448
mov eax, dword [0x10043040]
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.10017a30
add esp, 8
lea ecx, [edi + 0xc]
lea edx, [ebp - 0x220]
call fcn.1000e630
add esp, 4
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xfffffff
jb 0x1000f1c7
mov eax, 0x80004005
jmp 0x1000f4b7
mov dword [ebp - 0x434], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x434]
push eax
push 0x1003e680
push 1
push 0
push 0x100312a0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x1000f494
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 0x1003e6a8
push eax
call dword [ecx]
mov esi, eax
mov byte [ebp - 4], 2
test esi, esi
js 0x1000f476
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 0x1000f476
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 0x1003e704
push eax
call dword [ecx]
mov esi, eax
mov byte [ebp - 4], 5
test esi, esi
js 0x1000f458
mov eax, dword [ebp - 0x42c]
lea edx, [ebp - 0x448]
push edx
push 0x1003128c
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov esi, eax
test esi, esi
js 0x1000f458
push 0x104
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x448]
push eax
call dword [0x1004b49c]
mov esi, eax
mov eax, dword [ebp - 0x454]
mov byte [eax], 0
test esi, esi
js 0x1000f34b
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 0x1000f2e0
mov eax, dword [ebp - 0x450]
sub ecx, edx
sar ecx, 1
cmp dword [eax + 0x14], 7
mov edi, dword [eax + 0x10]
jbe 0x1000f300
mov eax, dword [eax]
cmp edi, ecx
jne 0x1000f33f
lea edx, [ebp - 0x428]
test edi, edi
je 0x1000f44b
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 0x1000f33f
mov eax, dword [ebp - 0x450]
add edx, 2
sub edi, 1
jne 0x1000f320
jmp 0x1000f44b
mov eax, dword [ebp - 0x454]
mov edi, dword [ebp - 0x44c]
cmp dword [edi + 8], 2
jne 0x1000f446
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 0x1000f370
mov edi, dword [edi]
xor eax, eax
mov esi, 0x80070057
test edi, edi
cmovne esi, eax
je 0x1000f3dd
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000f383
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 0x1000f3dd
mov eax, dword [ebp - 0x44c]
test eax, eax
je 0x1000f3d1
push eax
push edi
push ecx
call fcn.10019050
add esp, 0xc
mov eax, 0x1f
mov word [ebp - 0x448], ax
test esi, esi
jns 0x1000f3ed
xorps xmm0, xmm0
movups xmmword [ebp - 0x448], xmm0
jmp 0x1000f44b
mov eax, dword [ebp - 0x42c]
lea edx, [ebp - 0x448]
push edx
push 0x1003128c
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
test esi, esi
js 0x1000f44b
mov eax, dword [ebp - 0x42c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
js 0x1000f44b
mov eax, dword [ebp - 0x430]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
test eax, eax
js 0x1000f44b
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 0x1000f44b
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 0x1000f476
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 0x1000f494
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 0x1000f4b5
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.10015c53
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4