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

Disassembly:
push ebp
xor edx, edx
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x74]
mov edi, dword [esp + 0x78]
mov ebx, dword [esp + 0x70]
mov ecx, dword [esp + 0x7c]
cmp eax, edi
jg 0x700df37e
lea edx, [eax + eax*4]
test edx, edx
lea esi, [edx + 3]
cmovns esi, edx
sar esi, 2
cmp edi, esi
jl 0x700df4f7
lea eax, [eax + eax*2]
mov edx, eax
shr edx, 0x1f
add eax, edx
sar eax, 1
cmp edi, eax
jge 0x700df503
sub edi, esi
mov edx, 2
imul eax, edx, 0x2020
imul edx, edx, 0x3c
add eax, ebx
lea esi, [ebx + edx + 0x6060]
mov ebx, dword [ebx + 0x61b4]
mov edx, dword [esi + 8]
mov ebp, dword [esi + 0x30]
mov dword [esp + 0x10], ebx
lea edx, [edx + edi*2]
shl edi, 5
mov dword [esp + 0x2c], ebp
mov ebp, edi
add edi, dword [esi + 4]
mov dword [esp + 0x3c], edx
movsx edx, word [eax + 0x201c]
mov dword [esp + 0x28], edi
mov edi, dword [esi]
mov esi, dword [eax + 0x2010]
add edi, ebp
mov dword [esp + 0x30], esi
mov esi, dword [eax + 0x200c]
mov dword [esp + 0x24], edi
mov edi, dword [eax + 0x2000]
mov dword [esp + 0x34], esi
mov esi, dword [eax + 0x2018]
mov dword [esp + 0x38], esi
mov esi, dword [eax + 0x2014]
movsx eax, word [esi]
movsx ebx, word [esi + 2]
add eax, edx
mov dword [esp + 0x40], eax
neg eax
add edx, ebx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x24]
mov ebx, 0x20
mov dword [esp + 0x44], edx
neg edx
mov dword [esp + 0x4c], edx
test al, 1
mov edx, eax
jne 0x700df530
test dl, 2
jne 0x700df541
mov esi, ebx
xor eax, eax
and esi, 0xfffffffc
mov dword [edx + eax], 0
add eax, 4
cmp eax, esi
jb 0x700df432
add edx, eax
test bl, 2
je 0x700df450
xor eax, eax
add edx, 2
mov word [edx - 2], ax
and ebx, 1
je 0x700df458
mov byte [edx], 0
mov eax, dword [esp + 0x28]
mov esi, 0x20
test al, 1
mov ebx, eax
jne 0x700df699
test bl, 2
jne 0x700df688
mov edx, esi
xor eax, eax
and edx, 0xfffffffc
mov dword [ebx + eax], 0
add eax, 4
cmp eax, edx
jb 0x700df47b
add ebx, eax
test esi, 2
je 0x700df49c
xor eax, eax
add ebx, 2
mov word [ebx - 2], ax
and esi, 1
je 0x700df4a4
mov byte [ebx], 0
mov ebx, dword [esp + 0x10]
xor eax, eax
test ebx, ebx
jne 0x700df4e8
lea eax, [edi + ebp]
mov edi, 0x10
mov dword [esp + 0x18], eax
mov ebx, eax
lea esi, [esi]
movzx eax, word [ecx + edi*2 - 2]
test ax, ax
movsx edx, ax
setne al
movsx edx, word [ebx + edx*2]
movzx eax, al
cmp edx, dword [esp + eax*4 + 0x40]
jge 0x700df552
cmp edx, dword [esp + eax*4 + 0x48]
jle 0x700df552
sub edi, 1
jne 0x700df4c0
xor eax, eax
mov edi, dword [esp + 0x3c]
mov word [edi], ax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
sub edi, eax
mov edx, 1
jmp 0x700df37e
mov dword [esp + 8], 0x9f
mov dword [esp + 4], str..._source_libvpx_1.3.0_vp9_encoder_vp9_quantize.c
mov dword [esp], str.b_idx___y_blocks__3___2
mov dword [esp + 0x10], ecx
call fcn.6feeef40
mov ecx, dword [esp + 0x10]
jmp 0x700df377
lea edx, [eax + 1]
mov bl, 0x1f
test dl, 2
mov byte [eax], 0
je 0x700df42b
xor eax, eax
add edx, 2
mov word [edx - 2], ax
sub ebx, 2
jmp 0x700df42b
mov dword [esp + 0x1c], edi
xor eax, eax
mov edi, ecx
mov dword [esp + 0x14], 0xffffffff
jmp 0x700df5fa
mov ebp, dword [esp + 0x38]
movsx ebp, word [ebp + 2]
add edx, ebp
mov ebp, 0x7fff
cmp edx, 0x7fff
cmovg edx, ebp
mov ebp, 0xffff8000
cmp edx, 0xffff8000
cmovl edx, ebp
mov ebp, dword [esp + 0x34]
movsx ebp, word [ebp + 2]
imul ebp, edx
sar ebp, 0x10
add edx, ebp
mov ebp, 2
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x30]
shl ecx, 0x1f
sar ecx, 0x1f
and ecx, 2
movsx ebp, word [edx + ebp]
mov edx, dword [esp + 0x20]
imul edx, ebp
sar edx, 0x10
mov ebp, edx
xor ebp, ebx
sub ebp, ebx
mov ebx, dword [esp + 0x24]
mov word [ebx + esi*2], bp
mov esi, dword [esp + 0x2c]
imul bp, word [esi + ecx]
test edx, edx
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
mov word [esi + ecx], bp
mov esi, dword [esp + 0x14]
cmovne esi, eax
mov dword [esp + 0x14], esi
add eax, 1
cmp eax, dword [esp + 0x1c]
je 0x700df671
movzx ecx, word [edi + eax*2]
movsx esi, cx
lea ebx, [esi + esi]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x18]
movsx edx, word [ebx + esi*2]
mov ebx, edx
sar ebx, 0x1f
xor edx, ebx
sub edx, ebx
test cx, cx
setne cl
movzx ebp, cl
cmp edx, dword [esp + ebp*4 + 0x40]
jl 0x700df5f1
test cl, cl
jne 0x700df567
mov ebp, dword [esp + 0x38]
movsx ebp, word [ebp]
add edx, ebp
mov ebp, 0x7fff
cmp edx, 0x7fff
cmovg edx, ebp
mov ebp, 0xffff8000
cmp edx, 0xffff8000
cmovl edx, ebp
mov ebp, dword [esp + 0x34]
movsx ebp, word [ebp]
imul ebp, edx
sar ebp, 0x10
add edx, ebp
xor ebp, ebp
mov dword [esp + 0x20], edx
jmp 0x700df5a6
movzx eax, word [esp + 0x14]
mov edi, dword [esp + 0x3c]
add eax, 1
mov word [edi], ax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
add ebx, 2
mov word [ebx - 2], ax
sub esi, 2
jmp 0x700df474
mov byte [eax], 0
lea ebx, [eax + 1]
mov si, 0x1f
jmp 0x700df46b