Function at 0x45ec10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57190e
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
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 + 0x10]
lea ecx, [ebp - 0x64]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xbc], 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.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 - 0x44], eax
jb 0x45eca8
mov edi, dword [edi]
cmp eax, 8
jae 0x45ecbd
movups xmm0, xmmword [edi]
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x45ecfe
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 - 0x44]
mov dword [ebp - 0x28], ecx
lea eax, [eax*2 + 2]
push eax
push edi
push ecx
call fcn.0053e840
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 0x58f23c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040ddb0
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.0040ddb0
lea eax, [ebp - 0x28]
push eax
push eax
call fcn.0042c5d0
add esp, 8
test al, al
jne 0x45ede3
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x45ed7e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 2
cmp edx, 0x1000
jb 0x45ed74
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f5bb
push edx
push ecx
call fcn.00409f25
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 0x45f4d0
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 3
cmp edx, 0x1000
jb 0x45edd4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f5bb
push edx
push ecx
call fcn.00409f25
add esp, 8
jmp 0x45f4d0
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 0x45eea0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x45ee3b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 4
cmp edx, 0x1000
jb 0x45ee31
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f5bb
push edx
push ecx
call fcn.00409f25
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 0x45f4d0
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 5
cmp edx, 0x1000
jb 0x45ee91
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f5bb
push edx
push ecx
call fcn.00409f25
add esp, 8
jmp 0x45f4d0
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.0042c5d0
add esp, 8
test al, al
jne 0x45efbc
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x45ef0b
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 7
cmp edx, 0x1000
jb 0x45ef01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f5bb
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 0x45ef5d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 8
cmp edx, 0x1000
jb 0x45ef53
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f5bb
push edx
push ecx
call fcn.00409f25
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 0x45f4d0
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 9
cmp edx, 0x1000
jb 0x45edd4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f5bb
jmp 0x45edd4
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.00459270
add esp, 8
test al, al
jne 0x45f059
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00459270
add esp, 8
test al, al
jne 0x45f059
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xa
cmp eax, 8
jb 0x45effe
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 0x45f02b
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 - 0x50]
mov dword [ebp - 4], 0xc
cmp eax, 8
jb 0x45f4d0
inc eax
push eax
jmp 0x45f4c5
push 0x30
lea eax, [ebp - 0xac]
push 0
push eax
call fcn.0053f340
add esp, 0xc
lea ecx, [ebp - 0xac]
push 0
call fcn.00408cb0
push dword [ebp - 0xb8]
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0xd
call fcn.004090a0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0xac]
call fcn.0040c060
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 0x45f0f7
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x48]
push ecx
call fcn.00408e70
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.0040a140
mov esi, dword [ebp - 0xb4]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xac]
test edi, edi
je 0x45f17e
call fcn.00453bd0
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xf
cmp eax, 8
jb 0x45f123
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], 0x10
cmp eax, 8
jb 0x45f150
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 - 0x50]
mov dword [ebp - 4], 0x11
cmp eax, 8
jb 0x45f4d0
inc eax
push eax
jmp 0x45f4c5
lea eax, [ebp - 0xd4]
push eax
call fcn.004172f0
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x12
call fcn.0040a1e0
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0x14
call fcn.0040a280
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.00459270
add esp, 8
test al, al
jne 0x45f27f
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00459270
add esp, 8
test al, al
jne 0x45f27f
mov eax, dword [ebp - 0x68]
mov byte [ebp - 4], 0x15
cmp eax, 8
jb 0x45f1ec
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x6c], 0
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
call fcn.00453bd0
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x16
cmp eax, 8
jb 0x45f224
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], 0x17
cmp eax, 8
jb 0x45f251
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 - 0x50]
mov dword [ebp - 4], 0x18
cmp eax, 8
jb 0x45f4d0
inc eax
push eax
jmp 0x45f4c5
mov eax, dword [ebp - 0x84]
cmp eax, 1
jbe 0x45f33a
mov eax, dword [ebp - 0x68]
mov byte [ebp - 4], 0x19
cmp eax, 8
jb 0x45f2a7
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x6c], 0
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
call fcn.00453bd0
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x1a
cmp eax, 8
jb 0x45f2df
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], 0x1b
cmp eax, 8
jb 0x45f30c
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 - 0x50]
mov dword [ebp - 4], 0x1c
cmp eax, 8
jb 0x45f4d0
inc eax
push eax
jmp 0x45f4c5
test eax, eax
je 0x45f3fd
lea eax, [ebp - 0x88]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x48]
movlpd qword [ebp - 0x48], xmm0
call fcn.004a7ce0
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 0x1d
mov esi, dword [eax]
mov dword [ebp - 0xb4], esi
cmp esi, eax
je 0x45f3de
nop dword [eax]
cmp dword [esi + 0x24], 0x10
lea edi, [esi + 0x10]
mov eax, edi
jb 0x45f37d
mov eax, dword [edi]
push 0x594730
push eax
call fcn.0054a1d2
add esp, 8
test eax, eax
je 0x45f3ad
cmp dword [edi + 0x14], 0x10
jb 0x45f397
mov edi, dword [edi]
push 0x594734
push edi
call fcn.0054a1d2
add esp, 8
test eax, eax
jne 0x45f4f1
push 0x586454
add esi, 0x28
push esi
call fcn.00429c00
add esp, 8
test al, al
je 0x45f4f1
lea ecx, [ebp - 0xb4]
call fcn.0048ac00
mov esi, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x48]
cmp esi, eax
jne 0x45f370
push dword [eax + 4]
lea eax, [ebp - 0x48]
push eax
mov ecx, eax
call fcn.00453cb0
push 0x40
push dword [ebp - 0x48]
call fcn.00409f25
add esp, 8
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0xbc]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x45f41b
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00408f30
mov byte [ebp - 0xad], 1
mov eax, dword [ebp - 0x68]
mov byte [ebp - 4], 0x24
cmp eax, 8
jb 0x45f43b
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x6c], 0
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
call fcn.00453bd0
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x25
cmp eax, 8
jb 0x45f473
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], 0x26
cmp eax, 8
jb 0x45f4a0
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 ecx, dword [ebp - 0x50]
mov dword [ebp - 4], 0x27
cmp ecx, 8
jb 0x45f4d0
inc ecx
push ecx
push dword [ebp - 0x64]
lea ecx, [ebp - 0x64]
call fcn.0040a2e0
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 fcn.00401682
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.00453cb0
push 0x40
push dword [ebp - 0x48]
call fcn.00409f25
add esp, 8
mov eax, dword [ebp - 0x68]
mov byte [ebp - 4], 0x1f
cmp eax, 8
jb 0x45f528
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x6c], 0
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
call fcn.00453bd0
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x20
cmp eax, 8
jb 0x45f560
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], 0x21
cmp eax, 8
jb 0x45f58d
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 - 0x50]
mov dword [ebp - 4], 0x22
cmp eax, 8
jb 0x45f4d0
inc eax
push eax
jmp 0x45f4c5
call fcn.0054223b
int3