Function at 0x473c50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5092ce
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x556620]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x7c]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0xb4], eax
xor eax, eax
push 0xb
push str.imjpdct.exe
mov byte [ebp - 0xad], 0
mov dword [ebp - 0x68], 7
mov dword [ebp - 0x6c], 0
mov word [ebp - 0x7c], ax
call fcn.004073d0
xor eax, eax
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00407980
push 1
push 0x514704
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040efb0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040f160
lea eax, [ebp - 0x28]
push eax
push eax
call fcn.0041acb0
add esp, 8
test al, al
je 0x473fd0
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 0x473fd0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
push edi
call fcn.0041acb0
add esp, 8
test al, al
je 0x473faf
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.00441880
add esp, 8
test al, al
jne 0x473d89
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00441880
add esp, 8
test al, al
je 0x473faf
push 0x30
lea eax, [ebp - 0xac]
push 0
push eax
call fcn.004dead0
add esp, 0xc
lea ecx, [ebp - 0xac]
push 0
call fcn.00407290
push ebx
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 3
call fcn.00407630
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0xac]
call fcn.00409720
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov eax, dword [ebp - 0x4c]
setne bl
test eax, eax
je 0x473e09
push dword [ebp - 0xb4]
lea ecx, [ebp - 0xae]
push ecx
push dword [ebp - 0x48]
push eax
call fcn.00408200
push dword [ebp - 0x4c]
call fcn.0040823e
add esp, 0x14
lea ecx, [ebp - 0xac]
test bl, bl
jne 0x473fa6
lea eax, [ebp - 0xd0]
push eax
call fcn.00415740
xor ecx, ecx
mov byte [ebp - 4], 4
push 0xffffffffffffffff
push ecx
mov word [ebp - 0x64], cx
lea ecx, [ebp - 0x64]
push eax
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
call fcn.00407980
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 6
call fcn.00408450
lea eax, [ebp - 0x64]
push edi
push eax
call fcn.00441880
add esp, 8
test al, al
jne 0x473e7f
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00441880
add esp, 8
test al, al
je 0x473f7f
mov eax, dword [ebp - 0x84]
cmp eax, 1
ja 0x473f7f
test eax, eax
je 0x473f5f
lea eax, [ebp - 0xae]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x88]
movq qword [ebp - 0x48], xmm0
push eax
lea ecx, [ebp - 0x48]
call fcn.00464160
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 7
mov eax, dword [ecx]
mov dword [ebp - 0xb8], eax
cmp eax, ecx
je 0x473f3e
cmp dword [eax + 0x24], 0x10
lea esi, [eax + 0x10]
jb 0x473ed4
mov eax, dword [esi]
jmp 0x473ed6
mov eax, esi
push 0x518da8
push eax
call fcn.004df724
add esp, 8
test eax, eax
je 0x473f0a
cmp dword [esi + 0x14], 0x10
jb 0x473ef2
mov eax, dword [esi]
jmp 0x473ef4
mov eax, esi
push 0x518dac
push eax
call fcn.004df724
add esp, 8
test eax, eax
jne 0x474024
push 0
push 0x511a98
push dword [esi + 0x28]
lea ecx, [esi + 0x18]
push 0
call fcn.00408670
test eax, eax
jne 0x474024
lea ecx, [ebp - 0xb8]
call fcn.00425360
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0x48]
cmp eax, ecx
jne 0x473ec7
push ecx
push dword [ecx]
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x48]
call fcn.0043c000
push dword [ebp - 0x48]
call fcn.0040823e
add esp, 4
mov eax, dword [ebp - 0xb4]
lea ecx, [ebp - 0x28]
cmp eax, ecx
je 0x473f78
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.00407980
mov byte [ebp - 0xad], 1
cmp dword [ebp - 0x50], 8
jb 0x473f90
push dword [ebp - 0x64]
call fcn.0040823e
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], 7
lea ecx, [ebp - 0xac]
mov word [ebp - 0x64], ax
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 2
call fcn.0043bf70
cmp dword [ebp - 0x2c], 8
jb 0x473fc0
push dword [ebp - 0x40]
call fcn.0040823e
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
cmp dword [ebp - 0x14], 8
jb 0x473fe1
push dword [ebp - 0x28]
call fcn.0040823e
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x68], 8
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
jb 0x474002
push dword [ebp - 0x7c]
call fcn.0040823e
add esp, 4
mov al, byte [ebp - 0xad]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401580
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x48]
push eax
mov byte [ebp - 4], 6
push dword [eax]
lea eax, [ebp - 0xb4]
push eax
call fcn.0043c000
push dword [ebp - 0x48]
call fcn.0040823e
add esp, 4
jmp 0x473f7f