Function at 0x458650
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a308
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x5c7cec]
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 - 0x40]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x10]
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 byte [ebp - 0x59], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00408740
cmp dword [esi + 0x14], 8
mov edi, dword [esi + 0x10]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
jb 0x4586d6
mov esi, dword [esi]
cmp edi, 8
jae 0x4586eb
movups xmm0, xmmword [esi]
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x45876a
mov eax, edi
mov ecx, 0x7ffffffe
or eax, 7
cmp eax, ecx
cmova eax, ecx
mov dword [ebp - 0x60], eax
inc eax
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x45870d
or ecx, 0xffffffff
jmp 0x458715
cmp ecx, 0x1000
jb 0x45873c
lea eax, [ecx + 0x23]
or edx, 0xffffffff
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.00406909
add esp, 4
test eax, eax
je 0x45896e
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x45874f
test ecx, ecx
je 0x45874d
push ecx
call fcn.00406909
add esp, 4
mov ecx, eax
jmp 0x45874f
xor ecx, ecx
lea eax, [edi*2 + 2]
mov dword [ebp - 0x28], ecx
push eax
push esi
push ecx
call fcn.005285f0
mov eax, dword [ebp - 0x60]
add esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edi
push 1
push 0x56999c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040cd80
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
call fcn.0040cd80
lea eax, [ebp - 0x28]
push eax
push eax
call fcn.004264a0
add esp, 8
test al, al
je 0x4587f2
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
je 0x4587f2
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov edi, dword [ebp - 0x64]
lea eax, [ebp - 0x58]
push eax
push edi
mov byte [ebp - 4], 2
call fcn.004264a0
add esp, 8
test al, al
jne 0x458807
lea ecx, [ebp - 0x58]
call fcn.00408e50
lea ecx, [ebp - 0x28]
call fcn.00408e50
lea ecx, [ebp - 0x40]
call fcn.00408e50
jmp 0x458950
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.00456680
add esp, 8
test al, al
jne 0x45882c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00456680
add esp, 8
test al, al
je 0x4587ea
mov esi, dword [ebp - 0x68]
cmp dword [esi + 0x10], 0
je 0x458854
push edi
push esi
call fcn.00456680
add esp, 8
test al, al
jne 0x458854
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.00456680
add esp, 8
test al, al
je 0x4587ea
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x45886f
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00408740
mov byte [ebp - 0x59], 1
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x4588b1
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4588a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45896e
push edx
push ecx
call fcn.004097e6
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x4588ff
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4588f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45896e
push edx
push ecx
call fcn.004097e6
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 4], 5
cmp edx, 8
jb 0x458950
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x458946
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458973
push edx
push ecx
call fcn.004097e6
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.0040154f
mov esp, ebp
pop ebp
ret
call fcn.0052cae1
call fcn.0052cae1
int3