Function at 0x4095cb
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a1e66
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x4de270]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push esi
push edi
mov eax, dword [0x4de270]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
and dword [esp + 0x1c], 0
mov ebx, edx
mov edi, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x409a4c
test eax, eax
je 0x409a4c
push str.CSystemCommands::GetConfigurationValue_sConfigurationFilename
lea esi, [esp + 0x28]
call fcn.00404db2
xor edi, edi
inc edi
push ebx
lea esi, [esp + 0x44]
mov dword [esp + 0x164], edi
call fcn.00404db2
lea ecx, [esp + 0x24]
push ecx
mov ebx, eax
mov byte [esp + 0x164], 2
call fcn.00404975
pop ecx
push 0
push edi
call fcn.00404f5a
or dword [esp + 0x160], 0xffffffff
push 0
push edi
lea esi, [esp + 0x2c]
call fcn.00404f5a
push str.CSystemCommands::GetConfigurationValue_sTagName
lea esi, [esp + 0x28]
call fcn.00404db2
mov dword [esp + 0x160], 3
push dword [esp + 0x14]
lea esi, [esp + 0x44]
call fcn.00404db2
lea ecx, [esp + 0x24]
push ecx
mov ebx, eax
mov byte [esp + 0x164], 4
call fcn.00404975
pop ecx
xor ebx, ebx
push ebx
push edi
call fcn.00404f5a
or dword [esp + 0x160], 0xffffffff
push ebx
push edi
lea esi, [esp + 0x2c]
call fcn.00404f5a
push dword [esp + 0x20]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40972d
push str.CSystemCommands::GetConfigurationValue_sConfigurationFilename_doesnt_exist
lea esi, [esp + 0x28]
call fcn.00404db2
mov dword [esp + 0x160], 5
call fcn.00404e64
or dword [esp + 0x160], 0xffffffff
push ebx
push edi
call fcn.00404f5a
mov esi, dword [esp + 0x18]
push 0x4aec58
call fcn.00404db2
mov eax, esi
jmp 0x409a86
push dword [esp + 0x14]
lea esi, [esp + 0xd0]
call fcn.00404db2
mov dword [esp + 0x14], eax
push str.Toolbar_
lea esi, [esp + 0x44]
mov dword [esp + 0x164], 6
call fcn.00404db2
mov byte [esp + 0x160], 7
push dword [esp + 0x14]
push eax
lea eax, [esp + 0x64]
push eax
call fcn.0040c524
add esp, 0xc
push ebx
push edi
call fcn.00404f5a
push ebx
push edi
lea esi, [esp + 0xd4]
mov byte [esp + 0x168], 0xa
call fcn.00404f5a
push str.Toolbar_Installation_FolderName
push dword [esp + 0x24]
lea eax, [esp + 0xb8]
push eax
call fcn.00409aaa
add esp, 0xc
mov byte [esp + 0x160], 0xb
cmp dword [esp + 0xc4], ebx
jne 0x409815
push str.CSystemCommands::GetConfigurationValue_sIEFolderName_empty.
lea esi, [esp + 0x28]
call fcn.00404db2
mov byte [esp + 0x160], 0xc
call fcn.00404e64
push ebx
push edi
mov byte [esp + 0x168], 0xb
call fcn.00404f5a
mov esi, dword [esp + 0x18]
push 0x4aec58
call fcn.00404db2
push ebx
push edi
lea esi, [esp + 0xb8]
call fcn.00404f5a
push ebx
push edi
lea esi, [esp + 0x64]
call fcn.00404f5a
mov eax, dword [esp + 0x18]
jmp 0x409a86
xor eax, eax
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], ax
lea eax, [esp + 0xb0]
push eax
lea esi, [esp + 0xec]
mov byte [esp + 0x164], 0xd
call fcn.004047eb
push SysReAllocString
mov eax, esi
push eax
lea eax, [esp + 0x10c]
push eax
mov byte [esp + 0x16c], 0xe
call fcn.004054da
mov byte [esp + 0x160], 0xf
mov dword [esp + 0x1c], ebx
mov eax, dword [0x4e0b2c]
mov ecx, 0x4e0b2c
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
push dword [esp + 0x1c]
lea eax, [esp + 0x18]
push str.cache_file_
push str._s_d
mov byte [esp + 0x16c], 0x10
call fcn.00406988
add esp, 0xc
push 0x4aec58
lea esi, [esp + 0x44]
call fcn.00404db2
mov byte [esp + 0x160], 0x11
push dword [esp + 0x14]
lea esi, [esp + 0xd0]
call fcn.00404db2
mov eax, esi
push eax
lea eax, [esp + 0x108]
push eax
lea ecx, [esp + 0x48]
lea edx, [esp + 0x9c]
mov byte [esp + 0x168], 0x12
call fcn.004056c9
mov byte [esp + 0x160], 0x13
cmp dword [esp + 0xa8], ebx
setne byte [esp + 0x13]
cmp byte [esp + 0x13], bl
je 0x40996e
cmp dword [esp + 0x74], 8
mov ecx, dword [esp + 0x60]
jae 0x40991b
lea ecx, [esp + 0x60]
cmp dword [esp + 0xac], 8
mov eax, dword [esp + 0x98]
jae 0x409933
lea eax, [esp + 0x98]
push ecx
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00409aaa
add esp, 0xc
mov byte [esp + 0x160], 0x14
cmp dword [esp + 0x38], ebx
je 0x409963
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x80]
call fcn.00404ae1
push ebx
push edi
lea esi, [esp + 0x2c]
call fcn.00404f5a
inc dword [esp + 0x1c]
push ebx
push edi
lea esi, [esp + 0x9c]
call fcn.00404f5a
push ebx
push edi
lea esi, [esp + 0xd4]
call fcn.00404f5a
push ebx
push edi
lea esi, [esp + 0x48]
call fcn.00404f5a
mov byte [esp + 0x160], 0xf
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.004049bf
cmp byte [esp + 0x13], bl
jne 0x409873
cmp dword [esp + 0x8c], ebx
jne 0x409a11
cmp dword [esp + 0x74], 8
mov eax, dword [esp + 0x60]
jae 0x4099cf
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x9c]
push eax
call fcn.00409aaa
add esp, 0xc
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x80]
mov byte [esp + 0x168], 0x15
call fcn.00404ae1
push ebx
push edi
lea esi, [esp + 0x9c]
mov byte [esp + 0x168], 0xf
call fcn.00404f5a
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x78]
push eax
call fcn.004047eb
lea ecx, [esp + 0x104]
call fcn.004049f3
push ebx
push edi
lea esi, [esp + 0xf0]
call fcn.00404f5a
push ebx
push edi
lea esi, [esp + 0x80]
call fcn.00404f5a
jmp 0x4097f3
push str.CSystemCommands::GetConfigurationValue_pinters_are_NULL__
lea esi, [esp + 0x44]
call fcn.00404db2
and dword [esp + 0x160], 0
call fcn.00404e64
or dword [esp + 0x160], 0xffffffff
push 0
push 1
call fcn.00404f5a
push 0x4aec58
mov esi, edi
call fcn.00404db2
mov eax, edi
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.004812cc
mov esp, ebp
pop ebp
ret