Function at 0x414cf9
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x750
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x750], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x738], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x748], eax
lea eax, [ebp - 0x73c]
push eax
push 0x44d114
push 3
xor ebx, ebx
push ebx
push 0x44964c
mov esi, ecx
mov edi, edx
mov byte [ebp - 0x725], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x415069
push 0x66
mov eax, edi
call fcn.00443c5c
cmp eax, ebx
je 0x414d74
push 3
pop ecx
cmp cx, word [eax + 8]
jne 0x414d83
cmp byte [eax + 0x10], bl
je 0x414d83
mov eax, dword [esi]
push 1
push esi
call dword [eax + 0x18]
mov byte [ebp - 0x725], 1
push 0x72
mov eax, edi
call fcn.00443c5c
cmp eax, ebx
je 0x414d9e
push 3
pop ecx
cmp cx, word [eax + 8]
jne 0x414dad
cmp byte [eax + 0x10], bl
je 0x414dad
mov eax, dword [esi]
push 2
push esi
call dword [eax + 0x18]
mov byte [ebp - 0x725], 1
push 0x62
mov eax, edi
call fcn.00443c5c
mov ecx, eax
mov dword [ebp - 0x74c], ecx
cmp ecx, ebx
je 0x41505b
push 6
pop eax
cmp ax, word [ecx + 8]
jne 0x41505b
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x72c], ebx
cmp eax, ebx
jle 0x41505b
mov dword [ebp - 0x734], ebx
mov dword [ebp - 0x744], eax
jmp 0x414df8
mov ecx, dword [ebp - 0x74c]
mov edi, dword [ecx + 0x18]
add edi, dword [ebp - 0x734]
xor eax, eax
cmp ax, word [edi + 8]
jne 0x414e1b
lea eax, [ebp - 0x72c]
push eax
call fcn.00414c8b
pop ecx
jmp 0x41501a
push 0x73
mov eax, edi
call fcn.00443c5c
mov ebx, eax
xor eax, eax
and dword [ebp - 0x740], eax
mov word [ebp - 0x51c], ax
mov word [ebp - 0x314], ax
test ebx, ebx
jne 0x414f2a
push 0x63
mov eax, edi
call fcn.00443c5c
mov esi, eax
call fcn.00405fd8
test al, al
je 0x41501a
mov ecx, dword [esi + 0x10]
movzx eax, word [ecx - 2]
push ecx
call fcn.0040c03d
mov ebx, eax
pop ecx
test ebx, ebx
je 0x41501a
cmp ebx, 0x80a1
jne 0x414eb8
mov ecx, dword [ebp - 0x738]
push str.TabManager.exe
lea esi, [ebp - 0x724]
call fcn.00444a59
mov eax, esi
mov dword [ebp - 0x730], eax
mov ecx, esi
lea eax, [ebp - 0x314]
mov dword [esp], 0x104
call fcn.00401aca
mov eax, esi
mov dword [ebp - 0x740], eax
jmp 0x414eed
push 0x104
mov ecx, str._cmd:
lea eax, [ebp - 0x51c]
call fcn.00401aca
pop ecx
mov ecx, dword [esi + 0x10]
push 0xfd
lea eax, [ebp - 0x512]
call fcn.00401aca
mov eax, dword [ebp - 0x738]
mov dword [ebp - 0x730], eax
pop ecx
push 0x74
mov eax, edi
call fcn.00443c5c
mov esi, eax
call fcn.00405fd8
push 0x80
test al, al
je 0x414f0f
mov ecx, dword [esi + 0x10]
jmp 0x414fd6
mov eax, dword [ebp - 0x750]
mov ecx, dword [eax]
lea edx, [ebp - 0x10c]
push edx
push 0
push ebx
push eax
call dword [ecx + 0x18]
jmp 0x414fe2
push 4
pop eax
cmp ax, word [ebx + 8]
jne 0x41501a
push 0x104
mov ecx, str._script:
lea eax, [ebp - 0x51c]
call fcn.00401aca
pop ecx
mov ecx, dword [ebx + 0x10]
push 0xfa
lea eax, [ebp - 0x50c]
call fcn.00401aca
mov ecx, dword [ebp - 0x738]
lea esi, [ebp - 0x314]
mov dword [ebp - 0x730], ecx
mov dword [esp], str.script
call fcn.00444a59
pop ecx
push dword [ebx + 0x10]
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str..ico
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x414fad
mov word [ebp - 0x314], ax
push 0x74
mov eax, edi
call fcn.00443c5c
mov esi, eax
call fcn.00405fd8
test al, al
je 0x414fc6
mov eax, dword [esi + 0x10]
jmp 0x414fcf
push dword [ebx + 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x80
mov ecx, eax
lea eax, [ebp - 0x10c]
call fcn.00401aca
pop ecx
cmp dword [ebp - 0x730], 0
je 0x41501a
lea eax, [ebp - 0x72c]
push eax
push dword [ebp - 0x740]
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x51c]
push eax
push dword [ebp - 0x730]
lea ebx, [ebp - 0x314]
call fcn.00414bab
add esp, 0x14
cmp dword [ebp - 0x72c], 0
je 0x415048
mov eax, dword [ebp - 0x73c]
push dword [ebp - 0x72c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x72c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x72c], 0
add dword [ebp - 0x734], 0x20
dec dword [ebp - 0x744]
jne 0x414df2
mov eax, dword [ebp - 0x73c]
mov ecx, dword [ebp - 0x748]
mov dword [ecx], eax
mov ecx, dword [ebp - 8]
mov al, byte [ebp - 0x725]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00447d7e
leave
ret