Function at 0x100531aa
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x68
mov eax, 0x100bcdec
call fcn.100a0664
sub esp, 0xd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], ebx
call fcn.1002a57a
cmp al, bl
jne 0x1005326b
push ecx
mov ecx, esp
mov dword [ebp + 0x54], esp
push str.Toolbar_needs_to_be_fully_initialized_before_you_can_add_or_remove_components._Please_try_again_in_few_moments
call fcn.100057f4
push ecx
mov ecx, esp
mov dword [ebp + 0x64], esp
push str.components.nouser
mov byte [ebp - 4], 1
call fcn.100057f4
mov esi, dword [ebp + 0x74]
lea eax, [ebp + 0x58]
mov byte [ebp - 4], bl
mov ecx, dword [esi + 0x1328]
push eax
call fcn.10031253
push ecx
mov ecx, esp
mov dword [ebp + 0x74], esp
push str.Components_Selection
mov byte [ebp - 4], 2
call fcn.100057f4
push ecx
mov ecx, esp
mov dword [ebp + 0x64], esp
push str.components.header
mov byte [ebp - 4], 3
call fcn.100057f4
lea eax, [ebp + 0x78]
mov byte [ebp - 4], 2
mov ecx, dword [esi + 0x1328]
push eax
call fcn.10031253
push ebx
push dword [ebp + 0x78]
push dword [ebp + 0x58]
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp + 0x78]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp + 0x58]
jmp 0x10053638
mov esi, dword [ebp + 0x74]
lea eax, [ebp + 0x5c]
add esi, 0x54
push eax
mov ecx, esi
call fcn.10068282
push dword [ebp + 0x5c]
mov byte [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100532a2
xor esi, esi
inc esi
mov ecx, dword [ebp + 0x5c]
add ecx, 0xfffffff0
call fcn.10001ccd
mov eax, esi
jmp 0x10053642
push dword [ebp + 0x78]
lea ecx, [ebp + 0x78]
call fcn.1000274d
mov eax, dword [eax]
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x100532bb
mov eax, dword [eax]
jmp 0x100532bd
xor eax, eax
push eax
lea ecx, [ebp + 0x68]
call fcn.100057f4
mov ecx, dword [ebp + 0x78]
mov byte [ebp - 4], 7
cmp ecx, ebx
je 0x100532d9
call fcn.10003043
mov dword [ebp + 0x78], ebx
push ecx
mov ecx, esp
mov dword [ebp + 0x64], esp
push 0x100c5568
call fcn.100057f4
push ecx
lea eax, [ebp + 0x68]
mov dword [ebp + 0x54], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 8
call fcn.100033f5
lea eax, [ebp + 0x50]
push eax
mov byte [ebp - 4], 7
call fcn.10054535
add esp, 0xc
mov eax, dword [ebp + 0x50]
mov byte [ebp - 4], 9
mov edi, 0x100c503c
cmp dword [eax - 0xc], ebx
je 0x100533e9
push edi
push eax
lea ecx, [ebp + 0x68]
call fcn.10004473
lea eax, [ebp + 0x58]
push ebx
push eax
call fcn.100449b3
pop ecx
pop ecx
push ecx
mov ecx, esp
mov dword [ebp + 0x64], esp
push str.ff.xsl
push eax
push ecx
mov byte [ebp - 4], 0xa
call fcn.1000c4dd
lea eax, [ebp - 0x64]
add esp, 0xc
push eax
call fcn.10081b0e
pop ecx
pop ecx
cmp dword [eax + 0x18], 8
mov byte [ebp - 4], 0xb
jb 0x1005336a
mov eax, dword [eax + 4]
jmp 0x1005336d
add eax, 4
push eax
lea ecx, [ebp + 0x78]
call fcn.100057f4
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.1000bc62
mov ecx, dword [ebp + 0x58]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xe
call fcn.10001ccd
push ecx
lea eax, [ebp + 0x78]
mov dword [ebp + 0x64], esp
mov ecx, esp
push eax
call fcn.100033f5
push ecx
lea eax, [ebp + 0x68]
mov dword [ebp + 0x60], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0xf
call fcn.100033f5
lea eax, [ebp + 0x54]
push eax
mov byte [ebp - 4], 0xe
call fcn.1004f9b8
add esp, 0xc
push eax
lea ecx, [ebp + 0x68]
mov byte [ebp - 4], 0x10
call fcn.100046db
mov ecx, dword [ebp + 0x54]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp + 0x78]
add ecx, 0xfffffff0
mov byte [ebp - 4], 9
call fcn.10001ccd
cmp esi, ebx
je 0x100533f8
mov esi, dword [ebp + 0x74]
add esi, 0x10c
jmp 0x100533fa
xor esi, esi
push ecx
mov ecx, esp
mov dword [ebp + 0x78], esp
push str.component.xsl
call fcn.100057f4
push ecx
lea eax, [ebp + 0x68]
mov dword [ebp + 0x60], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0x11
call fcn.100033f5
push esi
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 9
call fcn.10088eba
mov ecx, dword [ebp + 0x74]
add ecx, 0x10c
mov eax, dword [ecx]
mov byte [ebp - 4], 0x12
call dword [eax + 0x5c]
push ebx
push eax
lea ecx, [ebp - 0xe0]
call fcn.10053178
cmp eax, 2
jne 0x1005347d
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 9
call fcn.1008850e
mov ecx, dword [ebp + 0x50]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp + 0x68]
add ecx, 0xfffffff0
call fcn.10001ccd
xor esi, esi
jmp 0x10053290
push ecx
mov ecx, esp
mov dword [ebp + 0x78], esp
mov esi, str.TOOLBAR
push esi
call fcn.100057f4
push ecx
mov ecx, esp
mov dword [ebp + 0x60], esp
push edi
mov byte [ebp - 4], 0x13
call fcn.100057f4
push 1
push ecx
lea eax, [ebp + 0x5c]
mov dword [ebp + 0x64], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0x14
call fcn.100033f5
mov eax, dword [ebp + 0x74]
add eax, 0x54
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x12
call fcn.1008a9c9
push ecx
mov ecx, esp
mov dword [ebp + 0x78], esp
push esi
mov byte [ebp - 4], 0x15
call fcn.100057f4
push ecx
mov ecx, esp
mov dword [ebp + 0x60], esp
push edi
mov byte [ebp - 4], 0x16
call fcn.100057f4
push ebx
push ecx
lea eax, [ebp + 0x68]
mov dword [ebp + 0x64], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0x17
call fcn.100033f5
mov esi, dword [ebp + 0x74]
lea edi, [esi + 0x54]
push edi
lea ecx, [ebp]
mov byte [ebp - 4], 0x15
call fcn.1008a9c9
lea ecx, [ebp]
mov byte [ebp - 4], 0x18
call fcn.100893c5
cmp eax, ebx
jle 0x1005352f
push ebx
lea ecx, [ebp]
call fcn.100893cf
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
jmp 0x10053531
xor eax, eax
cmp eax, ebx
je 0x100535f8
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x48]
call fcn.10089c0f
cmp al, bl
je 0x1005355e
push 1
lea ecx, [ebp - 0x48]
call fcn.10089dee
mov ecx, edi
call fcn.100684aa
jmp 0x100535f8
push ecx
mov ecx, esp
mov dword [ebp + 0x60], esp
push str.You_can_only_add_one_instance_of_this_component
call fcn.100057f4
push ecx
mov ecx, esp
mov dword [ebp + 0x64], esp
push str.components.single
mov byte [ebp - 4], 0x19
call fcn.100057f4
lea eax, [ebp + 0x78]
mov byte [ebp - 4], 0x18
mov ecx, dword [esi + 0x1328]
push eax
call fcn.10031253
push ecx
mov ecx, esp
mov dword [ebp + 0x60], esp
push str.Components_Selection
mov byte [ebp - 4], 0x1a
call fcn.100057f4
push ecx
mov ecx, esp
mov dword [ebp + 0x64], esp
push str.components.header
mov byte [ebp - 4], 0x1b
call fcn.100057f4
lea eax, [ebp + 0x74]
mov byte [ebp - 4], 0x1a
mov ecx, dword [esi + 0x1328]
push eax
call fcn.10031253
mov eax, dword [esi + 0x58]
push 0x40
push dword [ebp + 0x74]
push dword [ebp + 0x78]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp + 0x74]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp + 0x78]
add ecx, 0xfffffff0
call fcn.10001ccd
lea ecx, [ebp]
mov byte [ebp - 4], 0x15
call fcn.10089b1a
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x12
call fcn.10089b1a
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 9
call fcn.1008850e
mov ecx, dword [ebp + 0x50]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp + 0x68]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp + 0x5c]
add ecx, 0xfffffff0
call fcn.10001ccd
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add ebp, 0x6c
leave
ret 8