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

Disassembly:
push ebp
mov ebp, ecx
push edi
push esi
push ebx
sub esp, 0xac
imul eax, dword [esp + 0xc0], 0x7b0
mov esi, dword [ecx + 0x40]
mov dword [esp + 0x68], eax
add esi, eax
lea eax, [esi + 0x790]
mov dword [esp + 0x50], eax
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x38], eax
call eax
movzx eax, byte [esi + 0x7a8]
sub esp, 4
test al, al
je 0x6fdb5081
movzx eax, byte [esi + 0x7a9]
test al, al
je 0x6fdb50a0
mov ebx, str.internal_error___simultaneous_row_access_detected._Please_report_HW_to_x265_devel_videolan.org_n
mov esi, 1
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov eax, dword [ebp + 0x8d4]
mov dword [esp], eax
call fcn.6fd4e660
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov eax, dword [esp + 0x50]
mov byte [esi + 0x7a9], 1
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x3c], eax
call eax
mov eax, dword [ebp + 0x8d4]
mov ecx, dword [eax + 4]
sub esp, 4
test ecx, ecx
jne 0x6fdb57a5
mov eax, dword [ebp + 0x40]
add eax, 0x3b0
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x8d8]
mov ebx, dword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x30], ebx
mov ebx, dword [ebx]
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0xc4]
mov dword [ebx + 0xac], eax
mov dword [ebx + 0xb0], edx
call fcn.6fd4e540
mov edi, dword [esp + 0xc0]
mov ecx, dword [ebp + 0x8d4]
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x60], eax
imul eax, edi
mov dword [esp + 0x64], eax
mov eax, dword [ecx + 0x184]
test eax, eax
jle 0x6fdb5c90
mov ebx, dword [ecx + 0x180]
test ebx, ebx
setg byte [esp + 0x5b]
mov eax, dword [esi + 0x7ac]
mov ebx, dword [esp + 0x60]
cmp ebx, eax
jbe 0x6fdb5bc6
mov eax, dword [esp + 0xc0]
mov edx, dword [esp + 0xc0]
shl eax, 3
shl edx, 6
sub edx, eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x5c], edx
add eax, 0x7b0
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xc0]
inc eax
mov dword [esp + 0x84], eax
add eax, eax
mov dword [esp + 0x80], eax
mov eax, 1
sub eax, ebx
mov dword [esp + 0x70], eax
jmp 0x6fdb56f5
mov ecx, dword [esp + 0xc0]
test ecx, ecx
je 0x6fdb57c0
mov eax, dword [esp + 0x40]
cmp dword [esp + 0xc0], eax
jl 0x6fdb57de
mov eax, dword [ebp + 0x8c4]
cmp eax, dword [esp + 0xc0]
je 0x6fdb57de
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [eax + 0x2c]
lea eax, [ecx + ecx*8]
shl eax, 3
mov edi, eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x70]
add eax, ecx
lea eax, [eax + eax*8]
fld qword [edx + eax*8 + 0x40]
fst qword [edx + edi + 0x40]
mov eax, dword [esp + 0x34]
fstp qword [esp + 4]
mov ecx, ebp
mov dword [esp], eax
call fcn.6fdb4d00
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xc4]
mov dword [esp], eax
call fcn.6fdcbb70
mov eax, 0x33
sub esp, 8
cmp edi, 0x33
cmovg edi, eax
mov eax, 0
test edi, edi
cmovs edi, eax
mov dword [esp + 4], edi
mov eax, dword [ebx + 0x38]
mov dword [esp], eax
call dword [0x70e9f478]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x4c], edi
mov edx, dword [ecx + 0x30]
fild dword [esp + 0x4c]
add eax, edx
fadd qword [eax + 0x30]
fstp qword [eax + 0x30]
mov eax, dword [ebp + 0x8d4]
mov eax, dword [eax + 4]
test eax, eax
je 0x6fdb52d0
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x6fdb52d0
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x6fdb52d0
mov edi, dword [esp + 0x54]
lea eax, [ebp + 0x1430]
mov dword [esp], eax
mov ecx, edi
call fcn.6fd5ef10
mov eax, dword [ebp + 0x40]
mov ecx, edi
sub esp, 4
mov edx, dword [esp + 0x68]
lea eax, [eax + edx - 0x7b0]
mov dword [esp], eax
call fcn.6fd5ece0
sub esp, 4
nop
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0xc4]
lea edi, [eax*4]
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x8f0]
mov eax, dword [eax + edi]
lea edx, [eax + eax*2]
mov eax, dword [ebp + 0x8ec]
lea eax, [eax + edx*8]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x8d8]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.6fdbfa20
sub esp, 0x10
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x8f0]
mov ecx, dword [esp + 0x54]
mov eax, dword [eax + edi]
lea edx, [eax + eax*2]
mov eax, dword [ebp + 0x8ec]
mov dword [esp], ebx
lea eax, [eax + edx*8]
mov dword [esp + 4], eax
call fcn.6fd64d70
mov edx, dword [ebp + 0x8d4]
sub esp, 8
cmp dword [esp + 0x40], 1
jne 0x6fdb535c
mov eax, dword [edx + 4]
test eax, eax
jne 0x6fdb5ba2
mov eax, dword [esi + 0x7ac]
inc eax
mov dword [esi + 0x7ac], eax
mov eax, dword [edx + 0x1c]
test eax, eax
jne 0x6fdb537e
mov edi, dword [edx + 0x1a8]
test edi, edi
je 0x6fdb551e
mov dword [esp], ebx
mov ecx, ebp
call fcn.6fdb47e0
mov eax, dword [ebp + 0x8d4]
mov ebx, dword [eax + 0x1a8]
sub esp, 4
test ebx, ebx
je 0x6fdb551e
mov edi, dword [esp + 0x4c]
mov ebx, dword [esi + 0x768]
mov eax, dword [edi + 0x4d8]
add dword [esi + 0x760], eax
mov edx, dword [edi + 0x4dc]
add dword [esi + 0x764], edx
sub ebx, eax
mov eax, dword [edi + 0x4d4]
add eax, ebx
mov ebx, dword [0x7046f740]
sub eax, edx
mov dword [esi + 0x768], eax
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 0x6ac]
lea eax, [ebx + ebx]
lea ecx, [edx + edx*2]
lea edx, [edx + ecx*4]
mov cl, al
shl edx, 5
add edx, ebp
mov edi, dword [edx + 0x530]
shl edi, cl
mov cl, al
add dword [esi + 0x76c], edi
mov edi, dword [edx + 0x520]
shl edi, cl
mov cl, al
add dword [esi + 0x770], edi
mov edi, dword [edx + 0x540]
shl edi, cl
xor ecx, ecx
add dword [esi + 0x774], edi
xor edi, edi
mov dword [edx + 0x540], ecx
xor ecx, ecx
test ebx, ebx
mov dword [edx + 0x520], edi
mov dword [edx + 0x530], ecx
je 0x6fdb551e
mov edi, dword [edx + 0x534]
lea ecx, [eax - 2]
shl edi, cl
add dword [esi + 0x76c], edi
mov edi, dword [edx + 0x524]
shl edi, cl
add dword [esi + 0x770], edi
mov edi, dword [edx + 0x544]
shl edi, cl
xor ecx, ecx
add dword [esi + 0x774], edi
xor edi, edi
mov dword [edx + 0x544], edi
xor edi, edi
cmp ebx, 1
mov dword [edx + 0x524], ecx
mov dword [edx + 0x534], edi
jbe 0x6fdb551e
mov edi, dword [edx + 0x538]
lea ecx, [eax - 4]
shl edi, cl
add dword [esi + 0x76c], edi
mov edi, dword [edx + 0x528]
shl edi, cl
add dword [esi + 0x770], edi
mov edi, dword [edx + 0x548]
shl edi, cl
xor ecx, ecx
add dword [esi + 0x774], edi
xor edi, edi
mov dword [edx + 0x548], ecx
xor ecx, ecx
cmp ebx, 2
mov dword [edx + 0x528], edi
mov dword [edx + 0x538], ecx
je 0x6fdb551e
lea ecx, [eax - 6]
mov eax, dword [edx + 0x53c]
shl eax, cl
add dword [esi + 0x76c], eax
mov eax, dword [edx + 0x52c]
shl eax, cl
add dword [esi + 0x770], eax
mov eax, dword [edx + 0x54c]
shl eax, cl
add dword [esi + 0x774], eax
xor eax, eax
mov dword [edx + 0x54c], eax
xor eax, eax
mov dword [edx + 0x52c], eax
xor eax, eax
mov dword [edx + 0x53c], eax
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x48]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebx + 0x4d4]
mov dword [eax + edi], edx
call fcn.6fd65780
cmp byte [esp + 0x5b], 0
je 0x6fdb55b0
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x5c]
mov edi, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x30]
mov ebx, dword [esp + 0x34]
add edx, edi
add eax, ecx
fld qword [edx + 0x40]
fld qword [eax + 0x28]
fadd st(1)
mov ecx, dword [edx + 4]
add dword [eax + 0xc], ecx
mov ecx, dword [edx + 8]
add dword [eax + 0x10], ecx
mov ecx, dword [edx]
fstp qword [eax + 0x28]
add dword [eax + 4], ecx
mov dword [eax], ebx
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x6fdb55a0
mov eax, dword [esp + 0x40]
cmp dword [esp + 0xc0], eax
je 0x6fdb5810
fstp st(0)
jmp 0x6fdb55b0
fstp st(0)
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebp + 0x8d4]
mov edx, dword [eax + 0x10c]
test edx, edx
je 0x6fdb55ce
mov eax, dword [eax + 0x110]
test eax, eax
jne 0x6fdb5b30
mov eax, dword [esi + 0x7ac]
cmp eax, 1
jbe 0x6fdb566a
mov eax, dword [ebp + 0x34]
dec eax
cmp dword [esp + 0xc0], eax
jge 0x6fdb566a
mov edi, dword [esp + 0x6c]
mov ebx, dword [ebp + 0x40]
add ebx, edi
add ebx, 0x790
mov dword [esp], ebx
call dword [esp + 0x38]
mov edx, dword [ebp + 0x40]
add edx, edi
movzx eax, byte [edx + 0x7a8]
sub esp, 4
test al, al
jne 0x6fdb5660
mov eax, dword [edx + 0x7ac]
mov ecx, dword [esi + 0x7ac]
add eax, 2
cmp eax, ecx
ja 0x6fdb5660
movzx eax, byte [ebp + 0x8c0]
test al, al
je 0x6fdb5644
mov eax, dword [ebp + 0x8c4]
cmp dword [esp + 0x84], eax
jge 0x6fdb5660
mov eax, dword [esp + 0x80]
mov ecx, ebp
mov byte [edx + 0x7a8], 1
mov dword [esp], eax
call fcn.6fdc0790
sub esp, 4
nop
mov dword [esp], ebx
call dword [esp + 0x3c]
sub esp, 4
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call dword [esp + 0x38]
movzx eax, byte [ebp + 0x8c0]
sub esp, 4
test al, al
je 0x6fdb5696
mov eax, dword [ebp + 0x8c4]
cmp dword [esp + 0xc0], eax
jg 0x6fdb5b60
mov eax, dword [esp + 0xc0]
test eax, eax
jle 0x6fdb56d7
mov eax, dword [esp + 0x60]
mov edx, dword [esi + 0x7ac]
dec eax
cmp edx, eax
jae 0x6fdb56d7
mov eax, dword [ebp + 0x40]
mov ecx, dword [esp + 0x68]
lea edx, [eax + ecx - 0x7b0]
add eax, ecx
mov edx, dword [edx + 0x7ac]
mov eax, dword [eax + 0x7ac]
add eax, 2
cmp edx, eax
jb 0x6fdb5b60
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call dword [esp + 0x3c]
mov eax, dword [esi + 0x7ac]
sub esp, 4
cmp dword [esp + 0x60], eax
jbe 0x6fdb5bc0
mov eax, dword [esi + 0x7ac]
mov ebx, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x64]
add eax, ebx
imul ebx, eax, 0xbc
mov edi, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0x28]
mov eax, dword [esp + 0x44]
add ebx, edx
mov eax, dword [eax + 0x6b0]
mov ecx, ebx
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x8d8]
mov dword [esp], eax
call fcn.6fded090
sub esp, 0xc
cmp byte [esp + 0x5b], 0
jne 0x6fdb51b0
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
lea eax, [eax + eax*8]
shl eax, 3
fld qword [edi + 0x38]
mov edx, eax
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x2c]
fst qword [eax + edx + 0x40]
mov eax, dword [ebp + 0x8d4]
mov ecx, dword [eax + 0x170]
test ecx, ecx
jne 0x6fdb520b
fstp st(0)
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0xc4]
mov eax, dword [edx + 0x6b0]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.6fdcbb70
sub esp, 8
jmp 0x6fdb527c
mov eax, dword [esp + 0x68]
mov edx, dword [ebp + 0x40]
add eax, edx
add eax, 0x3b0
mov dword [esp + 0x54], eax
jmp 0x6fdb50d9
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x5c]
mov edx, dword [eax + 0x30]
fld qword [eax + 0x38]
add edi, edx
fst qword [edi + 0x18]
fstp qword [esp]
call fcn.6fd4e740
fstp qword [edi + 0x20]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x5c]
lea eax, [eax + eax*8]
shl eax, 3
mov edx, eax
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 0x30]
fld qword [eax + edi + 0x18]
mov eax, dword [ecx + 0x2c]
fst qword [eax + edx + 0x40]
jmp 0x6fdb520b
mov eax, dword [ebp + 0x8d0]
fstp qword [esp + 0x98]
mov ecx, dword [eax + 0x8e8]
lea eax, [esp + 0x98]
mov dword [esp + 0xc], eax
lea eax, [ebp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x8d8]
mov dword [esp], eax
call fcn.6fdc47c0
sub esp, 0x10
mov edi, eax
fldz
mov eax, dword [esp + 0x30]
fld qword [esp + 0x98]
fcomi st(1)
mov ebx, dword [esp + 0x5c]
fcmovb st(0), st(1)
fstp st(1)
mov edx, dword [eax + 0x30]
fld st(0)
fld dword [0x70764754]
fcomi st(2)
fstp st(2)
fcmovb st(0), st(1)
fstp st(1)
add ebx, edx
fst qword [esp + 0x98]
fst qword [ebx + 0x18]
fstp qword [esp]
call fcn.6fd4e740
test edi, edi
fstp qword [ebx + 0x20]
jns 0x6fdb55b0
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x48]
mov eax, dword [eax + 0x2c]
fld qword [eax + ebx + 0x40]
mov eax, dword [esp + 0xc0]
fstp qword [esp + 0x1c]
fld qword [esp + 0x98]
mov dword [esp + 0x10], eax
fstp qword [esp + 0x14]
mov eax, dword [ebp + 0x8d8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0xc], eax
mov eax, str.POC__d_row__d___encode_restart_required_for_VBV__to__.2f_from__.2f_n
mov dword [esp + 8], eax
mov eax, 3
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x8d4]
mov dword [esp], eax
call fcn.6fd4e660
mov eax, dword [esp + 0xc0]
mov dword [ebp + 0x8c4], eax
mov eax, dword [ebp + 0x34]
mov byte [ebp + 0x8c0], 1
dec eax
cmp dword [esp + 0xc0], eax
mov dword [esp + 0x4c], eax
jg 0x6fdb5af8
imul ebx, eax, 0x7b0
mov dword [esp + 0x8c], esi
mov dword [esp + 0x74], ebx
mov ebx, eax
mov edx, ebx
shl eax, 3
shl edx, 6
sub edx, eax
mov eax, ebx
add eax, eax
mov dword [esp + 0x88], edx
mov edx, ebx
mov edi, eax
add edx, eax
lea ebx, [edx*8]
mov dword [esp + 0x48], ebx
mov eax, dword [ebp + 0x40]
mov ebx, dword [esp + 0x74]
add ebx, eax
mov eax, dword [esp + 0x4c]
cmp eax, dword [esp + 0xc0]
je 0x6fdb59e2
lea esi, [ebx + 0x790]
mov dword [esp], esi
call dword [esp + 0x38]
sub esp, 4
movzx eax, byte [ebx + 0x7a8]
test al, al
je 0x6fdb59ac
mov dword [esp], edi
mov ecx, ebp
call fcn.6fdc0a40
sub esp, 4
test al, al
je 0x6fdb5b15
mov byte [ebx + 0x7a8], 0
movzx eax, byte [ebx + 0x7a8]
test al, al
jne 0x6fdb5985
mov dword [esp], esi
call dword [esp + 0x3c]
sub esp, 4
mov dword [esp], esi
call dword [esp + 0x38]
movzx eax, byte [ebx + 0x7a9]
sub esp, 4
mov dword [esp], esi
mov byte [esp + 0x34], al
call dword [esp + 0x3c]
sub esp, 4
movzx eax, byte [esp + 0x34]
test al, al
jne 0x6fdb5b04
mov eax, dword [ebp + 0x8e4]
mov ecx, dword [esp + 0x48]
add ecx, eax
mov eax, dword [ecx]
mov eax, dword [eax + 8]
cmp eax, 0x703e4f30
jne 0x6fdb5c84
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov byte [ecx + 0x14], 0
lea eax, [ebx + 0x760]
xor esi, esi
test al, 1
mov dword [ebx + 0x7ac], esi
mov esi, 0x30
jne 0x6fdb5caa
test al, 2
jne 0x6fdb5c9a
mov ecx, esi
xor edx, edx
and ecx, 0xfffffff8
xor ebx, ebx
mov dword [eax + edx], 0
mov dword [eax + edx + 4], ebx
add edx, 8
cmp edx, ecx
jb 0x6fdb5a3a
add eax, edx
test esi, 4
je 0x6fdb5a61
mov dword [eax], 0
add eax, 4
test esi, 2
je 0x6fdb5a71
mov word [eax], 0
add eax, 2
and esi, 1
je 0x6fdb5a79
mov byte [eax], 0
mov ebx, dword [esp + 0x30]
sub edi, 2
mov esi, dword [esp + 0x88]
dec dword [esp + 0x4c]
sub dword [esp + 0x74], 0x7b0
mov eax, dword [ebx + 0x30]
mov ebx, dword [esp + 0x4c]
sub dword [esp + 0x48], 0x18
add eax, esi
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov eax, esi
sub eax, 0x38
cmp dword [esp + 0xc0], ebx
mov dword [esp + 0x88], eax
jle 0x6fdb5954
mov esi, dword [esp + 0x8c]
mov byte [ebp + 0x8c0], 0
jmp 0x6fdb55b0
mov dword [esp], 0
call fcn.6feef1a0
jmp 0x6fdb59b6
mov dword [esp], 0
call fcn.6feef1a0
jmp 0x6fdb597a
mov eax, dword [esp + 0xc0]
lea ecx, [ebp + 0x1800]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x8d8]
mov dword [esp], eax
call fcn.6fecac50
sub esp, 0xc
jmp 0x6fdb55ce
mov byte [esi + 0x7a8], 0
mov byte [esi + 0x7a9], 0
call fcn.6fd4e540
sub eax, dword [esp + 0x78]
sbb edx, dword [esp + 0x7c]
add dword [ebp + 0x2878], eax
mov eax, dword [esp + 0x50]
adc dword [ebp + 0x287c], edx
mov dword [esp], eax
call dword [esp + 0x3c]
sub esp, 4
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov eax, dword [esp + 0x54]
mov ecx, esi
mov dword [esp], eax
call fcn.6fd5ece0
mov edx, dword [ebp + 0x8d4]
sub esp, 4
jmp 0x6fdb535c
mov ecx, dword [ebp + 0x8d4]
mov eax, dword [ecx + 0x10c]
test eax, eax
jne 0x6fdb5bec
mov eax, dword [ecx + 4]
test eax, eax
jne 0x6fdb5ddf
mov eax, dword [ebp + 0x34]
dec eax
cmp eax, dword [esp + 0xc0]
je 0x6fdb5ddf
mov edx, dword [ecx + 0x130]
xor eax, eax
test edx, edx
jne 0x6fdb5c24
mov eax, dword [ecx + 0x38]
xor edx, edx
div dword [ecx + 0x3c]
add eax, eax
cmp dword [ebp + 0x5c], eax
ja 0x6fdb5dce
mov ecx, dword [ebp + 0x34]
lea eax, [ecx + 1]
mov edx, eax
shr edx, 0x1f
add eax, edx
sar eax, 1
mov edx, eax
lea eax, [ecx - 1]
cmp edx, eax
cmovle eax, edx
cmp dword [esp + 0xc0], eax
je 0x6fdb5d3b
mov eax, dword [ebp + 0x286c]
cmp dword [esp + 0xc0], eax
jge 0x6fdb5cc1
mov eax, dword [ebp + 0x34]
lea edx, [eax - 1]
cmp edx, dword [esp + 0xc0]
je 0x6fdb5d04
call fcn.6fd4e540
sub eax, dword [esp + 0x78]
sbb edx, dword [esp + 0x7c]
add dword [ebp + 0x2878], eax
adc dword [ebp + 0x287c], edx
mov byte [esi + 0x7a9], 0
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret 8
call eax
jmp 0x6fdb5a10
mov byte [esp + 0x5b], 0
jmp 0x6fdb514a
mov word [eax], 0
sub esi, 2
add eax, 2
jmp 0x6fdb5a33
mov byte [ebx + 0x760], 0
lea eax, [ebx + 0x761]
mov esi, 0x2f
jmp 0x6fdb5a2b
mov ebx, dword [esp + 0xc0]
mov ecx, ebp
sub ebx, eax
lea eax, [ebx + ebx + 1]
mov dword [esp], eax
call fcn.6fdc0830
sub esp, 4
mov eax, dword [esp + 0xc0]
cmp dword [ebp + 0x286c], eax
jne 0x6fdb5c44
mov dword [esp], 1
mov ecx, ebp
call fcn.6fdc0790
sub esp, 4
jmp 0x6fdb5c44
mov edx, dword [ebp + 0x286c]
mov ebx, eax
sub ebx, edx
cmp eax, ebx
jle 0x6fdb5c57
lea edi, [ebx + ebx + 1]
lea esi, [esi]
mov dword [esp], edi
mov ecx, ebp
inc ebx
call fcn.6fdc0830
add edi, 2
sub esp, 4
cmp dword [ebp + 0x34], ebx
jg 0x6fdb5d20
jmp 0x6fdb5c57
xor edi, edi
xor eax, eax
cmp byte [esp + 0x5b], 0
mov dword [ebp + 0xb0], edi
mov dword [ebp + 0xb4], eax
je 0x6fdb5e33
mov ecx, dword [esp + 0xc0]
test ecx, ecx
jle 0x6fdb5daf
mov eax, dword [esp + 0x30]
xor ebx, ebx
mov dword [esp + 0x30], esi
mov edx, dword [eax + 0x30]
mov eax, dword [esp + 0xc0]
lea edi, [edx + 4]
lea ecx, [eax*8]
shl eax, 6
sub eax, ecx
xor ecx, ecx
lea eax, [edx + eax + 4]
mov esi, eax
lea esi, [esi]
mov eax, dword [edi]
xor edx, edx
add ecx, eax
adc ebx, edx
add edi, 0x38
cmp edi, esi
jne 0x6fdb5d90
mov esi, dword [esp + 0x30]
mov dword [ebp + 0xb0], ecx
mov dword [ebp + 0xb4], ebx
mov eax, dword [ebp + 0x8d0]
mov ecx, dword [eax + 0x8e8]
lea eax, [ebp + 0x48]
mov dword [esp], eax
call fcn.6fdc3940
sub esp, 4
jmp 0x6fdb5c31
mov eax, dword [ebp + 0x34]
mov edx, dword [ebp + 0x3c]
dec eax
cmp eax, edx
cmovg eax, edx
jmp 0x6fdb5c24
mov ebx, dword [esp + 0x54]
mov dword [esp], 1
mov ecx, ebx
call fcn.6fd651a0
mov ecx, ebx
sub esp, 4
call fcn.6fd5ee00
mov eax, dword [ebx]
test eax, eax
je 0x6fdb5e74
xor ecx, ecx
mov ebx, 0x708d289c
mov edi, 0x708d27a4
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.703e6f20
mov ecx, eax
call fcn.6fd4f6a0
mov ecx, dword [ebp + 0x8d4]
jmp 0x6fdb5bec
mov ebx, dword [esp + 0x64]
test ebx, ebx
je 0x6fdb5daf
mov eax, dword [esp + 0x30]
xor ecx, ecx
xor ebx, ebx
mov dword [esp + 0x30], esi
mov edi, dword [eax + 0x2c]
mov eax, dword [esp + 0x64]
lea eax, [eax + eax*8]
lea eax, [edi + eax*8]
mov esi, eax
lea esi, [esi]
mov eax, dword [edi]
xor edx, edx
add ecx, eax
adc ebx, edx
add edi, 0x48
cmp edi, esi
jne 0x6fdb5e60
jmp 0x6fdb5d9f
xor eax, eax
jmp 0x6fdb5e21