Function at 0x44ba07
Capabilities:
Check if file exists

Disassembly:
push 0xf4
mov eax, 0x4579fa
call fcn.004240ea
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xb0], edi
cmp dword [esi + 0x14], 8
jb 0x44ba2c
mov eax, dword [esi]
jmp 0x44ba2e
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44bf55
push ecx
push 0xa
xor edx, edx
pop ecx
call fcn.0040188e
pop ecx
push 2
pop ebx
test eax, eax
je 0x44baf5
cmp edi, 1
je 0x44ba61
cmp edi, ebx
jne 0x44baf5
cmp dword [esi + 0x14], 8
jb 0x44ba69
mov esi, dword [esi]
push esi
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
mov esi, eax
mov dword [ebp - 0xc8], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
test esi, esi
jne 0x44ba85
mov edi, ebx
jmp 0x44bae7
mov dword [ebp - 0xa0], ebx
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 1
push eax
push 0x46473c
push 0x17
push ebx
push 0x4647a0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x44bab1
mov edi, ebx
jmp 0x44bad4
mov eax, dword [ebp - 0xa0]
push SysReAllocString
mov ecx, dword [eax]
cmp edi, 1
jne 0x44bac7
push esi
push ebx
jmp 0x44bac9
push ebx
push esi
push eax
call dword [ecx + 0x40]
mov edi, eax
not edi
shr edi, 0x1f
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0xa0]
test ecx, ecx
je 0x44bae7
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, edi
jmp 0x44bf55
lea ecx, [ebp - 0xc4]
call fcn.0044b6e7
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0xc4]
test eax, eax
jne 0x44bb14
xor esi, esi
jmp 0x44bf45
lea eax, [ebp - 0x7c]
push esi
mov ecx, eax
mov dword [ebp - 0x80], eax
call fcn.00401b05
push 3
pop eax
mov byte [ebp - 4], al
lea ecx, [ebp - 0x80]
lea eax, [ebp - 0x98]
push eax
call fcn.004019fe
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 4
call fcn.004019db
xor ebx, ebx
mov dword [ebp - 0xc0], ebx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x80]
cmp dword [eax + 0x14], 8
jb 0x44bb5a
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xf0]
call fcn.00401cfe
lea esi, [ebp - 0xc0]
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xc4]
push esi
sub esp, 0x10
mov esi, eax
mov edi, esp
mov edx, dword [ecx]
push ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [edx + 0x24]
test eax, eax
lea eax, [ebp - 0xf0]
push eax
sets byte [ebp - 0x99]
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp byte [ebp - 0x99], 0
je 0x44bbae
mov esi, ebx
jmp 0x44bf12
mov dword [ebp - 0xbc], ebx
mov byte [ebp - 4], 7
lea eax, [ebp - 0x98]
cmp dword [ebp - 0x84], 8
lea ecx, [ebp - 0xb4]
mov esi, dword [ebp - 0xc0]
cmovae eax, dword [ebp - 0x98]
push eax
call fcn.00401cb0
lea edx, [ebp - 0xbc]
mov byte [ebp - 4], 8
mov ecx, dword [esi]
push edx
push dword [eax]
push esi
call dword [ecx + 0x30]
test eax, eax
mov byte [ebp - 4], 7
push dword [ebp - 0xb4]
sets byte [ebp - 0x99]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp byte [ebp - 0x99], 0
je 0x44bc1a
mov esi, ebx
jmp 0x44befe
mov edx, dword [ebp - 0xb0]
lea ecx, [ebp - 0x64]
call fcn.0044b56c
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 0xa
cmp byte [ebp - 0x48], al
je 0x44bcb7
mov esi, str.explorer.exe
mov dword [ebp - 0x14], ecx
push esi
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
call fcn.004293b5
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00401419
mov byte [ebp - 4], 0xb
mov eax, dword fs:[0x30]
mov ecx, dword [eax + 0x10]
add ecx, 0x38
mov dword [ebp - 0x44], ecx
movzx eax, word [ecx]
push eax
push dword [ecx + 4]
lea ecx, [ebp - 0x40]
call fcn.00401419
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x44]
push dword [eax + 4]
call fcn.0042c4fb
mov ax, word [ebp - 0x18]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x44]
push ebx
push 1
mov byte [ebp - 4], 0xa
mov word [ecx], ax
lea ecx, [ebp - 0x28]
call fcn.004016ce
cmp dword [ebp - 0x54], 0
je 0x44bd14
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
lea ecx, [ebp - 0x100]
cmovae eax, dword [ebp - 0x64]
push eax
call fcn.00401cfe
sub esp, 0x10
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0xbc]
mov edi, esp
mov esi, eax
push ecx
mov edx, dword [ecx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [edx + 0x5c]
xor ecx, ecx
test eax, eax
lea eax, [ebp - 0x100]
setns cl
push eax
mov dword [ebp - 0xa0], ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, dword [ebp - 0xa0]
jmp 0x44beeb
cmp dword [ebp - 0x4c], 0xffffffff
je 0x44bee9
mov dword [ebp - 0xac], ebx
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 0xbc]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x58]
test eax, eax
js 0x44bfbb
mov eax, dword [ebp - 0xac]
lea edx, [ebp - 0xb0]
mov dword [ebp - 0xb0], ebx
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
js 0x44bfbb
push str.Shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, eax
mov eax, ebx
test ecx, ecx
cmovne eax, ecx
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xcc], eax
test eax, eax
je 0x44bfbb
mov esi, dword [ebp - 0x4c]
push ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0xb4]
mov edx, esi
call fcn.00401c7c
test eax, eax
je 0x44bdb7
movzx ecx, word [eax]
add eax, 2
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
jmp 0x44bdb9
mov eax, ebx
mov dword [ebp - 0xa8], eax
test eax, eax
jne 0x44bdca
mov esi, ebx
jmp 0x44bfa6
mov ecx, ebx
mov dword [ebp - 0xa0], ebx
cmp dword [ebp - 0xb0], ecx
jle 0x44bec2
mov dword [ebp - 0xa4], ebx
push 3
pop eax
mov word [ebp - 0xe0], ax
mov dword [ebp - 0xd8], ecx
lea edx, [ebp - 0xa4]
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0xac]
lea esi, [ebp - 0xe0]
push edx
sub esp, 0x10
mov edi, esp
mov ecx, dword [eax]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x28]
test eax, eax
lea eax, [ebp - 0xe0]
push eax
sets byte [ebp - 0x99]
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp byte [ebp - 0x99], 0
jne 0x44bf8a
mov dword [ebp - 0xb8], ebx
mov byte [ebp - 4], 0x12
lea edx, [ebp - 0xb8]
mov eax, dword [ebp - 0xa4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
js 0x44bf7a
push ebx
push 0x400
push dword [ebp - 0xa8]
push dword [ebp - 0xb8]
call dword [sym.imp.OLEAUT32.dll_VarR8Pow]
cmp eax, 1
je 0x44bf5d
push dword [ebp - 0xb8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x44bea3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xa0]
inc ecx
mov dword [ebp - 0xa0], ecx
cmp ecx, dword [ebp - 0xb0]
jl 0x44bdde
mov eax, dword [ebp - 0xa8]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0xb4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x44bee9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, ebx
lea ecx, [ebp - 0x44]
call fcn.00401956
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.004016ce
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xbc]
test eax, eax
je 0x44bf12
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x44bf26
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
push 1
lea ecx, [ebp - 0x98]
call fcn.004016ce
push ebx
push 1
lea ecx, [ebp - 0x7c]
call fcn.004016ce
mov eax, dword [ebp - 0xc4]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x44bf53
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
call fcn.00424094
ret 8
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
xor ecx, ecx
test eax, eax
setns cl
mov dword [ebp - 0xa0], ecx
mov esi, ecx
jmp 0x44bf7c
mov esi, ebx
push dword [ebp - 0xb8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x44bf8c
mov esi, ebx
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x44bfa0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xa8]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0xb4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x44bfbd
mov esi, ebx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x44beeb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x44beeb