Function at 0x684c70e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xac
test edx, edx
mov dword [esp + 0x8c], edx
setne dl
test ecx, ecx
mov ebp, dword [esp + 0xd0]
mov dword [esp + 0x50], eax
setne al
mov dword [esp + 0x78], ecx
cmp dl, al
je 0x684c7609
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 0x818]
mov dword [esp + 0x48], eax
mov dword [esp + 0x80], ebx
mov ebx, dword [esp + 0xc8]
test ebx, ebx
je 0x684c75e1
mov edx, dword [eax + 0x504]
cmp edx, 1
sete al
cmp edx, 3
mov edx, 4
setne cl
movzx ebx, al
mov dword [esp + 0x54], ebx
movzx ebx, cl
mov dword [esp + 0x40], ebx
mov ebx, edx
sar ebx, cl
mov ecx, eax
sar edx, cl
mov dword [esp + 0x68], ebx
mov dword [esp + 0x94], edx
mov eax, dword [esp + 0xc4]
movzx eax, byte [eax]
imul eax, dword [esp + 0x68]
test al, 7
jne 0x684c74c8
mov eax, dword [esp + 0xc4]
movzx eax, byte [eax + 1]
imul eax, dword [esp + 0x94]
test al, 7
jne 0x684c74c8
mov ecx, dword [esp + 0xcc]
mov ebx, dword [esp + 0x40]
mov edx, dword [ecx + 0x1c]
mov ecx, ebx
add edx, ebx
mov ebx, dword [esp + 0x54]
sar edx, cl
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x4c], edx
mov edx, dword [ecx + 0x20]
mov ecx, ebx
add edx, ebx
sar edx, cl
mov dword [esp + 0x74], edx
test eax, eax
je 0x684c757e
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xd0], ebp
mov dword [esp + 0x90], 0
shl eax, 4
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xc0]
sar eax, 1
shl eax, 4
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x50]
add eax, 0x16380
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x50]
movzx ecx, byte [esp + 0x54]
mov ebx, dword [esp + 0xd0]
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x90]
add eax, 4
shl eax, cl
lea ecx, [eax + edx*4]
mov eax, ecx
imul dword [ebx + 0x10]
mov esi, eax
mov eax, dword [ebx + 4]
mov edi, edx
cdq
add esi, eax
mov eax, ecx
adc edi, edx
mov dword [esp + 0x58], esi
imul dword [ebx + 0x18]
mov esi, dword [ebx + 8]
mov dword [esp + 0x5c], edi
mov edi, esi
sar edi, 0x1f
add eax, esi
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xc4]
adc edx, edi
mov dword [esp + 0x64], edx
movzx eax, byte [eax]
imul eax, dword [esp + 0x68]
test eax, eax
je 0x684c7531
mov edx, dword [esp + 0xc8]
xor eax, eax
mov ebx, dword [esp + 0xd0]
test edx, edx
setne al
add ebx, 0x1c
xor ebp, ebp
add eax, 4
mov dword [esp + 0x6c], ebx
mov ebx, dword [esp + 0xd0]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x50]
add eax, 0x16446
mov dword [esp + 0x7c], eax
jmp 0x684c72fd
lea eax, [edi + ebp*2]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
call dword [eax + 0x148]
mov eax, dword [esp + 0xc4]
add ebp, 8
movzx eax, byte [eax]
imul eax, dword [esp + 0x68]
cmp eax, ebp
jle 0x684c7531
mov eax, dword [esp + 0x50]
movzx ecx, byte [esp + 0x40]
mov edx, dword [eax + 0xc]
lea eax, [ebp + 4]
shl eax, cl
lea eax, [eax + edx*4]
mov dword [esp + 0x30], eax
imul dword [ebx + 0xc]
add eax, dword [esp + 0x58]
adc edx, dword [esp + 0x5c]
shrd eax, edx, cl
sar edx, cl
mov esi, edx
sar esi, 0x1f
test cl, 0x20
movzx ecx, byte [esp + 0x54]
cmovne eax, edx
cmovne edx, esi
mov esi, eax
mov edi, edx
mov eax, dword [esp + 0x30]
imul dword [ebx + 0x14]
add eax, dword [esp + 0x60]
adc edx, dword [esp + 0x64]
shrd eax, edx, cl
sar edx, cl
test cl, 0x20
je 0x684c735a
mov eax, edx
sar edx, 0x1f
mov dword [esp + 0x30], eax
mov eax, esi
movzx esi, si
shrd eax, edi, 0x10
mov dword [esp + 0x34], edx
lea ecx, [eax - 4]
mov edx, eax
movsx eax, word [ebx + 0x1e]
mov dword [esp + 0x3c], ecx
movsx ecx, word [ebx + 0x1c]
shl ecx, 2
sub esi, ecx
lea ecx, [eax*8]
sub eax, ecx
add eax, esi
mov esi, dword [esp + 0x30]
mov edi, eax
movzx eax, word [esp + 0x30]
and edi, 0xffffffc0
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x34]
shrd esi, edi, 0x10
mov edi, dword [esp + 0xcc]
mov ecx, esi
movsx esi, word [ebx + 0x20]
shl esi, 2
sub eax, esi
movsx esi, word [ebx + 0x22]
shl esi, 2
sub eax, esi
mov esi, dword [esp + 0x70]
and eax, 0xffffffc0
cmp dword [esp + 0x3c], 2
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xc8]
mov esi, dword [edi + esi*4 + 4]
mov edi, dword [edi + eax*4 + 8]
jle 0x684c7403
lea eax, [ecx - 4]
mov dword [esp + 0x88], eax
lea eax, [edx + 7]
cmp eax, dword [esp + 0x4c]
jge 0x684c7403
cmp dword [esp + 0x88], 2
jg 0x684c7500
mov eax, dword [esp + 0x48]
sub edx, 7
mov eax, dword [eax + 0x818]
mov dword [esp + 0x24], esi
lea esi, [ecx - 7]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x84]
mov dword [esp + 0x14], esi
mov esi, 0x40
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], 0x40
mov dword [esp + 0x18], edi
mov dword [esp + 8], ecx
mov dword [esp + 4], 0xf
mov dword [esp], 0xf
call dword [eax + 0x14c]
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x78]
mov eax, dword [eax + 0xabc]
mov dword [esp + 0xc], esi
mov dword [esp + 8], edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
test edi, edi
jne 0x684c72d0
mov eax, dword [esp + 0x8c]
lea eax, [eax + ebp*2]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
call dword [eax + 0x144]
jmp 0x684c72e3
mov dword [esp + 8], 0x481
mov dword [esp + 4], str..._src_recon_tmpl.c
mov dword [esp], str.___b_dim_0___h_mul___7______b_dim_1___v_mul___7_
call fcn.684d2880
mov eax, dword [esp + 0xc4]
movzx eax, byte [eax + 1]
imul eax, dword [esp + 0x94]
jmp 0x684c71a3
lea eax, [ecx + 7]
cmp eax, dword [esp + 0x74]
jge 0x684c7403
test esi, 1
jne 0x684c75c0
mov eax, esi
sar eax, 1
imul eax, dword [esp + 0x88]
add eax, dword [esp + 0x3c]
lea edx, [edi + eax*2]
jmp 0x684c7464
mov ecx, dword [esp + 0x8c]
test ecx, ecx
je 0x684c7590
test byte [esp + 0xc0], 1
jne 0x684c75a0
mov ebx, dword [esp + 0x98]
add dword [esp + 0x8c], ebx
mov eax, dword [esp + 0xc4]
add dword [esp + 0x90], 8
mov ebx, dword [esp + 0x90]
movzx eax, byte [eax + 1]
imul eax, dword [esp + 0x94]
cmp eax, ebx
jg 0x684c7221
add esp, 0xac
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [esp + 0x9c]
add dword [esp + 0x78], ebx
jmp 0x684c7554
mov dword [esp + 8], 0x50
mov dword [esp + 4], str...include_common_bitdepth.h
mov dword [esp], str.__x__1_
call fcn.684d2880
jmp 0x684c7546
mov dword [esp + 8], 0x50
mov dword [esp + 4], str...include_common_bitdepth.h
mov dword [esp], str.__x__1_
call fcn.684d2880
jmp 0x684c7519
mov dword [esp + 0x94], 4
mov dword [esp + 0x68], 4
mov dword [esp + 0x54], 0
mov dword [esp + 0x40], 0
jmp 0x684c7171
mov dword [esp + 8], 0x47b
mov dword [esp + 4], str..._src_recon_tmpl.c
mov dword [esp], str._dst8___NULL____dst16___NULL_
call fcn.684d2880
jmp 0x684c7112