Function at 0x457600
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5358f4
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x579258]
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 ecx, [ebp - 0x224]
mov dword [ebp - 0x258], esi
call fcn.00416e80
mov dword [ebp - 4], 0
call fcn.00438430
cmp eax, 0x12
jl 0x45765d
lea ecx, [ebp - 0x224]
call fcn.00416f40
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x45766f
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x457689
mov dword [ebp - 0x228], 2
jmp 0x457e54
push str.Shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x238], eax
call fcn.004472c0
mov ecx, eax
test ecx, ecx
je 0x457ebb
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x268], edi
mov byte [ebp - 4], 1
call fcn.004472c0
mov ecx, eax
test ecx, ecx
je 0x457ec5
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x274], esi
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x100
or eax, ecx
mov byte [ebp - 4], 2
jge 0x45770a
push 0x100
lea ecx, [ebp - 0x268]
call fcn.0043e170
mov edi, dword [ebp - 0x268]
push 0x100
push edi
push 0x150a
push dword [ebp - 0x238]
call dword [sym.imp.USER32.dll_LoadStringW]
push dword [ebp - 0x238]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [edi - 8]
push edi
call fcn.00501c22
add esp, 8
test eax, eax
js 0x457ed9
cmp eax, dword [edi - 8]
jg 0x457ed9
mov dword [edi - 0xc], eax
xor ecx, ecx
mov word [edi + eax*2], cx
or eax, 0xffffffff
cmp dword [edi - 0xc], ecx
jne 0x45776a
mov dword [ebp - 0x228], 0x800401fa
jmp 0x457e1f
mov dword [ebp - 0x264], ecx
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 3
push eax
push 0x542bbc
push 1
push 0
push 0x542bcc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, eax
mov dword [ebp - 0x228], ecx
test ecx, ecx
js 0x457e08
mov esi, dword [ebp - 0x258]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4577af
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x270]
call fcn.00458970
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 4
jb 0x4577ce
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x260]
call fcn.00458810
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 5
call fcn.00458d00
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x258]
call fcn.004588b0
mov esi, dword [ebp - 0x258]
lea ecx, [ebp - 0x294]
push esi
mov byte [ebp - 4], 6
call fcn.00458a10
mov dword [ebp - 0x254], 0
mov eax, dword [ebp - 0x264]
lea ecx, [ebp - 0x254]
movups xmm0, xmmword [ebp - 0x294]
push ecx
sub esp, 0x10
mov byte [ebp - 4], 8
mov edx, dword [eax]
mov ecx, esp
push eax
movups xmmword [ecx], xmm0
call dword [edx + 0x24]
mov eax, dword [ebp - 0x254]
test eax, eax
jne 0x45785a
mov dword [ebp - 0x228], 0x80004002
jmp 0x457d86
mov ecx, dword [ebp - 0x270]
test ecx, ecx
jne 0x45786e
xor esi, esi
mov dword [ebp - 0x238], esi
jmp 0x45788b
push ecx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x238], esi
test esi, esi
je 0x457ecf
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x250], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x250]
push edx
push esi
push eax
mov byte [ebp - 4], 0xa
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x250]
test eax, eax
jne 0x4578c0
mov dword [ebp - 0x228], 0x80004002
jmp 0x457d65
mov dword [ebp - 0x24c], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x24c]
push edx
push eax
mov byte [ebp - 4], 0xb
call dword [ecx + 0x58]
mov eax, dword [ebp - 0x24c]
lea edx, [ebp - 0x25c]
mov dword [ebp - 0x25c], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
xor eax, eax
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x25c], eax
jle 0x457d3b
mov edx, 3
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x284], dx
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp - 0x24c]
lea ecx, [ebp - 0x23c]
movups xmm0, xmmword [ebp - 0x284]
push ecx
sub esp, 0x10
mov byte [ebp - 4], 0xd
mov edx, dword [eax]
mov ecx, esp
push eax
movups xmmword [ecx], xmm0
call dword [edx + 0x28]
lea eax, [ebp - 0x284]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [ebp - 0x248], 0
mov eax, dword [ebp - 0x23c]
lea edx, [ebp - 0x248]
push edx
push eax
mov byte [ebp - 4], 0xe
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x230], eax
call fcn.004472c0
mov ecx, eax
test ecx, ecx
je 0x457ebb
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x244], esi
mov edx, dword [ebp - 0x230]
mov byte [ebp - 4], 0xf
test edx, edx
je 0x457c3f
test edx, 0xffff0000
jne 0x457b1a
movzx eax, dx
mov ecx, 0x583214
push 0
mov dword [ebp - 0x234], eax
call fcn.00499b6d
mov ecx, eax
mov dword [ebp - 0x228], 1
mov dword [ebp - 0x22c], ecx
test ecx, ecx
je 0x457c95
mov eax, dword [ebp - 0x234]
shr eax, 4
inc eax
mov dword [ebp - 0x230], eax
push 0
push eax
push 6
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x457a2d
push dword [ebp - 0x234]
push eax
push dword [ebp - 0x22c]
call fcn.00447870
add esp, 0xc
test eax, eax
jne 0x457a5b
push dword [ebp - 0x228]
mov ecx, 0x583214
call fcn.00499b6d
inc dword [ebp - 0x228]
mov ecx, eax
mov dword [ebp - 0x22c], ecx
test ecx, ecx
je 0x457c95
mov eax, dword [ebp - 0x230]
jmp 0x457a04
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x457c95
push 6
push dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x457c95
push dword [ebp - 0x234]
push eax
push dword [ebp - 0x22c]
call fcn.00447870
add esp, 0xc
mov dword [ebp - 0x230], eax
test eax, eax
je 0x457c95
movzx edx, word [eax]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
mov dword [ebp - 0x22c], edx
jge 0x457ada
push edx
lea ecx, [ebp - 0x244]
call fcn.0043e170
mov eax, dword [ebp - 0x230]
mov esi, dword [ebp - 0x244]
movzx edx, word [eax]
jmp 0x457ae0
mov eax, dword [ebp - 0x230]
movzx ecx, dx
add eax, 2
push ecx
push eax
push dword [ebp - 0x22c]
push esi
call fcn.00501e15
push eax
call fcn.00458b30
mov eax, dword [ebp - 0x22c]
add esp, 0x14
cmp eax, dword [esi - 8]
jg 0x457ed9
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
jmp 0x457c95
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x234], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x457b25
sub ecx, dword [ebp - 0x234]
sar ecx, 1
mov dword [ebp - 0x228], ecx
je 0x457c3f
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x240], eax
mov eax, edx
sub eax, esi
sar eax, 1
mov dword [ebp - 0x234], eax
test ecx, ecx
js 0x457ed9
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, dword [ebp - 0x228]
or eax, ecx
jge 0x457b8d
push dword [ebp - 0x228]
lea ecx, [ebp - 0x244]
call fcn.0043e170
mov esi, dword [ebp - 0x244]
mov ecx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x234]
lea edx, [ecx + ecx]
mov dword [ebp - 0x22c], edx
cmp eax, dword [ebp - 0x240]
ja 0x457be3
lea eax, [esi + eax*2]
mov dword [ebp - 0x240], eax
test edx, edx
je 0x457c2b
test eax, eax
jne 0x457bc8
call fcn.004f5bf4
mov dword [eax], 0x16
jmp 0x457c1a
mov eax, dword [esi - 8]
add eax, eax
cmp eax, edx
jb 0x457c0f
push edx
push dword [ebp - 0x240]
push esi
call fcn.004ec550
add esp, 0xc
jmp 0x457c1f
mov eax, dword [esi - 8]
add eax, eax
test edx, edx
je 0x457c2b
cmp eax, edx
jb 0x457c03
mov eax, dword [ebp - 0x230]
push edx
push eax
push esi
call fcn.004ebfd0
add esp, 0xc
jmp 0x457c1f
push eax
push 0
push esi
call fcn.004ecad0
add esp, 0xc
call fcn.004f5bf4
mov dword [eax], 0x22
call fcn.004f5b1a
mov ecx, dword [ebp - 0x228]
mov edx, dword [ebp - 0x22c]
cmp ecx, dword [esi - 8]
jg 0x457ed9
xor eax, eax
mov dword [esi - 0xc], ecx
mov word [edx + esi], ax
jmp 0x457c95
cmp dword [esi - 0xc], 0
lea edx, [esi - 0x10]
mov eax, dword [edx]
mov dword [ebp - 0x240], eax
je 0x457c95
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x457c71
cmp dword [esi - 8], 0
jl 0x457ed9
xor eax, eax
mov dword [esi - 0xc], 0
mov word [esi], ax
jmp 0x457c95
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x457c85
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x240]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov ecx, edi
mov eax, esi
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x457cce
test dx, dx
je 0x457cc2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x457cce
add eax, 4
add ecx, 4
test dx, dx
jne 0x457ca0
mov dword [ebp - 0x230], 0
jmp 0x457cd9
sbb ecx, ecx
or ecx, 1
mov dword [ebp - 0x230], ecx
mov byte [ebp - 4], 0xe
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x457cf5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x230], 0
je 0x457e80
push dword [ebp - 0x248]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x23c]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x457d22
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x26c]
inc eax
mov dword [ebp - 0x26c], eax
cmp eax, dword [ebp - 0x25c]
jl 0x45790c
mov dword [ebp - 0x228], 0x80004005
mov eax, dword [ebp - 0x24c]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x457d59
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x238]
mov eax, dword [ebp - 0x250]
mov byte [ebp - 4], 9
test eax, eax
je 0x457d73
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x254]
mov esi, dword [ebp - 0x258]
mov byte [ebp - 4], 7
test eax, eax
je 0x457d94
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x294]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 5
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x457dbd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x260]
or esi, 0xffffffff
mov byte [ebp - 4], 4
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x457de1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x270]
mov eax, esi
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x457e02
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x274]
mov eax, dword [ebp - 0x264]
mov byte [ebp - 4], 2
test eax, eax
je 0x457e1c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or eax, 0xffffffff
mov byte [ebp - 4], 1
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x457e38
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x457e54
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x224]
call fcn.00416ea0
mov eax, dword [ebp - 0x228]
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.00460412
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x23c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
push dword [ebp - 0x248]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x23c]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x457eac
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x228], 0
jmp 0x457d45
push 0x80004005
call fcn.0043e090
push 0x80004005
call fcn.0043e090
push 0x8007000e
call fcn.0043e090
push 0x80070057
call fcn.0043e090
int3