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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xec
mov esi, dword [esp + 0x10c]
mov eax, dword [esp + 0x100]
mov ebp, dword [esp + 0x104]
mov dword [esp + 0x58], 0
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x110]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x114]
cmp eax, 0x1ffffffe
mov dword [esp + 0x50], eax
mov dword [esp + 0xac], esi
mov esi, dword [esp + 0x118]
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0x11c]
mov dword [esp + 0x70], esi
jbe 0x6f7594a4
mov eax, dword [esp + 0x14]
shl eax, 2
cmp dword [esp + 0x14], 0x1ffffffe
mov dword [esp + 0x80], eax
jbe 0x6f759448
cmp dword [esp + 0x50], 0xffffffe
mov dword [esp + 0x7c], 0
jbe 0x6f759430
mov dword [esp + 0x68], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
lea eax, [ebp + ebp*4]
mov dword [esp + 0x28], 0
cmp eax, 0x1ffffffe
jbe 0x6f75941c
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x3c]
lea ebx, [ebp*8]
mov dword [esp + 0x94], 0x7fffffff
mov dword [esp + 0x2c], 0
mov dword [esp + 0x98], ebx
mov dword [esp + 0x90], 0
mov eax, edi
imul eax, ebp
shl eax, 2
mov dword [esp + 0xa4], eax
lea eax, [esi + edi*8 - 8]
mov dword [esp + 0x6c], eax
lea eax, [ebp*4]
mov esi, eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
add eax, esi
mov dword [esp + 0x44], eax
add eax, esi
mov dword [esp + 0xa8], eax
add eax, esi
mov dword [esp + 0x74], eax
add eax, esi
mov esi, dword [esp + 0x50]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x54]
lea eax, [eax + esi*4]
mov esi, dword [esp + 0x68]
mov dword [esp + 0x60], eax
lea eax, [esi + edi*4]
mov dword [esp + 0x64], eax
mov esi, dword [esp + 0x80]
mov eax, dword [esp + 0x40]
mov dword [esp + 4], 0
add dword [esp + 0x90], 1
mov dword [esp + 8], esi
mov dword [esp], eax
call fcn.6fef7ef0
mov eax, dword [esp + 0x38]
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.6fef7ef0
mov edi, dword [esp + 0x50]
test edi, edi
jle 0x6f7593ad
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
xor ebx, ebx
imul eax, ebp
shl eax, 2
test ebp, ebp
jle 0x6f758622
mov esi, dword [esp + 0x4c]
xor edx, edx
lea ecx, [esi + eax]
nop
mov eax, dword [edi + edx*4]
sub eax, dword [ecx + edx*4]
add edx, 1
imul eax, eax
add ebx, eax
cmp edx, ebp
jne 0x6f758610
mov esi, dword [esp + 0x14]
test esi, esi
jle 0x6f758697
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x10], 0
lea esi, [esi]
lea edi, [edi]
test ebp, ebp
jle 0x6f758ba3
mov ecx, dword [edi]
sub ecx, dword [esi]
xor edx, edx
imul ecx, ecx
cmp ecx, ebx
jle 0x6f75866f
jmp 0x6f758684
mov eax, dword [edi + edx*4]
sub eax, dword [esi + edx*4]
imul eax, eax
add ecx, eax
cmp ecx, ebx
jg 0x6f758684
add edx, 1
cmp edx, ebp
jne 0x6f758660
cmp ebx, ecx
jle 0x6f758684
mov eax, dword [esp + 0x10]
mov ebx, ecx
mov dword [esp + 0x2c], eax
add dword [esp + 0x10], 1
add esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x14]
jne 0x6f758640
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x54]
add dword [esp + 0x30], ebx
add edi, dword [esp + 0x18]
lea eax, [ecx*4]
mov dword [edx + esi*4], ecx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x58]
add dword [ecx + eax], ebx
add eax, dword [esp + 0x38]
mov dword [edx + esi*4], ebx
mov ebx, dword [esp + 0x1c]
mov edx, dword [eax]
mov dword [ebx], esi
mov dword [eax], ebx
add esi, 1
add ebx, 8
mov dword [esp + 0x24], esi
mov dword [ebx - 4], edx
cmp esi, dword [esp + 0x50]
mov dword [esp + 0x1c], ebx
jne 0x6f7585f5
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x6f758a1a
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x40]
xor esi, esi
xor edi, edi
xor ecx, ecx
mov ebx, eax
mov eax, dword [ebp + ecx*4]
mov edx, ebx
imul edx, eax
cmp dword [esp + 0x30], edx
jge 0x6f75871c
cdq
add esi, eax
adc edi, edx
mov eax, dword [esp + 0x3c]
mov dword [eax + ecx*8], esi
mov dword [eax + ecx*8 + 4], edi
add ecx, 1
cmp ecx, ebx
jne 0x6f758708
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0xa8]
mov dword [esp + 0xc8], 0
mov dword [esp + 0x1c], 0
lea esi, [esi]
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
imul eax, dword [esi + ebx*4]
cmp eax, dword [esp + 0x30]
jge 0x6f758a00
mov eax, dword [esp + 0x6c]
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
mov eax, esi
or eax, dword [esp + 0x10]
mov dword [esp + 0x1c], esi
je 0x6f759349
cmp dword [esp + 0x10], 0
jle 0x6f759281
mov ebx, dword [esp + 0x70]
mov eax, dword [ebx + 0x100]
lea ecx, [eax - 0x37]
lea edx, [eax - 0x18]
and ecx, 0x3f
and edx, 0x3f
mov edx, dword [ebx + edx*4]
add edx, dword [ebx + ecx*4]
lea ecx, [eax - 0x36]
and ecx, 0x3f
mov esi, edx
mov edx, eax
and edx, 0x3f
mov dword [ebx + edx*4], esi
lea edx, [eax - 0x17]
and edx, 0x3f
mov edx, dword [ebx + edx*4]
add edx, dword [ebx + ecx*4]
mov ecx, edx
lea edx, [eax + 1]
add eax, 2
mov dword [esp + 0x24], ecx
and edx, 0x3f
mov dword [ebx + edx*4], ecx
mov dword [ebx + 0x100], eax
xor eax, eax
mov ecx, eax
mov eax, dword [esp + 0x24]
xor edx, edx
mov ebx, dword [esp + 0x1c]
add eax, ecx
adc edx, esi
mov esi, dword [esp + 0x10]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 0xc], esi
call fcn.703e0a00
add eax, 1
adc edx, 0
mov esi, dword [esp + 0x3c]
cmp edx, dword [esi + 4]
ja 0x6f758b69
jae 0x6f758b61
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x48], 0
lea esi, [esi]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xc8]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x34], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], eax
imul eax, ebp
lea esi, [ebx + eax*4]
mov eax, 0x7fffffff
mov edi, eax
mov esi, esi
lea edi, [edi]
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x1c], ecx
je 0x6f7588c5
test ebp, ebp
jle 0x6f75927a
mov ecx, dword [ebx]
sub ecx, dword [esi]
xor edx, edx
imul ecx, ecx
cmp edi, ecx
jge 0x6f7588b0
jmp 0x6f7588c5
mov eax, dword [ebx + edx*4]
sub eax, dword [esi + edx*4]
imul eax, eax
add ecx, eax
cmp edi, ecx
jl 0x6f7588c5
add edx, 1
cmp edx, ebp
jne 0x6f7588a1
cmp edi, ecx
jle 0x6f7588c5
mov eax, dword [esp + 0x10]
mov edi, ecx
mov dword [esp + 0x34], eax
add dword [esp + 0x10], 1
add ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x14]
jne 0x6f758880
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x5c]
cmp ebx, esi
mov dword [esp + 0xd0], esi
je 0x6f758a00
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x6f758a00
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov ebx, eax
shl eax, 2
mov dword [esp + 0x34], eax
mov eax, edx
shl eax, 2
mov dword [esp + 0x24], eax
mov eax, dword [ecx + edx*4]
lea edx, [esi*4]
add eax, dword [ecx + ebx*4]
mov dword [esp + 0x5c], edx
mov edx, dword [ecx + esi*4]
mov esi, dword [esp + 0x18]
mov dword [esp + 4], 0
mov dword [esp], edi
add edx, eax
mov dword [esp + 8], esi
lea esi, [esp + 0xc8]
mov dword [esp + 0x84], edx
call fcn.6fef7ef0
mov ebx, esi
mov eax, dword [esp + 0x1c]
xor esi, esi
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx + eax*4]
test ecx, ecx
je 0x6f75899b
add esi, 1
xor eax, eax
test ebp, ebp
jle 0x6f758994
lea esi, [esi]
mov edx, dword [ecx]
imul edx, ebp
add edx, eax
mov edx, dword [ebx + edx*4]
add dword [edi + eax*4], edx
add eax, 1
cmp eax, ebp
jne 0x6f758980
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x6f758970
add dword [esp + 0x10], 8
lea ecx, [esp + 0xd8]
mov eax, dword [esp + 0x10]
cmp eax, ecx
je 0x6f758bb6
mov eax, dword [eax]
jmp 0x6f758965
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], ebp
mov edi, esi
mov ebp, dword [esp + 0x40]
mov esi, ebx
mov ebx, dword [esp + 0x14]
xor ecx, ecx
mov eax, dword [ebp + ecx*4]
mov edx, ebx
imul edx, eax
cmp dword [esp + 0x30], edx
jge 0x6f7589e5
cdq
add esi, eax
adc edi, edx
mov eax, dword [esp + 0x3c]
mov dword [eax + ecx*8], esi
mov dword [eax + ecx*8 + 4], edi
add ecx, 1
cmp ecx, ebx
jne 0x6f7589d1
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x24]
nop
add dword [esp + 0x1c], 1
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x14], eax
mov dword [esp + 0xc8], eax
jg 0x6f758750
mov eax, dword [esp + 0x80]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.6fef7ef0
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.6fef7ef0
mov ebx, dword [esp + 0x50]
test ebx, ebx
jle 0x6f758aa7
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x4c]
mov eax, dword [ecx]
add dword [edi + eax*4], 1
test ebp, ebp
jle 0x6f758a9a
xor edx, edx
mov dword [esp + 0x10], edi
jmp 0x6f758a84
mov eax, dword [ecx]
imul eax, ebp
mov edi, dword [ebx + edx*4]
add eax, edx
add edx, 1
add dword [esi + eax*4], edi
cmp edx, ebp
jne 0x6f758a82
mov edi, dword [esp + 0x10]
add ecx, 4
add ebx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x60]
jne 0x6f758a70
mov edx, dword [esp + 0x14]
test edx, edx
jle 0x6f758b12
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], eax
mov ebx, dword [eax]
cmp ebx, 1
jle 0x6f758baa
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x6f758baa
mov eax, dword [esp + 0x18]
mov esi, ebx
sar esi, 1
lea edi, [eax + ecx]
mov ebp, dword [ecx]
lea edx, [ebp + esi]
mov eax, ebp
sub eax, esi
test ebp, ebp
cmovg eax, edx
add ecx, 4
cdq
idiv ebx
mov dword [ecx - 4], eax
cmp ecx, edi
jne 0x6f758ae1
add dword [esp + 0x10], 4
mov ecx, edi
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x64]
jne 0x6f758abf
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x94]
sub eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fild dword [esp + 0x30]
fld xword [0x704dc090]
fmulp st(1)
fxch st(1)
fucompi st(1)
fstp st(0)
jbe 0x6f7593ba
mov esi, dword [esp + 0xac]
cmp dword [esp + 0x90], esi
jge 0x6f7593ba
mov eax, dword [esp + 0x30]
mov dword [esp + 0x94], eax
jmp 0x6f75858e
cmp eax, dword [esi]
jbe 0x6f758825
mov ecx, dword [esp + 0x3c]
mov ebx, edi
mov dword [esp + 0x24], 0
mov edi, edx
mov esi, eax
xor edx, edx
lea esi, [esi]
add edx, 1
cmp dword [ecx + edx*8 + 4], edi
mov eax, edx
jb 0x6f758b80
ja 0x6f758b92
cmp dword [ecx + edx*8], esi
jb 0x6f758b80
mov dword [esp + 0x48], eax
mov dword [esp + 0x24], edx
mov edi, ebx
mov eax, edx
jmp 0x6f758840
xor ecx, ecx
jmp 0x6f758676
mov eax, dword [esp + 0x18]
lea edi, [ecx + eax]
jmp 0x6f758afd
cmp esi, 1
jle 0x6f759218
test ebp, ebp
jle 0x6f759220
mov eax, esi
mov ecx, edi
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x74]
sar eax, 1
mov dword [esp + 0x48], ebp
mov ebx, eax
nop
lea esi, [esi]
mov edx, dword [ecx]
lea ebp, [edx + ebx]
mov eax, edx
sub eax, ebx
test edx, edx
cmovg eax, ebp
add ecx, 4
cdq
idiv esi
mov dword [ecx - 4], eax
cmp ecx, edi
jne 0x6f758be0
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x48]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
xor eax, eax
lea esi, [esi]
mov dword [edx + eax*4], 0x7fffffff
mov dword [ecx + eax*4], 0
add eax, 1
cmp ebp, eax
jg 0x6f758c10
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x38]
mov dword [esp + 0x48], eax
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x24], eax
je 0x6f758cc1
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x88], edi
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x20]
lea esi, [esi]
xor eax, eax
test ebp, ebp
jle 0x6f758ca7
lea esi, [esi]
lea edi, [edi]
mov edx, dword [esp + 0x10]
mov ecx, dword [edx]
mov edx, dword [esi + eax*4]
imul ecx, ebp
add ecx, eax
cmp dword [ebx + ecx*4], edx
cmovle edx, dword [ebx + ecx*4]
mov dword [esi + eax*4], edx
mov edx, dword [esp + 0x10]
mov ecx, dword [edx]
mov edx, dword [edi + eax*4]
imul ecx, ebp
add ecx, eax
cmp dword [ebx + ecx*4], edx
cmovge edx, dword [ebx + ecx*4]
mov dword [edi + eax*4], edx
add eax, 1
cmp eax, ebp
jne 0x6f758c70
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x6f758c60
test ebp, ebp
mov edi, dword [esp + 0x88]
jle 0x6f758d24
mov dword [esp + 0x88], edi
mov dword [esp + 0x10], ebp
xor esi, esi
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x44]
lea esi, [esi]
lea edi, [edi]
mov ebx, dword [edi + esi*4]
mov ecx, dword [ebp + esi*4]
mov eax, 0x55555556
sub ecx, ebx
imul ecx
mov eax, ecx
add ecx, ecx
sar eax, 0x1f
sub edx, eax
mov eax, 0x55555556
add edx, ebx
mov dword [edi + esi*4], edx
imul ecx
sar ecx, 0x1f
sub edx, ecx
add ebx, edx
mov dword [ebp + esi*4], ebx
add esi, 1
cmp dword [esp + 0x10], esi
jg 0x6f758ce0
mov edi, dword [esp + 0x88]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x38]
mov dword [esp + 0x9c], eax
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0xa0], eax
je 0x6f7593a0
mov esi, eax
mov dword [esp + 0x10], 0
nop
mov eax, dword [esi]
xor ecx, ecx
imul eax, ebp
shl eax, 2
test ebp, ebp
jle 0x6f758d82
mov ebx, dword [esp + 0x20]
xor edx, edx
add ebx, eax
lea esi, [esi]
lea edi, [edi]
mov eax, dword [edi + edx*4]
sub eax, dword [ebx + edx*4]
add edx, 1
imul eax, eax
add ecx, eax
cmp edx, ebp
jne 0x6f758d70
mov esi, dword [esi + 4]
add dword [esp + 0x10], ecx
test esi, esi
jne 0x6f758d50
mov eax, dword [esp + 0x5c]
add eax, dword [esp + 0x38]
mov dword [esp + 0x34], 0
mov esi, dword [eax]
mov dword [esp + 0x5c], eax
test esi, esi
je 0x6f758ded
mov esi, esi
lea edi, [edi]
mov eax, dword [esi]
xor ecx, ecx
imul eax, ebp
shl eax, 2
test ebp, ebp
jle 0x6f758de2
mov ebx, dword [esp + 0x20]
xor edx, edx
add ebx, eax
lea esi, [esi]
lea edi, [edi]
mov eax, dword [edi + edx*4]
sub eax, dword [ebx + edx*4]
add edx, 1
imul eax, eax
add ecx, eax
cmp edx, ebp
jne 0x6f758dd0
mov esi, dword [esi + 4]
add dword [esp + 0x34], ecx
test esi, esi
jne 0x6f758db0
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x34]
mov esi, dword [esp + 0x78]
mov dword [esp + 4], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0x88], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xbc], esi
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x98]
mov dword [esp], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 8], esi
call fcn.6fef7ef0
mov eax, dword [esp + 0x24]
mov dword [esp + 0xd8], 0
mov dword [esp + 0xd4], 0
test eax, eax
je 0x6f75930d
mov esi, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov dword [esp + 0x8c], edi
nop
lea esi, [esi]
mov edx, dword [eax]
mov eax, ebp
imul eax, edx
shl eax, 2
test ebp, ebp
jle 0x6f75925a
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
xor ecx, ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x1c], 0
xor esi, esi
add edi, eax
lea esi, [esi]
mov eax, dword [ebx + ecx*4]
sub eax, dword [edi + ecx*4]
add ecx, 1
imul eax, eax
add esi, eax
cmp ecx, ebp
jne 0x6f758eb0
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x34]
xor ebx, ebx
xor ecx, ecx
nop
mov eax, dword [esi + ecx*4]
sub eax, dword [edi + ecx*4]
add ecx, 1
imul eax, eax
add ebx, eax
cmp ecx, ebp
jne 0x6f758ed0
mov edi, dword [esp + 0x1c]
cmp ebx, edi
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
setle al
movzx eax, al
add dword [esp + eax*4 + 0xb0], 1
mov ecx, dword [esp + eax*4 + 0xb8]
xor eax, eax
jmp 0x6f758f12
mov edx, dword [edi]
imul edx, ebp
add edx, eax
mov edx, dword [ebx + edx*4]
add dword [ecx + eax*4], edx
add eax, 1
cmp ebp, eax
jg 0x6f758f10
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x6f758e80
mov esi, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0xc8]
cmp eax, 1
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], esi
jle 0x6f759315
test ebp, ebp
jle 0x6f7592d0
mov ebx, dword [esp + 0x74]
sar eax, 1
xor ecx, ecx
mov esi, eax
lea esi, [esi]
mov edx, dword [ebx + ecx*4]
lea edi, [edx + esi]
mov eax, edx
sub eax, esi
test edx, edx
cmovg eax, edi
mov edi, dword [esp + 0x28]
cdq
idiv dword [esp + 0x34]
mov dword [edi + ecx*4], eax
add ecx, 1
cmp ecx, ebp
jne 0x6f758f80
cmp dword [esp + 0x10], 1
mov edi, dword [esp + 0x8c]
jle 0x6f7592db
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x78]
xor ecx, ecx
mov dword [esp + 0x34], edi
sar esi, 1
mov edx, dword [ebx + ecx*4]
lea edi, [edx + esi]
mov eax, edx
sub eax, esi
test edx, edx
cmovg eax, edi
mov edi, dword [esp + 0x44]
cdq
idiv dword [esp + 0x10]
mov dword [edi + ecx*4], eax
add ecx, 1
cmp ebp, ecx
jg 0x6f758fc4
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x24]
test esi, esi
je 0x6f75909d
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x34], edi
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
imul eax, ecx
shl eax, 2
test ecx, ecx
jle 0x6f75923f
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
xor ebx, ebx
xor edx, edx
add esi, eax
nop
lea esi, [esi]
mov eax, dword [edi + edx*4]
sub eax, dword [esi + edx*4]
add edx, 1
imul eax, eax
add ebx, eax
cmp edx, ecx
jne 0x6f759030
mov edi, dword [esp + 0x10]
mov dword [esp + 0xc0], ebx
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp + edx*4]
sub eax, dword [esi + edx*4]
add edx, 1
imul eax, eax
add ecx, eax
cmp edx, edi
jne 0x6f759051
xor edx, edx
cmp ebx, ecx
setg dl
lea eax, [esp + edx*4 + 0xd4]
mov dword [esp + 0xc4], ecx
mov edx, dword [esp + edx*4 + 0xc0]
add dword [eax], edx
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 4]
test eax, eax
mov dword [esp + 0x24], eax
jne 0x6f759002
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x8c], eax
add eax, dword [esp + 0xd8]
add eax, dword [esp + 0x88]
cmp eax, dword [esp + 0x84]
mov dword [esp + 0x34], eax
jge 0x6f758a00
mov eax, dword [esp + 0x5c]
mov edx, dword [eax]
mov eax, dword [esp + 0x5c]
test edx, edx
jne 0x6f7590dc
jmp 0x6f7590ea
mov edx, eax
mov eax, dword [edx + 4]
test eax, eax
jne 0x6f7590da
lea eax, [edx + 4]
mov dword [esp + 0x5c], eax
mov esi, dword [esp + 0xa0]
mov dword [eax], esi
mov eax, dword [esp + 0x9c]
mov dword [eax], 0
mov eax, dword [esp + 0x48]
mov esi, dword [eax]
mov dword [eax], 0
test esi, esi
mov dword [esp + 0x10], esi
je 0x6f7591b6
mov dword [esp + 0x48], edi
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x44]
mov esi, dword [eax + 4]
mov eax, dword [eax]
imul eax, ebp
mov dword [esp + 0x24], esi
shl eax, 2
test ebp, ebp
jle 0x6f759304
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
xor ebx, ebx
xor edx, edx
add esi, eax
lea esi, [esi]
mov eax, dword [esi + edx*4]
sub eax, dword [ecx + edx*4]
add edx, 1
imul eax, eax
add ebx, eax
cmp edx, ebp
jne 0x6f759150
xor ecx, ecx
xor edx, edx
lea esi, [esi]
lea edi, [edi]
mov eax, dword [esi + edx*4]
sub eax, dword [edi + edx*4]
add edx, 1
imul eax, eax
add ecx, eax
cmp edx, ebp
jne 0x6f759170
xor eax, eax
cmp ebx, ecx
setg al
mov eax, dword [esp + eax*4 + 0xc8]
mov esi, dword [esp + 0x38]
lea eax, [esi + eax*4]
mov esi, dword [esp + 0x10]
mov edx, dword [eax]
mov dword [esi + 4], edx
mov dword [eax], esi
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x6f759124
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x84]
xor ebx, ebx
add dword [esp + 0x30], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x8c]
mov esi, dword [esp + 0x54]
mov edx, dword [esp + 0x40]
mov dword [edx + ecx*4], eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x6f7591fc
nop
lea esi, [esi]
mov edx, dword [eax]
mov eax, dword [eax + 4]
test eax, eax
mov dword [esi + edx*4], ecx
jne 0x6f7591f0
add ebx, 1
cmp ebx, 3
je 0x6f7589b7
mov eax, dword [esp + ebx*4 + 0xd4]
mov ecx, dword [esp + ebx*4 + 0xc8]
jmp 0x6f7591d6
test ebp, ebp
jg 0x6f758c03
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x38]
mov dword [esp + 0x48], eax
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x24], eax
jne 0x6f758c3f
jmp 0x6f758d24
mov dword [esp + 0xc0], 0
lea eax, [esp + 0xd4]
xor edx, edx
xor ecx, ecx
jmp 0x6f759072
mov eax, dword [esp + 0x10]
add dword [esp + 0xb4], 1
mov eax, dword [eax + 4]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x6f758e80
jmp 0x6f758f37
xor ecx, ecx
jmp 0x6f7588b7
jl 0x6f75928f
cmp esi, 0x7ffffffe
ja 0x6f758792
mov esi, dword [esp + 0x70]
mov eax, dword [esi + 0x100]
mov edx, eax
lea ecx, [eax - 0x37]
and edx, 0x3f
lea ebx, [esi + edx*4]
lea edx, [eax - 0x18]
and ecx, 0x3f
add eax, 1
and edx, 0x3f
mov edx, dword [esi + edx*4]
add edx, dword [esi + ecx*4]
mov dword [ebx], edx
mov dword [esi + 0x100], eax
xor edx, edx
mov eax, dword [ebx]
div dword [esp + 0x1c]
lea eax, [edx + 1]
xor edx, edx
jmp 0x6f758812
cmp dword [esp + 0x10], 1
jg 0x6f758ff6
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x78]
cmp eax, esi
je 0x6f758fea
mov ebx, dword [esp + 0x18]
mov dword [esp + 4], esi
mov dword [esp], eax
mov dword [esp + 8], ebx
call sub.msvcrt.dll_memcpy
jmp 0x6f758fea
mov eax, dword [esp + 0x1c]
jmp 0x6f759190
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x74]
cmp eax, esi
je 0x6f759335
mov ebx, dword [esp + 0x18]
mov dword [esp + 4], esi
mov dword [esp], eax
mov dword [esp + 8], ebx
call sub.msvcrt.dll_memcpy
cmp dword [esp + 0x10], 1
jle 0x6f7592db
test ebp, ebp
jg 0x6f758fb4
jmp 0x6f758fea
mov eax, dword [esp + 0x80]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.6fef7ef0
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.6fef7ef0
mov ecx, dword [esp + 0x50]
test ecx, ecx
jg 0x6f758a60
jmp 0x6f758aaf
mov dword [esp + 0x10], 0
jmp 0x6f758d8d
mov dword [esp + 0x30], 0
jmp 0x6f7586ec
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.6fc60660
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.6fc60660
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.6fc60660
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.6fc60660
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.6fc60660
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.6fc60660
mov eax, dword [esp + 0x28]
mov dword [esp + 0x100], eax
add esp, 0xec
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.6fc60660
shl eax, 2
mov dword [esp], eax
call sub.avutil_54.dll_av_malloc
mov dword [esp + 0x28], eax
jmp 0x6f7584fd
mov eax, dword [esp + 0x50]
shl eax, 3
mov dword [esp], eax
call sub.avutil_54.dll_av_malloc
mov dword [esp + 0x7c], eax
jmp 0x6f7584c6
mov dword [esp], eax
call sub.avutil_54.dll_av_malloc
cmp dword [esp + 0x50], 0xffffffe
mov dword [esp + 0x68], eax
jbe 0x6f7594c5
mov dword [esp + 0x7c], 0
mov esi, dword [esp + 0x80]
mov dword [esp], esi
call sub.avutil_54.dll_av_malloc
mov dword [esp], esi
mov dword [esp + 0x38], eax
call sub.avutil_54.dll_av_malloc
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffe
ja 0x6f7594b8
shl eax, 3
mov dword [esp], eax
call sub.avutil_54.dll_av_malloc
mov dword [esp + 0x3c], eax
jmp 0x6f7584e6
shl eax, 2
mov dword [esp], eax
call sub.avutil_54.dll_av_malloc
mov dword [esp + 0x58], eax
jmp 0x6f758494
mov dword [esp + 0x3c], 0
jmp 0x6f7584e6
mov eax, dword [esp + 0x50]
shl eax, 3
mov dword [esp], eax
call sub.avutil_54.dll_av_malloc
mov dword [esp + 0x7c], eax
jmp 0x6f759466