Function at 0x100c3d7b
Capabilities:
Check if file exists

Disassembly:
push 0x30
mov eax, 0x1011dad4
call fcn.100604ea
mov dword [ebp - 0x20], edx
mov ebx, ecx
call fcn.100029f0
push eax
lea ecx, [ebp - 0x24]
call fcn.1000281b
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebx]
push ebx
mov dword [ebp - 0x1c], edi
call dword [eax + 0x18]
mov esi, eax
mov ecx, esi
call fcn.100026a7
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.1000262a
call fcn.100029f0
push eax
lea ecx, [ebp - 0x18]
call fcn.1000281b
mov byte [ebp - 4], 1
mov eax, dword [ebx]
push edi
push ebx
call dword [eax + 0x18]
lea edx, [ebp - 0x18]
mov ecx, eax
call fcn.1006ea4e
pop ecx
test eax, eax
jne 0x100c3dfc
mov eax, dword [ebx]
push ebx
call dword [eax + 0x18]
mov esi, eax
mov ecx, esi
call fcn.100026a7
push eax
push esi
lea ecx, [ebp - 0x18]
call fcn.1000262a
call fcn.100029f0
push eax
lea ecx, [ebp - 0x14]
call fcn.1000281b
mov byte [ebp - 4], 2
mov eax, dword [ebx]
push ebx
call dword [eax + 0x38]
cmp eax, 2
jne 0x100c3e54
mov eax, dword [ebp + 0x20]
push ebx
mov dword [eax], 1
mov eax, dword [ebx]
call dword [eax + 0x1c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x100c3e2b
sub eax, edx
sar eax, 1
je 0x100c3e54
mov eax, dword [ebx]
push ebx
call dword [eax + 0x1c]
push eax
lea eax, [ebp - 0x14]
push 0x1015581c
push eax
call fcn.10008c51
add esp, 0xc
mov edi, dword [ebp + 8]
xor eax, eax
mov esi, dword [ebp - 0x18]
mov dword [edi], eax
mov eax, esi
test eax, eax
je 0x100c40d5
movzx ecx, word [esi]
test cx, cx
je 0x100c3ec8
xor edi, edi
cmp word [esi + 2], di
mov edi, dword [ebp + 8]
je 0x100c3ec8
cmp ecx, 0x22
jne 0x100c3e83
lea eax, [esi + 2]
movzx ecx, word [eax + 2]
push 0x3a
pop edx
cmp cx, dx
je 0x100c3ea4
push 0x5c
pop edx
cmp word [eax], dx
jne 0x100c3ec8
cmp cx, dx
jne 0x100c3ec8
xor ecx, ecx
cmp word [eax + 4], cx
je 0x100c3ec8
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100c3ec8
push dword [ebp - 0x14]
push esi
push str._._singlelinetrue_colorrgb_0_0_0__boldtrue_link32282_underlinefalse___.__s_._colorrgb_128_128_128__boldfalse___.__s
push dword [ebp - 0x20]
call fcn.10008c51
mov dword [edi], 1
jmp 0x100c3ed9
push dword [ebp - 0x14]
push esi
push str._._singlelinetrue_colorrgb_0_0_0__boldtrue___.__s_._colorrgb_128_128_128__boldfalse___.__s
push dword [ebp - 0x20]
call fcn.10008c51
add esp, 0x10
xor eax, eax
push eax
mov eax, dword [ebx]
push ebx
call dword [eax + 0x1c]
mov edx, dword [ebp + 0x14]
mov ecx, eax
call fcn.1006ea4e
pop ecx
test eax, eax
jne 0x100c3f03
mov eax, dword [ebx]
push ebx
call dword [eax + 0x1c]
mov ecx, dword [ebp + 0x14]
push eax
call fcn.100026c3
mov eax, dword [ebx]
push ebx
call dword [eax + 0x24]
mov edi, dword [ebp + 0x10]
mov ecx, edi
push eax
call fcn.100026c3
push 0x3a
pop eax
push eax
xor eax, eax
push eax
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
mov edx, eax
test edx, edx
je 0x100c3f7e
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 8], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x1c]
jne 0x100c3f31
mov edi, dword [edi]
sub ecx, dword [ebp + 8]
sar ecx, 1
lea eax, [edi + 2]
mov dword [ebp + 8], eax
mov ax, word [edi]
add edi, 2
cmp ax, word [ebp - 0x1c]
jne 0x100c3f4a
sub edi, dword [ebp + 8]
lea eax, [edx + 2]
sar edi, 1
mov dword [ebp + 8], eax
mov ax, word [edx]
add edx, 2
cmp ax, word [ebp - 0x1c]
jne 0x100c3f61
sub edx, dword [ebp + 8]
sar edx, 1
push ecx
mov ecx, dword [ebp + 0x10]
sub edi, edx
push edi
call fcn.100051dc
mov eax, dword [ebp + 0x18]
xor ecx, ecx
cmp dword [eax], ecx
je 0x100c40b1
push 0x10b
lea ecx, [ebp + 8]
call fcn.100026e3
mov ecx, dword [ebp + 0xc]
push eax
mov byte [ebp - 4], 3
call fcn.100052b3
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.10002a86
xor eax, eax
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
mov eax, dword [ebx]
push ecx
push str.trust_dir
push ebx
call dword [eax + 4]
push 0xb
or edi, 0xffffffff
pop ecx
test eax, eax
jne 0x100c4015
cmp word [ebp - 0x3c], cx
jne 0x100c4015
cmp word [ebp - 0x34], di
jne 0x100c4015
push 0x110
lea ecx, [ebp + 8]
call fcn.100026e3
mov ecx, dword [ebp + 0xc]
push eax
mov byte [ebp - 4], 5
call fcn.100052b3
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.10002a86
mov eax, dword [ebx]
lea ecx, [ebp - 0x3c]
push ecx
push str.trust_path
push ebx
call dword [eax + 4]
test eax, eax
jne 0x100c4060
push 0xb
pop eax
cmp word [ebp - 0x3c], ax
jne 0x100c4060
cmp word [ebp - 0x34], di
jne 0x100c4060
push 0x10c
lea ecx, [ebp + 8]
call fcn.100026e3
mov ecx, dword [ebp + 0xc]
push eax
mov byte [ebp - 4], 6
call fcn.100052b3
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.10002a86
mov eax, dword [ebx]
lea ecx, [ebp - 0x3c]
push ecx
push str.trust_md5_and_path
push ebx
call dword [eax + 4]
test eax, eax
jne 0x100c40a7
push 0xb
pop eax
cmp word [ebp - 0x3c], ax
jne 0x100c40a7
cmp word [ebp - 0x34], di
jne 0x100c40a7
push 0xfe4f
lea ecx, [ebp + 8]
call fcn.100026e3
mov ecx, dword [ebp + 0xc]
push eax
mov byte [ebp - 4], 7
call fcn.100052b3
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.10002a86
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.10002a86
lea ecx, [esi - 0x10]
call fcn.10002a86
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.10002a86
call fcn.100604b3
ret
push 0x80004005
call fcn.100027ff
int3