Function at 0x45e710
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571958
mov eax, dword fs:[0]
push eax
sub esp, 0x60
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 eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x58]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x6c], eax
xor eax, eax
push 0xb
push str.imjpuex.exe
mov dword [ebp - 0x64], esi
mov byte [ebp - 0x59], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.00408f30
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x60], eax
jb 0x45e799
mov edi, dword [edi]
cmp eax, 8
jae 0x45e7ae
movups xmm0, xmmword [edi]
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x45e7ec
mov esi, eax
lea ecx, [ebp - 0x28]
mov eax, 0x7ffffffe
or esi, 7
cmp esi, eax
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.00409030
mov ecx, eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x28], ecx
lea eax, [eax*2 + 2]
push eax
push edi
push ecx
call fcn.0053e840
mov eax, dword [ebp - 0x60]
add esp, 0xc
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x18], eax
push 1
push 0x58f23c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040ddb0
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x28]
push eax
call fcn.0040ddb0
lea eax, [ebp - 0x28]
push eax
push eax
call fcn.0042c5d0
add esp, 8
test al, al
jne 0x45e87c
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x45e843
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 4], 3
cmp eax, 8
jb 0x45ebea
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0040a2e0
jmp 0x45ebea
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45e8e4
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x45e8ab
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 4], 5
cmp eax, 8
jb 0x45ebea
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0040a2e0
jmp 0x45ebea
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov edi, dword [ebp - 0x68]
lea eax, [ebp - 0x40]
push eax
push edi
mov byte [ebp - 4], 6
call fcn.0042c5d0
add esp, 8
test al, al
jne 0x45e98f
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 7
cmp eax, 8
jb 0x45e929
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 8
cmp eax, 8
jb 0x45e956
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 4], 9
cmp eax, 8
jb 0x45ebea
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0040a2e0
jmp 0x45ebea
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.00459270
add esp, 8
test al, al
jne 0x45ea37
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00459270
add esp, 8
test al, al
jne 0x45ea37
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xa
cmp eax, 8
jb 0x45e9d1
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xb
cmp eax, 8
jb 0x45e9fe
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 4], 0xc
cmp eax, 8
jb 0x45ebea
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0040a2e0
jmp 0x45ebea
cmp dword [esi + 0x10], 0
je 0x45eae3
push edi
push esi
call fcn.00459270
add esp, 8
test al, al
jne 0x45eae3
lea eax, [ebp - 0x58]
push eax
push esi
call fcn.00459270
add esp, 8
test al, al
jne 0x45eae3
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xd
cmp eax, 8
jb 0x45ea7d
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xe
cmp eax, 8
jb 0x45eaaa
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 4], 0xf
cmp eax, 8
jb 0x45ebea
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0040a2e0
jmp 0x45ebea
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x45eafe
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00408f30
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 0x59], 1
cmp edx, 8
jb 0x45eb40
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 0x10
cmp edx, 0x1000
jb 0x45eb36
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45ec08
push edx
push ecx
call fcn.00409f25
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x45eb92
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 0x11
cmp edx, 0x1000
jb 0x45eb88
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45ec08
push edx
push ecx
call fcn.00409f25
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x45ebea
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 0x12
cmp edx, 0x1000
jb 0x45ebe0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45ec08
push edx
push ecx
call fcn.00409f25
add esp, 8
mov al, byte [ebp - 0x59]
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