Function at 0x100d8f3
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x103378b
call fcn.01027604
sub esp, 0xc0
mov eax, dword [0x10360ac]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], eax
lea eax, [esi + 4]
mov dword [esi], ebx
mov dword [eax], ebx
mov dword [esi + 8], ebx
cmp dword [0x1037204], ebx
push edi
mov dword [ebp - 0xac], eax
jne 0x100d946
push esi
push 0x10012fc
push 1
push ebx
push 0x100130c
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x100db12
lea ecx, [ebp - 0xa8]
call fcn.0100ca41
push 1
push 0x105
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], ebx
call fcn.0100b618
push dword [ebp - 0xa0]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push dword [ebp - 0x9c]
mov byte [ebp - 0x94], 1
push ebx
call edi
lea ecx, [ebp - 0xa8]
mov byte [ebp - 0x94], bl
call fcn.0100ca60
mov eax, dword [ebp - 0x98]
inc eax
push eax
push 0x5c
lea ecx, [ebp - 0xa8]
call fcn.0100b6e5
cmp eax, 0xffffffff
jle 0x100d9b9
push eax
lea ecx, [ebp - 0xa8]
call fcn.0100c774
push 0x1001ee0
lea ecx, [ebp - 0xa8]
call fcn.0100c744
push dword [ebp - 0x9c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100daa5
push dword [ebp - 0xa0]
mov byte [ebp - 0x94], 1
push dword [ebp - 0x9c]
push ebx
call edi
lea ecx, [ebp - 0xa8]
mov byte [ebp - 0x94], bl
call fcn.0100ca60
mov eax, dword [ebp - 0x98]
inc eax
push eax
push 0x5c
lea ecx, [ebp - 0xa8]
call fcn.0100b6e5
cmp eax, 0xffffffff
jle 0x100da2b
push eax
lea ecx, [ebp - 0xa8]
call fcn.0100c774
push 0x1001ea4
lea ecx, [ebp - 0xa8]
call fcn.0100c744
push dword [ebp - 0x9c]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
call edi
cmp eax, 0xffffffff
jne 0x100daa5
lea ecx, [ebp - 0xa8]
call fcn.0100d7c5
push 0x1001ee0
lea ecx, [ebp - 0xa8]
call fcn.0100c744
push dword [ebp - 0x9c]
call edi
cmp eax, 0xffffffff
jne 0x100daa5
lea ecx, [ebp - 0xa8]
call fcn.0100d775
push 0x1001ee0
lea ecx, [ebp - 0xa8]
call fcn.0100c744
push dword [ebp - 0x9c]
call edi
cmp eax, 0xffffffff
jne 0x100daa5
mov edi, 0x800401f8
jmp 0x100dadf
push dword [ebp - 0x9c]
mov ecx, esi
call fcn.0100a8db
push esi
push 0x10012fc
push 1
push ebx
push 0x100130c
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x100daf9
push eax
push 0x1001e70
push 1
call fcn.010277c2
add esp, 0xc
mov edi, 0x80080001
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0xa8], 0x1001c4c
call fcn.0100b71f
jmp 0x100dbaf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0xa8], 0x1001c4c
call fcn.0100b71f
cmp dword [esi], ebx
jne 0x100db20
mov edi, 0x800401f8
jmp 0x100dbaf
xor eax, eax
lea edi, [ebp - 0xbc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xcc]
mov dword [ebp - 0xb0], eax
mov eax, dword [esi]
lea edx, [ebp - 0xbc]
push edx
mov word [ebp - 0xcc], 0xb
mov word [ebp - 0xc4], 1
mov dword [ebp - 0xbc], 0x10
mov dword [ebp - 0xb8], 0x6f
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov edi, eax
cmp edi, ebx
jl 0x100dbaf
mov eax, dword [esi]
mov edx, dword [eax]
lea ecx, [esi + 8]
push ecx
push eax
call dword [edx + 0x10]
mov edi, eax
cmp edi, ebx
jl 0x100dbaf
push dword [ebp - 0xac]
mov esi, dword [esi]
mov eax, dword [esi]
push 0x10012ec
push esi
call dword [eax]
mov edi, eax
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0102699e
leave
ret 4