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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x220
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov edi, dword [edi + 4]
mov edx, dword [edi + 0x818]
mov esi, dword [edi + 0x508]
mov dword [esp + 0x130], edx
sub esi, 8
xor edx, edx
test ecx, ecx
setg dl
mov dword [esp + 0x68], esi
lea edx, [edx*4 + 8]
mov dword [esp + 0x12c], edx
mov edx, dword [eax]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x5c], edx
mov edx, dword [edi + 0xc]
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0x868]
add esi, dword [edx + 0x514]
add eax, eax
mov dword [esp + 0xe8], esi
mov esi, dword [edi + 0x504]
mov dword [esp + 0xa8], eax
mov eax, 3
sub eax, esi
cmp esi, 1
mov dword [esp + 0xec], esi
sete byte [esp + 0x148]
cmp esi, 3
mov dword [esp + 0x90], eax
movzx eax, byte [esp + 0x148]
setne byte [esp + 0x144]
mov dword [esp + 0x50], eax
movzx eax, byte [esp + 0x144]
mov dword [esp + 0x8c], eax
xor eax, eax
cmp esi, 2
mov esi, dword [edi + 0x4f4]
sete al
shl eax, 3
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0x80c]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x134], eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x3f4]
mov eax, dword [edx + 0xec]
mov dword [esp + 0xdc], eax
mov eax, dword [edx + 0xf0]
mov dword [esp + 0xd8], eax
test esi, 1
jne 0x684b30ce
mov eax, dword [edi + 0x4f8]
sar esi, 1
test al, 1
jne 0x684b3091
sar eax, 1
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x14c], eax
cmp dword [ebp + 0x14], edx
jge 0x684b2e99
cmp dword [esp + 0x134], 1
mov ebx, 0
cmova ebx, dword [ebp + 0x20]
mov eax, ebx
imul eax, dword [esp + 0x14c]
mov edx, ebx
imul edx, esi
shl eax, 4
mov dword [esp + 0x3c], eax
xor eax, eax
cmp dword [esp + 0xec], 1
lea ebx, [edx*8]
setne al
mov dword [esp + 0x40], ebx
lea ebx, [eax*4 + 2]
lea eax, [eax*4 + 3]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x38], ebx
imul eax, esi
mov edx, eax
mov eax, 4
shl eax, cl
imul eax, dword [ebp + 0x20]
lea ebx, [eax + ecx*4 + 2]
mov ecx, dword [esp + 0x14c]
mov dword [esp + 0x138], ebx
mov ebx, dword [ebp + 0x20]
lea ebx, [ebx*4 + 2]
mov dword [esp + 0x13c], ebx
lea ebx, [eax - 4]
mov eax, esi
shl eax, 4
mov dword [esp + 0x140], ebx
mov dword [esp + 0xe4], eax
mov eax, dword [ebp + 0x20]
imul eax, ecx
shl eax, 3
mov dword [esp + 0x98], eax
mov eax, ecx
imul ecx, dword [esp + 0x138]
imul ebx, eax
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x13c]
mov dword [esp + 0x7c], ebx
imul ecx, eax
mov dword [esp + 0x84], ecx
mov ecx, eax
mov eax, dword [ebp + 0x20]
sub eax, 1
imul eax, ecx
movzx ecx, byte [esp + 0x148]
shl eax, 2
mov dword [esp + 0x88], eax
mov eax, 8
mov ebx, eax
sar ebx, cl
mov ecx, dword [esp + 0x14c]
imul ecx, ebx
mov ebx, 0
add ecx, ecx
cmp dword [esp + 0x134], 1
cmova ebx, dword [esp + 0x98]
mov dword [esp + 0xd4], ecx
movzx ecx, byte [esp + 0x144]
mov dword [esp + 0x94], ebx
sar eax, cl
add eax, eax
mov dword [esp + 0x118], eax
mov eax, 0x40
mov ebx, dword [esp + 0x140]
sar eax, cl
lea ecx, [eax + eax]
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x78], ecx
mov ecx, dword [ebp + 8]
test eax, eax
mov ecx, dword [ecx + 0x3f528]
setne byte [esp + 0xf9]
cmp dword [esp + 0x134], 1
setbe al
imul ebx, esi
mov dword [esp + 0xd0], ecx
movzx ecx, byte [esp + 0xf9]
or eax, ecx
mov ecx, dword [ebp + 0x14]
lea ebx, [ebx + ebx]
mov byte [esp + 0xfa], al
mov dword [esp + 0x10c], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x12c]
lea eax, [ecx - 1]
mov ecx, dword [ebp + 0x14]
sub eax, dword [ebp + 0x14]
and eax, 0xfffffffe
lea ecx, [ecx + eax + 2]
mov eax, dword [esp + 0x138]
mov dword [esp + 0x48], ecx
lea ecx, [edx*8]
imul eax, esi
mov dword [esp + 0x54], ecx
lea ecx, [eax + eax]
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x13c], 0
mov dword [esp + 0x44], ecx
imul eax, esi
add eax, eax
mov dword [esp + 0x4c], eax
mov eax, edx
shl edx, 2
sub eax, esi
cmp dword [esp + 0x134], 1
lea esi, [eax*8]
mov eax, 0
cmovbe edx, eax
mov dword [esp + 0x74], esi
mov esi, dword [ebp + 0x14]
lea eax, [edx + edx]
mov ecx, esi
mov esi, edi
mov dword [esp + 0xb8], eax
nop
mov eax, ecx
sar eax, 1
and eax, 0xf
mov dword [esp + 0x70], eax
lea eax, [ecx + 2]
mov dword [esp + 0xcc], eax
cmp eax, dword [esi + 0x864]
jl 0x684b2ed0
movzx eax, byte [esp + 0xf9]
and ebx, 0xfffffff7
cmp byte [esp + 0xfa], 0
mov byte [esp + 0xfb], al
jne 0x684b24d0
mov byte [esp + 0xfb], 0
mov eax, dword [esp + 0xcc]
cmp eax, dword [ebp + 0x18]
jge 0x684b24d0
test bl, 8
je 0x684b24d0
mov edi, dword [esp + 0xd0]
xor edx, edx
test edi, edi
mov edi, dword [esp + 0x40]
sete dl
lea eax, [edx + edx]
add eax, edx
lea eax, [esi + eax*4]
mov edx, dword [eax + 0xdd8]
add edi, dword [eax + 0xdd4]
mov eax, dword [eax + 0xddc]
mov dword [esp + 0x14c], edx
mov dword [esp + 0x148], eax
mov eax, dword [esi + 0x4f4]
test al, 1
jne 0x684b2f94
sar eax, 1
mov dword [esp + 0x144], ecx
js 0x684b2f7e
mov ecx, dword [esp + 0x60]
lea edx, [eax*4]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.684d78b8
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0x144]
test eax, eax
je 0x684b24d0
mov eax, dword [esi + 0x4f8]
test al, 1
jne 0x684b3054
mov edx, dword [esp + 0x14c]
mov edi, dword [esp + 0x3c]
add edx, edi
mov dword [esp + 0x14c], edx
mov edx, dword [esp + 0x148]
add edx, edi
sar eax, 1
mov dword [esp + 0x148], edx
js 0x684b2fd1
mov dword [esp + 0x138], ecx
lea ecx, [eax*4]
mov edi, dword [esp + 0x5c]
imul eax, dword [esp + 0x38]
mov dword [esp + 8], ecx
mov dword [esp + 0x144], ecx
add eax, eax
mov dword [esp + 0x140], eax
add edi, eax
mov eax, dword [esp + 0x14c]
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.684d78b8
mov eax, dword [esp + 0x140]
add eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x144]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x148]
mov dword [esp + 8], ecx
mov dword [esp], eax
call fcn.684d78b8
mov ecx, dword [esp + 0x138]
lea esi, [esi]
and ebx, 0xfffffffe
mov eax, dword [esp + 0xa8]
mov edi, ebx
or edi, 2
test eax, eax
jle 0x684b2e19
mov eax, ecx
mov dword [esp + 0x14c], edi
mov edx, 1
mov edi, esi
mov dword [esp + 0x138], 0
sar eax, 3
mov dword [esp + 0x12c], 0
and eax, 2
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xd0]
lea eax, [eax + eax*2]
lea eax, [esi + eax*4]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc8], eax
jmp 0x684b2594
or dword [esp + 0x14c], 1
mov edx, 1
mov ebx, dword [esp + 0x78]
add dword [esp + 0x138], 1
sub dword [esp + 0xc8], 0xffffff80
mov eax, dword [esp + 0x138]
add dword [esp + 0xc0], ebx
add dword [esp + 0xc4], ebx
cmp dword [esp + 0xa8], eax
je 0x684b2e10
mov esi, dword [esp + 0x138]
mov ecx, dword [esp + 0xa0]
mov eax, esi
and esi, 1
sar eax, 1
or ecx, esi
imul eax, eax, 0x544
add eax, dword [ebp + 0x10]
movsx ecx, byte [eax + ecx + 0x500]
cmp cl, 0xff
je 0x684b2551
mov ebx, dword [edi + 0xc]
lea ecx, [ebx + ecx*4]
mov esi, dword [ecx + 0x53c]
mov ebx, dword [ecx + 0x51c]
mov dword [esp + 0x11c], esi
test ebx, ebx
jne 0x684b2d50
test esi, esi
je 0x684b2551
mov dword [esp + 0x144], 2
mov esi, dword [esp + 0x70]
movzx ecx, word [eax + esi*4 + 0x506]
movzx eax, word [eax + esi*4 + 0x504]
shl ecx, 0x10
or ecx, eax
mov dword [esp + 0x128], ecx
mov esi, dword [esp + 0x68]
mov eax, ebx
and ebx, 3
sar eax, 2
mov ecx, esi
shl eax, cl
mov ecx, esi
mov dword [esp + 0x148], eax
xor eax, eax
cmp ebx, 3
sete al
add ebx, eax
mov eax, ebx
mov ebx, esi
mov esi, dword [esp + 0x11c]
shl eax, cl
mov dword [esp + 0x110], eax
mov eax, esi
sar eax, 2
shl eax, cl
xor ecx, ecx
mov dword [esp + 0x140], eax
mov eax, esi
and eax, 3
cmp eax, 3
sete cl
add eax, ecx
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x138]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0xc8]
shl ecx, 4
mov dword [esp + 0x154], eax
mov eax, dword [esp + 0xc4]
lea esi, [ecx + 0x10]
mov ebx, esi
mov dword [esp + 0x124], esi
mov dword [esp + 0x158], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x15c], eax
mov eax, dword [edi + 0x860]
cmp eax, esi
mov esi, dword [esp + 0x14c]
cmovle ebx, eax
cmp ebx, ecx
jg 0x684b28e9
jmp 0x684b2ef2
test edx, edx
jne 0x684b2920
mov eax, dword [esp + 0x12c]
not eax
and eax, dword [esp + 0x144]
mov edx, eax
jne 0x684b2927
test esi, 2
jne 0x684b2980
mov eax, dword [esp + 0x148]
or eax, dword [esp + 0x140]
je 0x684b274c
mov eax, dword [edi + 0xabc]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x150]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x4f4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x154]
mov dword [esp], eax
mov eax, dword [esp + 0x130]
call dword [eax + 0x670]
mov dword [esp + 0xf0], eax
cmp dword [esp + 0x134], 1
jbe 0x684b2cb0
mov eax, dword [esp + 0x10c]
cmp eax, dword [ebp + 0x14]
jne 0x684b2c30
cmp byte [esp + 0xfb], 0
je 0x684b2c30
mov edx, dword [esp + 0xd8]
cmp dword [esp + 0xdc], edx
je 0x684b2d11
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x14c]
lea edx, [eax + edx*8 - 0x10]
add edx, dword [edi + 0xdec]
mov ecx, dword [esp + 0xe4]
add ecx, dword [esp + 0x154]
mov eax, dword [esp + 0x148]
test eax, eax
je 0x684b29d0
mov ebx, dword [esp + 0x150]
test ebx, ebx
je 0x684b2cd2
shr ebx, 6
mov eax, 4
je 0x684b27f2
bsr ebx, ebx
mov eax, 0x1f
xor ebx, 0x1f
sub eax, ebx
mov ebx, 0xc
cmp eax, 0xc
cmovg eax, ebx
add eax, 4
imul eax, dword [esp + 0x148]
mov ebx, dword [esp + 0x110]
add eax, 8
sar eax, 4
or ebx, eax
test ebx, ebx
je 0x684b2881
mov ebx, dword [edi + 0xabc]
mov dword [esp + 0x24], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0xe8]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0xf0]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x110]
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
lea eax, [eax + eax*2]
shl eax, 5
lea eax, [esp + eax + 0x160]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x4f4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x154]
mov dword [esp], eax
mov eax, dword [esp + 0x130]
call dword [eax + 0x674]
mov eax, dword [esp + 0x11c]
test eax, eax
jne 0x684b2a11
mov eax, dword [esp + 0x144]
xor dword [esp + 0x13c], 1
xor edx, edx
mov dword [esp + 0x12c], eax
mov eax, dword [edi + 0x860]
mov ebx, dword [esp + 0x124]
mov ecx, dword [esp + 0x118]
or esi, 1
add dword [esp + 0x158], ecx
add dword [esp + 0x15c], ecx
mov ecx, dword [esp + 0x14c]
add dword [esp + 0x154], 0x10
cmp eax, ebx
cmovle ebx, eax
cmp ecx, ebx
jge 0x684b2ce0
lea ebx, [ecx + 2]
mov dword [esp + 0x14c], ebx
mov ebx, esi
and ebx, 0xfffffffd
cmp dword [esp + 0x14c], eax
cmovge esi, ebx
and ecx, 0x1e
mov ebx, 3
shl ebx, cl
test dword [esp + 0x128], ebx
jne 0x684b26d3
mov edx, 1
jmp 0x684b28ae
mov edx, dword [esp + 0x144]
test esi, 1
je 0x684b26f3
mov eax, dword [esp + 0x13c]
mov dword [esp + 8], edx
lea ebx, [esp + 0x154]
lea ecx, [edi + 0x4f4]
mov edx, dword [esp + 0xec]
mov dword [esp], 0
lea eax, [eax + eax*2]
mov dword [esp + 4], edx
shl eax, 5
mov edx, ebx
lea eax, [esp + eax + 0x160]
call fcn.684b1e70
test esi, 2
je 0x684b26ff
lea esi, [esi]
mov ebx, dword [esp + 0x144]
mov eax, dword [esp + 0x13c]
mov dword [esp], 8
lea ecx, [edi + 0x4f4]
lea edx, [esp + 0x154]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xec]
xor eax, 1
lea eax, [eax + eax*2]
mov dword [esp + 4], ebx
shl eax, 5
lea eax, [esp + eax + 0x160]
call fcn.684b1e70
jmp 0x684b26ff
mov ebx, dword [esp + 0x110]
test ebx, ebx
je 0x684b2881
mov eax, dword [edi + 0xabc]
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], 0
jmp 0x684b2840
mov eax, dword [esp + 0xec]
test eax, eax
je 0x684b2cf0
mov ebx, dword [esp + 0x140]
mov dword [esp + 0x114], 0
test ebx, ebx
je 0x684b2a50
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0xf0]
movzx eax, byte [eax + edx + 0x684fb648]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x14c]
movzx ecx, byte [esp + 0x8c]
mov ebx, 1
mov edx, dword [esp + 0x98]
lea eax, [eax*4 - 8]
sar eax, cl
add edx, eax
add edx, edx
mov dword [esp + 0xb0], edx
mov edx, dword [esp + 0x80]
add edx, eax
add edx, edx
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x84]
add edx, eax
add edx, edx
mov dword [esp + 0xac], edx
mov edx, dword [esp + 0x7c]
add edx, eax
add edx, edx
mov dword [esp + 0xb4], edx
mov edx, dword [esp + 0x88]
add edx, eax
add eax, dword [esp + 0x94]
add eax, eax
add edx, edx
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0xbc], edx
sub eax, 1
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x13c]
lea eax, [eax + eax*2]
shl eax, 5
lea eax, [esp + eax + 0x160]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x12c], eax
lea eax, [esp + 0x154]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x90]
add eax, 0x19c
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x100]
cmp dword [esp + 0x134], 1
mov edx, dword [eax + ebx*4]
jbe 0x684b2cc3
mov eax, dword [esp + 0x10c]
cmp eax, dword [ebp + 0x14]
jne 0x684b2c71
cmp byte [esp + 0xfb], 0
je 0x684b2c71
mov ecx, dword [esp + 0xd8]
cmp dword [esp + 0xdc], ecx
je 0x684b2d30
mov eax, dword [esp + 0xbc]
add eax, dword [edi + ebx*4 + 0xdec]
mov dword [esp + 0x120], eax
mov ecx, dword [esp + 0xd4]
lea eax, [edx + ecx]
mov ecx, dword [edi + 0xabc]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x120]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x104]
mov dword [esp + 0xc], eax
mov eax, ebx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x114]
shl eax, 5
add eax, dword [esp + 0x108]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xf4]
mov dword [esp + 8], eax
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x140]
mov dword [esp + 0x14], ecx
mov eax, dword [edi + 0x4f8]
mov dword [esp], edx
mov edx, dword [esp + 0xfc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x130]
call dword [eax + edx*4 + 4]
add dword [esp + 0x12c], 4
cmp ebx, 2
je 0x684b2890
mov ebx, 2
jmp 0x684b2b2f
mov eax, dword [esp + 0xd0]
lea eax, [eax + eax*2]
mov edx, dword [edi + eax*4 + 0xdd4]
mov eax, dword [esp + 0xcc]
cmp eax, dword [ebp + 0x18]
jl 0x684b2c58
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x684b2d90
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0x14c]
lea eax, [eax + ecx*8 - 0x10]
add edx, eax
jmp 0x684b27a1
mov eax, dword [esp + 0x12c]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [eax + 0xdd8]
test ecx, ecx
jne 0x684b2c95
mov ecx, dword [esp + 0xcc]
cmp ecx, dword [ebp + 0x18]
jge 0x684b2dd0
add eax, dword [esp + 0xe0]
mov dword [esp + 0x120], eax
jmp 0x684b2b8e
mov eax, dword [esp + 0xd0]
lea eax, [eax + eax*2]
mov edx, dword [edi + eax*4 + 0xdd4]
jmp 0x684b2c58
mov eax, dword [esp + 0x12c]
mov eax, dword [eax + 0xdd8]
jmp 0x684b2c95
mov ebx, dword [esp + 0x110]
xor eax, eax
jmp 0x684b2809
mov dword [esp + 0x14c], esi
jmp 0x684b255e
mov dword [esp + 8], 0xf9
mov dword [esp + 4], str..._src_cdef_apply_tmpl.c
mov dword [esp], str.layout___DAV1D_PIXEL_LAYOUT_I400
call fcn.684d2880
jmp 0x684b2a20
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x14c]
lea edx, [eax + edx*8 - 0x10]
add edx, dword [edi + 0xdf8]
jmp 0x684b27a1
mov eax, dword [esp + 0xb4]
add eax, dword [edi + ebx*4 + 0xdf8]
mov dword [esp + 0x120], eax
jmp 0x684b2b8e
mov esi, dword [esp + 0x70]
movzx ecx, word [eax + esi*4 + 0x506]
movzx eax, word [eax + esi*4 + 0x504]
shl ecx, 0x10
or ecx, eax
cmp dword [esp + 0x11c], 1
sbb eax, eax
mov dword [esp + 0x128], ecx
and eax, 0xfffffffe
add eax, 3
mov dword [esp + 0x144], eax
jmp 0x684b2615
mov eax, dword [esp + 0x14c]
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0xd8]
shl eax, 3
lea ecx, [eax + ecx - 0x10]
add edx, ecx
cmp dword [esp + 0xdc], ebx
je 0x684b2ea1
mov ecx, dword [esp + 0x4c]
lea ecx, [eax + ecx - 0x10]
add ecx, dword [edi + 0xdec]
jmp 0x684b27af
add eax, dword [esp + 0xb0]
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0xd8]
cmp dword [esp + 0xdc], eax
je 0x684b2eb4
mov ecx, dword [esp + 0xac]
add ecx, dword [edi + ebx*4 + 0xdec]
mov eax, ecx
jmp 0x684b2b98
mov esi, edi
mov edi, dword [esp + 0x14c]
mov ebx, dword [esi + 0x4f4]
test bl, 1
jne 0x684b2f5d
mov edx, dword [esi + 0x4f8]
movzx ecx, byte [esp + 0x50]
sar ebx, 1
shl ebx, 4
add dword [esp + 0x60], ebx
mov eax, edx
sar eax, 1
shl eax, 3
sar eax, cl
add eax, eax
add dword [esp + 0x5c], eax
and edx, 1
jne 0x684b2eff
add dword [esp + 0x58], eax
mov eax, dword [ebp + 8]
or edi, 4
mov edx, dword [ebp + 8]
mov ebx, edi
add dword [esp + 0x10c], 2
mov eax, dword [eax + 0x3f528]
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x14c], eax
xor eax, 1
mov dword [esp + 0xd0], eax
mov dword [edx + 0x3f528], eax
cmp ecx, dword [esp + 0x48]
jne 0x684b2330
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [esp + 0x44]
lea ecx, [ecx + eax - 0x10]
add ecx, dword [edi + 0xdf8]
jmp 0x684b27af
mov ecx, dword [esp + 0x9c]
add ecx, dword [edi + ebx*4 + 0xdf8]
mov eax, ecx
jmp 0x684b2b98
cmp byte [esp + 0xfa], 0
je 0x684b2371
movzx eax, byte [esp + 0xf9]
mov byte [esp + 0xfb], al
jmp 0x684b2389
or dword [esp + 0x14c], 1
jmp 0x684b255e
mov dword [esp + 8], 0x50
mov dword [esp + 4], 0x684fb584
mov dword [esp], 0x684fb5be
call fcn.684d2880
mov ebx, dword [esi + 0x4f8]
test bl, 1
je 0x684b30fd
mov dword [esp + 8], 0x50
sar ebx, 1
mov dword [esp + 4], 0x684fb584
mov dword [esp], 0x684fb5be
call fcn.684d2880
movzx ecx, byte [esp + 0x50]
lea eax, [ebx*8]
sar eax, cl
add eax, eax
jmp 0x684b2e54
mov dword [esp + 8], 0x50
mov dword [esp + 4], 0x684fb584
mov dword [esp], 0x684fb5be
call fcn.684d2880
jmp 0x684b2e28
mov edx, eax
lea edi, [edi + eax*2]
neg edx
imul eax, eax, 0xe
add eax, dword [esp + 0x60]
shl edx, 2
jmp 0x684b23fa
mov dword [esp + 8], 0x50
mov dword [esp + 4], 0x684fb584
mov dword [esp], 0x684fb5be
mov dword [esp + 0x140], ecx
mov dword [esp + 0x144], eax
call fcn.684d2880
mov ecx, dword [esp + 0x140]
mov eax, dword [esp + 0x144]
jmp 0x684b23da
mov edi, eax
mov dword [esp + 0x140], ecx
mov edx, dword [esp + 0x14c]
neg edi
lea ecx, [edi*4]
mov edi, dword [esp + 0x34]
mov dword [esp + 8], ecx
imul edi, eax
add eax, eax
mov dword [esp + 0x14c], ecx
add edx, eax
mov dword [esp + 0x144], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], edx
add edi, edi
add eax, edi
mov dword [esp + 4], eax
call fcn.684d78b8
mov eax, dword [esp + 0x144]
mov edx, dword [esp + 0x148]
mov ecx, dword [esp + 0x14c]
add edx, eax
mov eax, dword [esp + 0x58]
mov dword [esp + 8], ecx
add eax, edi
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.684d78b8
mov ecx, dword [esp + 0x140]
jmp 0x684b24d0
mov dword [esp + 8], 0x50
mov dword [esp + 4], 0x684fb584
mov dword [esp], 0x684fb5be
mov dword [esp + 0x140], ecx
mov dword [esp + 0x144], eax
call fcn.684d2880
mov ecx, dword [esp + 0x140]
mov eax, dword [esp + 0x144]
jmp 0x684b242e
mov dword [esp + 8], 0x50
mov dword [esp + 4], 0x684fb584
mov dword [esp], 0x684fb5be
mov dword [esp + 0x140], ecx
mov dword [esp + 0x14c], eax
call fcn.684d2880
mov ecx, dword [esp + 0x140]
mov eax, dword [esp + 0x14c]
jmp 0x684b20ed
mov dword [esp + 8], 0x50
mov dword [esp + 4], 0x684fb584
mov dword [esp], 0x684fb5be
mov dword [esp + 0x14c], ecx
call fcn.684d2880
mov ecx, dword [esp + 0x14c]
jmp 0x684b20dd
mov eax, ebx
movzx ecx, byte [esp + 0x50]
sar eax, 1
shl eax, 3
sar eax, cl
add eax, eax
jmp 0x684b2e54