Function at 0x45d0c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571829
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x5edd38]
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 - 0x80]
mov edi, dword [ebp + 0xc]
push 0
push str._verclsid.exe
push 0x25
push eax
mov byte [ebp - 0xcd], 0
call fcn.0042f230
push 0
push str._verclsid.exe
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 0
push 0x29
push eax
call fcn.0042f230
add esp, 0x20
push 0xc
xor eax, eax
mov byte [ebp - 4], 1
push str.verclsid.exe
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
call fcn.00408f30
cmp dword [esi + 0x10], 0
mov byte [ebp - 4], 2
je 0x45d931
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x45d167
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45d931
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x45d180
mov eax, dword [esi]
push eax
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
je 0x45d931
lea eax, [ebp - 0x80]
push eax
push esi
call fcn.00459270
add esp, 8
test al, al
jne 0x45d234
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.00459270
add esp, 8
test al, al
jne 0x45d234
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 6
cmp eax, 8
jb 0x45d1ce
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 7
cmp eax, 8
jb 0x45d1fb
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 4], 8
cmp eax, 8
jb 0x45da19
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.0040a2e0
jmp 0x45da19
cmp dword [edi + 0x10], 0
jne 0x45d2b9
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 9
cmp eax, 8
jb 0x45d253
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 0xa
cmp eax, 8
jb 0x45d280
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 4], 0xb
cmp eax, 8
jb 0x45da19
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.0040a2e0
jmp 0x45da19
push 0x30
lea eax, [ebp - 0xcc]
push 0
push eax
call fcn.0053f340
add esp, 0xc
lea ecx, [ebp - 0xcc]
push 0
call fcn.00408cb0
push edi
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0xc
call fcn.004090a0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0xcc]
push eax
movq qword [ebp - 0x1c], xmm0
call fcn.0040c060
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0xcc]
call fcn.004172f0
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xe
call fcn.0040a1e0
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 0x10
call fcn.0040a280
lea eax, [ebp - 0x68]
push esi
push eax
call fcn.00459270
add esp, 8
test al, al
jne 0x45d4a1
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00459270
add esp, 8
test al, al
jne 0x45d4a1
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xd4], eax
cmp esi, dword [ebp - 0x14]
je 0x45d494
cmp eax, esi
jne 0x45d393
lea eax, [ebp - 0x68]
mov ecx, esi
push eax
call fcn.0040a1e0
add dword [ebp - 0x18], 0x18
jmp 0x45d4a1
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0x98]
lea eax, [ebp - 0x68]
push eax
call fcn.0040a1e0
movups xmm0, xmmword [esi - 0x18]
mov edx, dword [ebp - 0xd4]
lea eax, [esi - 0x18]
xor ecx, ecx
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
add dword [ebp - 0x18], 0x18
cmp edx, eax
je 0x45d45e
add esi, 0xfffffffc
lea esi, [esi - 0x18]
lea eax, [esi - 0x14]
lea edi, [esi + 4]
cmp edi, eax
je 0x45d45a
mov ecx, dword [esi + 0x18]
cmp ecx, 8
jb 0x45d436
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
mov byte [ebp - 4], 0x11
cmp ecx, 0x1000
jb 0x45d423
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45da3a
mov eax, edx
push ecx
push eax
call fcn.00409f25
mov edx, dword [ebp - 0xd4]
lea eax, [esi - 0x14]
add esp, 8
movups xmm0, xmmword [esi - 0x14]
xor ecx, ecx
movups xmmword [edi], xmm0
movq xmm0, qword [esi - 4]
movq qword [edi + 0x10], xmm0
mov dword [esi - 4], 0
mov dword [esi], 7
mov word [esi - 0x14], cx
cmp edx, eax
jne 0x45d3e3
lea eax, [ebp - 0x98]
mov ecx, edx
push eax
call fcn.0040f610
mov eax, dword [ebp - 0x84]
mov byte [ebp - 4], 0x12
cmp eax, 8
jb 0x45d48e
inc eax
lea ecx, [ebp - 0x98]
push eax
push dword [ebp - 0x98]
call fcn.0040a2e0
mov byte [ebp - 4], 0x10
jmp 0x45d4a1
lea ecx, [ebp - 0x68]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040a970
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x1c]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0xd4], eax
jne 0x45d583
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 0x13
cmp eax, 8
jb 0x45d4dd
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
call fcn.0042f510
lea ecx, [ebp - 0xcc]
call fcn.00453bd0
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x14
cmp eax, 8
jb 0x45d51d
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 0x15
cmp eax, 8
jb 0x45d54a
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 4], 0x16
cmp eax, 8
jb 0x45da19
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.0040a2e0
jmp 0x45da19
xor esi, esi
test eax, eax
je 0x45d70b
xor edi, edi
nop
mov eax, dword [ebp - 0x1c]
add eax, edi
push 0x5946b8
push eax
mov dword [ebp - 0x20], eax
call fcn.00429c00
add esp, 8
test al, al
jne 0x45d6fb
push 0x5946c0
push dword [ebp - 0x20]
call fcn.00429c00
add esp, 8
test al, al
jne 0x45d6b4
push 0x5946c8
push dword [ebp - 0x20]
call fcn.00429c00
add esp, 8
test al, al
jne 0x45d6b4
push 0x5946d0
push dword [ebp - 0x20]
call fcn.00429c00
add esp, 8
test al, al
je 0x45d827
inc esi
add edi, 0x18
cmp esi, dword [ebp - 0xd4]
je 0x45d827
mov eax, dword [ebp - 0x1c]
add eax, edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0xd8], eax
cmp dword [eax + 0x10], 0
je 0x45d827
push eax
call fcn.0040bab0
add esp, 4
test al, al
je 0x45d827
push dword [ebp - 0xd8]
lea eax, [ebp - 0x98]
push eax
call fcn.0040baf0
cmp dword [ebp - 0x84], 0x10
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0x17
cmovae eax, dword [ebp - 0x98]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.00498c30
add esp, 0x10
test al, al
je 0x45d81c
mov eax, dword [ebp - 0x20]
test eax, 0x400
je 0x45d81c
test eax, 0x7fe02bc0
jne 0x45d81c
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x10
call fcn.0040ba20
jmp 0x45d6fb
inc esi
add edi, 0x18
cmp esi, dword [ebp - 0xd4]
je 0x45d827
mov eax, dword [ebp - 0x1c]
xorps xmm0, xmm0
add eax, edi
movups xmmword [ebp - 0x90], xmm0
cmp dword [eax + 0x10], 0
je 0x45d827
cmp dword [eax + 0x14], 8
jb 0x45d6e5
mov eax, dword [eax]
lea ecx, [ebp - 0x90]
push ecx
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
js 0x45d827
inc esi
add edi, 0x18
cmp esi, dword [ebp - 0xd4]
jb 0x45d590
mov byte [ebp - 0xcd], 1
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 0x1d
cmp eax, 8
jb 0x45d72b
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x1e
test eax, eax
je 0x45d792
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x18]
push eax
call fcn.00408e70
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x1c]
add esp, 0xc
sub ecx, esi
imul ecx
lea ecx, [ebp - 0x1c]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.0040a140
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0xcc]
call fcn.00453bd0
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x1f
cmp eax, 8
jb 0x45d7b6
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 0x20
cmp eax, 8
jb 0x45d7e3
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 4], 0x21
cmp eax, 8
jb 0x45da19
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.0040a2e0
jmp 0x45da19
lea ecx, [ebp - 0x98]
call fcn.0040ba20
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 0x18
cmp eax, 8
jb 0x45d840
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x19
test eax, eax
je 0x45d8a7
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x18]
push eax
call fcn.00408e70
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x1c]
add esp, 0xc
sub ecx, esi
imul ecx
lea ecx, [ebp - 0x1c]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.0040a140
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0xcc]
call fcn.00453bd0
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x1a
cmp eax, 8
jb 0x45d8cb
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 0x1b
cmp eax, 8
jb 0x45d8f8
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 4], 0x1c
cmp eax, 8
jb 0x45da19
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.0040a2e0
jmp 0x45da19
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x45d96f
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 3
cmp edx, 0x1000
jb 0x45d965
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45da3a
push edx
push ecx
call fcn.00409f25
add esp, 8
mov edx, dword [ebp - 0x3c]
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
cmp edx, 8
jb 0x45d9c1
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 4
cmp edx, 0x1000
jb 0x45d9b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45da3a
push edx
push ecx
call fcn.00409f25
add esp, 8
mov edx, dword [ebp - 0x6c]
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x45da19
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 5
cmp edx, 0x1000
jb 0x45da0f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45da3a
push edx
push ecx
call fcn.00409f25
add esp, 8
mov al, byte [ebp - 0xcd]
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.00401682
mov esp, ebp
pop ebp
ret
call fcn.0054223b
int3