Function at 0x10014930
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003cb86
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x1004f430]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
push 0
push 0x100458b4
mov ecx, edi
call fcn.10003630
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 4], 0
call fcn.10014ba0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x20], 0
jne 0x100149ba
cmp dword [ebp - 0x1c], 8
jb 0x1001499a
push dword [ebp - 0x30]
call fcn.10022a1f
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.10022a24
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.10014c90
mov esi, eax
lea eax, [ebp - 0x30]
cmp eax, esi
je 0x100149fe
cmp dword [ebp - 0x1c], 8
jb 0x100149e1
push dword [ebp - 0x30]
call fcn.10022a1f
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
call fcn.10003320
cmp dword [ebp - 0x4c], 8
jb 0x10014a0f
push dword [ebp - 0x60]
call fcn.10022a1f
add esp, 4
mov eax, dword [0x10052558]
test al, 1
jne 0x10014a3a
or eax, 1
mov dword [0x10052558], eax
mov byte [ebp - 4], 2
call fcn.1000aea0
push 0x1003e4d0
call fcn.100231a9
add esp, 4
mov byte [ebp - 4], 1
lea eax, [ebp - 0x78]
push eax
mov ecx, 0x1005255c
call fcn.1000b7c0
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x60]
push eax
mov byte [ebp - 4], 3
call fcn.10014d60
mov esi, eax
lea eax, [ebp - 0x30]
cmp eax, esi
je 0x10014a91
cmp dword [ebp - 0x1c], 8
jb 0x10014a74
push dword [ebp - 0x30]
call fcn.10022a1f
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
call fcn.10003320
cmp dword [ebp - 0x4c], 8
jb 0x10014aa2
push dword [ebp - 0x60]
call fcn.10022a1f
add esp, 4
xor eax, eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x64], 8
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], ax
jb 0x10014acb
push dword [ebp - 0x78]
call fcn.10022a1f
add esp, 4
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10014989
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
push ecx
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.1001ea00
mov bl, al
add esp, 4
test bl, bl
je 0x10014b52
push 0xc
push 0
push str.TOOLBARNAME
lea ecx, [ebp - 0x48]
call fcn.100034a0
cmp eax, 0xffffffff
je 0x10014b52
mov eax, dword [ebp - 0x38]
cmp eax, 0xc
jbe 0x10014b52
add eax, 0xfffffff4
push eax
push 0xc
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x48]
call fcn.10003200
push eax
mov ecx, edi
call fcn.10003110
lea ecx, [ebp - 0x78]
call fcn.10002440
cmp dword [ebp - 0x34], 8
movzx esi, bl
jb 0x10014b66
push dword [ebp - 0x48]
call fcn.10022a1f
add esp, 4
xor eax, eax
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
jb 0x10014b8b
push dword [ebp - 0x30]
call fcn.10022a1f
add esp, 4
mov eax, esi
jmp 0x1001499c