Function at 0x4821d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52447e
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x579630]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x7c]
mov edi, dword [ebp + 0xc]
push 0
push str._verclsid.exe
push 0x25
push eax
mov byte [ebp - 0xbd], 0
call fcn.0042ef80
push 0
push str._verclsid.exe
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0
push 0x29
push eax
call fcn.0042ef80
add esp, 0x20
push 0xc
xor eax, eax
mov byte [ebp - 4], 1
push str.verclsid.exe
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
call fcn.00407750
cmp dword [esi + 0x10], 0
mov byte [ebp - 4], 2
je 0x48259b
mov ecx, esi
call fcn.00423ea0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48259b
mov ecx, esi
call fcn.00423ea0
push eax
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
je 0x48259b
lea eax, [ebp - 0x7c]
push eax
push esi
call fcn.00445c30
add esp, 8
test al, al
jne 0x4822bf
lea eax, [ebp - 0x4c]
push eax
push esi
call fcn.00445c30
add esp, 8
test al, al
je 0x48259b
cmp dword [edi + 0x10], 0
je 0x48259b
push 0x30
lea eax, [ebp - 0xac]
push 0
push eax
call fcn.004f9050
add esp, 0xc
lea ecx, [ebp - 0xac]
push 0
call fcn.00407610
push edi
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 3
call fcn.004079b0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0xac]
push eax
movq qword [ebp - 0x1c], xmm0
call fcn.00409b70
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0xac]
call fcn.00414690
xor ecx, ecx
mov byte [ebp - 4], 5
push 0xffffffffffffffff
push ecx
mov word [ebp - 0x64], cx
lea ecx, [ebp - 0x64]
push eax
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
call fcn.00407d00
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 7
call fcn.004087d0
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.00445c30
add esp, 8
test al, al
jne 0x48239d
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00445c30
add esp, 8
test al, al
jne 0x48239d
lea eax, [ebp - 0x64]
push eax
push 1
push dword [ebp - 0x1c]
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040f4f0
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x1c]
sub ecx, edi
imul ecx
mov dword [ebp - 0xc8], edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0xc4], eax
je 0x48252e
xor esi, esi
test eax, eax
je 0x482527
mov eax, dword [ebp - 0xc8]
xor edi, edi
lea ebx, [ebx]
add eax, edi
push 2
push 0x535bbc
mov ecx, eax
push dword [eax + 0x10]
push 0
call fcn.004089f0
test eax, eax
je 0x48250a
mov eax, dword [ebp - 0xc8]
push 2
add eax, edi
push 0x535bc4
mov ecx, eax
push dword [eax + 0x10]
push 0
call fcn.004089f0
test eax, eax
je 0x4824c8
mov eax, dword [ebp - 0xc8]
push 2
add eax, edi
push 0x535bcc
mov ecx, eax
push dword [eax + 0x10]
push 0
call fcn.004089f0
test eax, eax
je 0x4824c8
mov eax, dword [ebp - 0xc8]
add eax, edi
push 0x535bd4
push eax
call fcn.004266c0
add esp, 8
test al, al
je 0x48247f
inc esi
add edi, 0x18
cmp esi, dword [ebp - 0xc4]
je 0x48247f
mov eax, dword [ebp - 0x1c]
add eax, edi
push eax
call fcn.00480860
add esp, 4
test al, al
jne 0x48250a
mov ecx, dword [ebp - 0x1c]
cmp dword [ebp - 0x50], 8
jb 0x482496
push dword [ebp - 0x64]
call fcn.004085be
mov ecx, dword [ebp - 0x1c]
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
test ecx, ecx
je 0x48258c
push dword [ebp - 0xc4]
lea eax, [ebp - 0xbe]
push eax
push dword [ebp - 0x18]
push ecx
jmp 0x482567
inc esi
add edi, 0x18
cmp esi, dword [ebp - 0xc4]
je 0x48247f
mov ecx, dword [ebp - 0x1c]
xorps xmm0, xmm0
cmp dword [ecx + edi + 0x10], 0
lea eax, [ecx + edi]
movdqu xmmword [ebp - 0xbc], xmm0
je 0x482482
cmp dword [eax + 0x14], 8
jb 0x4824f4
mov eax, dword [eax]
lea ecx, [ebp - 0xbc]
push ecx
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
js 0x48247f
inc esi
add edi, 0x18
cmp esi, dword [ebp - 0xc4]
jae 0x482524
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc8], eax
jmp 0x4823e0
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 0xbd], 1
cmp dword [ebp - 0x50], 8
jb 0x482542
push dword [ebp - 0x64]
call fcn.004085be
mov edi, dword [ebp - 0x1c]
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
mov dword [ebp - 0x54], eax
test edi, edi
je 0x48258c
push dword [ebp - 0xc4]
lea eax, [ebp - 0xbe]
push eax
push dword [ebp - 0x18]
push edi
call fcn.00408580
push dword [ebp - 0x1c]
call fcn.004085be
add esp, 0x14
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 2
call fcn.00440330
cmp dword [ebp - 0x20], 8
jb 0x4825ac
push dword [ebp - 0x34]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp - 0x20], 7
cmp dword [ebp - 0x38], 8
mov word [ebp - 0x34], ax
mov dword [ebp - 0x24], eax
jb 0x4825cd
push dword [ebp - 0x4c]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp - 0x38], 7
cmp dword [ebp - 0x68], 8
mov word [ebp - 0x4c], ax
mov dword [ebp - 0x3c], eax
jb 0x4825ee
push dword [ebp - 0x7c]
call fcn.004085be
add esp, 4
mov al, byte [ebp - 0xbd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401590
mov esp, ebp
pop ebp
ret