Function at 0x466f00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f77e
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x62cf50]
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 + 0x14]
lea ecx, [ebp - 0x64]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0xb8], eax
xor eax, eax
push 0xb
push str.imjpdct.exe
mov dword [ebp - 0xb4], esi
mov byte [ebp - 0xad], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
call fcn.00409db0
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 - 0x44], eax
jb 0x466f8f
mov edi, dword [edi]
cmp eax, 8
jae 0x466fa4
movups xmm0, xmmword [edi]
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x466fe5
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.00409eb0
mov ecx, eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x28], ecx
lea eax, [eax*2 + 2]
push eax
push edi
push ecx
call fcn.0056a3d0
mov eax, dword [ebp - 0x44]
add esp, 0xc
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0xb4]
mov dword [ebp - 0x18], eax
push 1
push 0x5c0584
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040f730
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
push dword [ebp - 0x54]
cmovae eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x28]
push eax
call fcn.0040f730
lea eax, [ebp - 0x28]
push eax
push eax
call fcn.00431160
add esp, 8
test al, al
jne 0x4670ca
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x467065
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 2
cmp edx, 0x1000
jb 0x46705b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4678b2
push edx
push ecx
call fcn.0040a1a2
add esp, 8
mov edx, dword [ebp - 0x50]
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 0x4677c7
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 3
cmp edx, 0x1000
jb 0x4670bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4678b2
push edx
push ecx
call fcn.0040a1a2
add esp, 8
jmp 0x4677c7
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 0x467187
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x467122
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 4
cmp edx, 0x1000
jb 0x467118
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4678b2
push edx
push ecx
call fcn.0040a1a2
add esp, 8
mov edx, dword [ebp - 0x50]
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 0x4677c7
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 5
cmp edx, 0x1000
jb 0x467178
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4678b2
push edx
push ecx
call fcn.0040a1a2
add esp, 8
jmp 0x4677c7
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 6
push eax
push esi
call fcn.00431160
add esp, 8
test al, al
jne 0x4672a3
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4671f2
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 7
cmp edx, 0x1000
jb 0x4671e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4678b2
push edx
push ecx
call fcn.0040a1a2
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 0x467244
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 8
cmp edx, 0x1000
jb 0x46723a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4678b2
push edx
push ecx
call fcn.0040a1a2
add esp, 8
mov edx, dword [ebp - 0x50]
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 0x4677c7
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 9
cmp edx, 0x1000
jb 0x4670bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4678b2
jmp 0x4670bb
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.00461390
add esp, 8
test al, al
jne 0x467340
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00461390
add esp, 8
test al, al
jne 0x467340
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xa
cmp eax, 8
jb 0x4672e5
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040a5e0
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 0x467312
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 4], 0xc
cmp eax, 8
jb 0x4677c7
inc eax
push eax
jmp 0x4677bc
push 0x30
lea eax, [ebp - 0xac]
push 0
push eax
call fcn.0056aed0
add esp, 0xc
lea ecx, [ebp - 0xac]
push 0
call fcn.004091d0
mov eax, dword [ebp + 0x10]
sub esp, 8
mov byte [ebp - 4], 0xd
mov edx, esp
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x467376
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [ebp - 0xac]
mov eax, dword [eax + 0x10]
mov dword [edx + 4], eax
call fcn.00409450
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0xac]
call fcn.0040d4f0
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
mov ecx, dword [ebp - 0x4c]
mov byte [ebp - 4], 0xe
test ecx, ecx
je 0x4673f2
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x48]
push ecx
call fcn.00409390
mov ecx, dword [ebp - 0x44]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x4c]
add esp, 0xc
sub ecx, esi
imul ecx
lea ecx, [ebp - 0x4c]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.0040a130
mov esi, dword [ebp - 0xb4]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xac]
test edi, edi
je 0x467479
call fcn.0045be30
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xf
cmp eax, 8
jb 0x46741e
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040a5e0
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], 0x10
cmp eax, 8
jb 0x46744b
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 4], 0x11
cmp eax, 8
jb 0x4677c7
inc eax
push eax
jmp 0x4677bc
lea eax, [ebp - 0xd0]
push eax
call fcn.00419dc0
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x12
call fcn.0040b170
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x14
call fcn.0040a580
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.00461390
add esp, 8
test al, al
jne 0x46757a
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00461390
add esp, 8
test al, al
jne 0x46757a
mov eax, dword [ebp - 0x68]
mov byte [ebp - 4], 0x15
cmp eax, 8
jb 0x4674e7
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x6c], 0
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
call fcn.0045be30
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x16
cmp eax, 8
jb 0x46751f
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040a5e0
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], 0x17
cmp eax, 8
jb 0x46754c
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 4], 0x18
cmp eax, 8
jb 0x4677c7
inc eax
push eax
jmp 0x4677bc
mov eax, dword [ebp - 0x84]
cmp eax, 1
jbe 0x467635
mov eax, dword [ebp - 0x68]
mov byte [ebp - 4], 0x19
cmp eax, 8
jb 0x4675a2
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x6c], 0
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
call fcn.0045be30
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x1a
cmp eax, 8
jb 0x4675da
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040a5e0
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], 0x1b
cmp eax, 8
jb 0x467607
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 4], 0x1c
cmp eax, 8
jb 0x4677c7
inc eax
push eax
jmp 0x4677bc
test eax, eax
je 0x4676f4
lea eax, [ebp - 0x88]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x48]
movlpd qword [ebp - 0x48], xmm0
call fcn.004b6fd0
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 0x1d
mov esi, dword [eax]
mov dword [ebp - 0xb4], esi
cmp esi, eax
je 0x4676d5
cmp dword [esi + 0x24], 0x10
lea edi, [esi + 0x10]
mov eax, edi
jb 0x467674
mov eax, dword [edi]
push 0x5c9bd0
push eax
call fcn.00575689
add esp, 8
test eax, eax
je 0x4676a4
cmp dword [edi + 0x14], 0x10
jb 0x46768e
mov edi, dword [edi]
push 0x5c9bd4
push edi
call fcn.00575689
add esp, 8
test eax, eax
jne 0x4677e8
push 0x5b6ea8
add esi, 0x28
push esi
call fcn.0042e1d0
add esp, 8
test al, al
je 0x4677e8
lea ecx, [ebp - 0xb4]
call fcn.0048ff80
mov esi, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x48]
cmp esi, eax
jne 0x467667
push dword [eax + 4]
lea eax, [ebp - 0x48]
push eax
mov ecx, eax
call fcn.0040a1d0
push 0x40
push dword [ebp - 0x48]
call fcn.0040a1a2
add esp, 8
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0xb8]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x467712
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00409db0
mov byte [ebp - 0xad], 1
mov eax, dword [ebp - 0x68]
mov byte [ebp - 4], 0x24
cmp eax, 8
jb 0x467732
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x6c], 0
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
call fcn.0045be30
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x25
cmp eax, 8
jb 0x46776a
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040a5e0
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], 0x26
cmp eax, 8
jb 0x467797
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 4], 0x27
cmp ecx, 8
jb 0x4677c7
inc ecx
push ecx
push dword [ebp - 0x64]
lea ecx, [ebp - 0x64]
call fcn.0040a5e0
mov al, byte [ebp - 0xad]
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 int.004016cd
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x48]
push dword [eax + 4]
lea eax, [ebp - 0x48]
push eax
mov ecx, eax
call fcn.0040a1d0
push 0x40
push dword [ebp - 0x48]
call fcn.0040a1a2
add esp, 8
mov eax, dword [ebp - 0x68]
mov byte [ebp - 4], 0x1f
cmp eax, 8
jb 0x46781f
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x6c], 0
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
call fcn.0045be30
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x20
cmp eax, 8
jb 0x467857
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040a5e0
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], 0x21
cmp eax, 8
jb 0x467884
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 4], 0x22
cmp eax, 8
jb 0x4677c7
inc eax
push eax
jmp 0x4677bc
call fcn.0056e2db
int3