Function at 0x1004c522
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x100c149e
call fcn.100a35ac
sub esp, 0x60
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], ebx
cmp dword [edi - 0xc], ebx
jne 0x1004c54c
mov eax, 0x80004005
jmp 0x1004c70f
call fcn.10025322
cmp al, bl
jne 0x1004c5eb
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.Toolbar_needs_to_be_fully_initialized_before_you_can_add_or_remove_components._Please_try_again_in_few_moments
call fcn.10005f07
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.components.nouser
mov byte [ebp - 4], 1
call fcn.10005f07
lea eax, [ebp + 0xc]
mov byte [ebp - 4], bl
mov ecx, dword [edi + 0x1340]
push eax
call fcn.1002be4e
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Components_Selection
mov byte [ebp - 4], 2
call fcn.10005f07
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.components.header
mov byte [ebp - 4], 3
call fcn.10005f07
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 2
mov ecx, dword [edi + 0x1340]
push eax
call fcn.1002be4e
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp + 0xc]
jmp 0x1004c705
push 1
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.1000bfdd
mov eax, dword [eax]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x1004c606
mov eax, dword [eax]
jmp 0x1004c608
xor eax, eax
push eax
lea ecx, [ebp - 0x14]
call fcn.10005f07
mov ecx, dword [ebp + 0xc]
mov byte [ebp - 4], 6
cmp ecx, ebx
je 0x1004c624
call fcn.10003111
mov dword [ebp + 0xc], ebx
lea eax, [ebp + 8]
lea esi, [edi + 0x64]
push eax
mov ecx, esi
call fcn.10064264
push dword [ebp + 8]
mov byte [ebp - 4], 7
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1004c663
xor esi, esi
inc esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001d29
mov eax, esi
jmp 0x1004c70f
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push str.TOOLBAR
call fcn.10005f07
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x100cb0a0
mov byte [ebp - 4], 8
call fcn.10005f07
push 1
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 9
call fcn.10003561
push esi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 7
call fcn.10089796
cmp dword [ebp + 0x10], ebx
mov byte [ebp - 4], 0xa
jl 0x1004c720
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push ecx
mov dword [ebp + 0x10], esp
mov ecx, esp
push eax
call fcn.10003561
lea ecx, [ebp - 0x6c]
call fcn.100881fa
cmp eax, ebx
jl 0x1004c6d9
push eax
lea ecx, [ebp - 0x6c]
call fcn.100885e2
push 1
lea ecx, [ebp - 0x6c]
call fcn.10088bcb
lea ecx, [edi + 0x64]
call fcn.1006448c
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 7
call fcn.100888f7
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001d29
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc
push 0xfffffffffffffffe
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp + 0x10], esp
mov ecx, esp
push eax
call fcn.10003561
lea ecx, [ebp - 0x6c]
call fcn.100881fa
mov esi, eax
cmp esi, ebx
jl 0x1004c6d9
push esi
lea ecx, [ebp - 0x6c]
call fcn.1008812c
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x24]
lea ecx, [ebp - 0x6c]
cmp al, bl
je 0x1004c769
mov byte [ebp - 4], 7
call fcn.100888f7
mov esi, 0x80004005
jmp 0x1004c646
push esi
call fcn.100885e2
jmp 0x1004c720