Function at 0x1000f440
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 0x10030ae6
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.100182b0
add esp, 8
lea ecx, [edi + 0xc]
lea edx, [ebp - 0x220]
call fcn.1000e940
add esp, 4
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xfffffff
jb 0x1000f4d7
mov eax, 0x80004005
jmp 0x1000f7c7
mov dword [ebp - 0x434], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x434]
push eax
push 0x1003fa10
push 1
push 0
push 0x100322b0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x1000f7a4
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 0x1003fa38
push eax
call dword [ecx]
mov esi, eax
mov byte [ebp - 4], 2
test esi, esi
js 0x1000f786
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 0x1000f786
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 0x1003fa94
push eax
call dword [ecx]
mov esi, eax
mov byte [ebp - 4], 5
test esi, esi
js 0x1000f768
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 0x1000f768
push 0x104
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x448]
push eax
call dword [0x1004c438]
mov esi, eax
mov eax, dword [ebp - 0x454]
mov byte [eax], 0
test esi, esi
js 0x1000f65b
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 0x1000f5f0
mov eax, dword [ebp - 0x450]
sub ecx, edx
sar ecx, 1
cmp dword [eax + 0x14], 7
mov edi, dword [eax + 0x10]
jbe 0x1000f610
mov eax, dword [eax]
cmp edi, ecx
jne 0x1000f64f
lea edx, [ebp - 0x428]
test edi, edi
je 0x1000f75b
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 0x1000f64f
mov eax, dword [ebp - 0x450]
add edx, 2
sub edi, 1
jne 0x1000f630
jmp 0x1000f75b
mov eax, dword [ebp - 0x454]
mov edi, dword [ebp - 0x44c]
cmp dword [edi + 8], 2
jne 0x1000f756
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 0x1000f680
mov edi, dword [edi]
xor eax, eax
mov esi, 0x80070057
test edi, edi
cmovne esi, eax
je 0x1000f6ed
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000f693
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 0x1000f6ed
mov eax, dword [ebp - 0x44c]
test eax, eax
je 0x1000f6e1
push eax
push edi
push ecx
call fcn.10017d30
add esp, 0xc
mov eax, 0x1f
mov word [ebp - 0x448], ax
test esi, esi
jns 0x1000f6fd
xorps xmm0, xmm0
movups xmmword [ebp - 0x448], xmm0
jmp 0x1000f75b
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 0x1000f75b
mov eax, dword [ebp - 0x42c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
js 0x1000f75b
mov eax, dword [ebp - 0x430]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
test eax, eax
js 0x1000f75b
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 0x1000f75b
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 0x1000f786
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 0x1000f7a4
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 0x1000f7c5
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.10016053
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4