Function at 0x100ec350
Capabilities:
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [0x1026f864]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x16b8
call fcn.1005a320
add esp, 4
test eax, eax
mov dword [ebp - 0x14], eax
je 0x100ed31b
mov edi, dword [ebp + 8]
mov edx, dword [eax + 4]
mov ecx, 0x1000
mov eax, dword [edi + 4]
mov dword [ebp - 0x18], edx
sub eax, dword [edi]
cmp eax, ecx
cmovae eax, ecx
lea ecx, [edx + 0x6b4]
mov dword [edx + 0x16b4], eax
push eax
push dword [edi]
push ecx
call fcn.101e35e0
add esp, 0xc
mov edx, dword [edi + 8]
mov eax, dword [edi]
mov esi, dword [edi + 0x10]
mov ecx, edx
mov dword [ebp - 0x2c], edx
add edx, 8
shr ecx, 3
cmp esi, edx
mov ecx, dword [eax + ecx]
cmovbe edx, esi
xor ebx, ebx
mov dword [edi + 8], edx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x60], ecx
mov ecx, edx
shr ecx, 3
cmp edx, esi
movzx ecx, byte [eax + ecx]
setl bl
add ebx, edx
xor edx, edx
mov dword [edi + 8], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x34], ecx
mov ecx, ebx
shr ecx, 3
cmp ebx, esi
movzx ecx, byte [eax + ecx]
setl dl
add edx, ebx
xor ebx, ebx
mov dword [edi + 8], edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x30], ecx
mov ecx, edx
shr ecx, 3
cmp edx, esi
movzx ecx, byte [eax + ecx]
setl bl
add ebx, edx
xor edx, edx
mov dword [edi + 8], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x5c], ecx
mov ecx, ebx
shr ecx, 3
cmp ebx, esi
movzx ecx, byte [eax + ecx]
setl dl
add edx, ebx
xor ebx, ebx
mov dword [edi + 8], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x20], ecx
mov ecx, edx
shr ecx, 3
cmp edx, esi
movzx ecx, byte [eax + ecx]
setl bl
add ebx, edx
mov dword [edi + 8], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x24], ecx
mov ecx, ebx
shr ecx, 3
movzx ecx, byte [eax + ecx]
mov dword [ebp - 0x28], ecx
xor ecx, ecx
cmp ebx, esi
setl cl
lea edx, [ecx + ebx + 2]
cmp esi, edx
cmovbe edx, esi
mov ecx, edx
mov dword [edi + 8], edx
lea ebx, [edx + 8]
mov dword [ebp - 0x40], edx
shr ecx, 3
cmp esi, ebx
mov ecx, dword [eax + ecx]
cmovbe ebx, esi
mov dword [edi + 8], ebx
mov dword [ebp - 0x3c], ecx
mov ecx, ebx
shr ecx, 3
push dword [eax + ecx]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
and cl, 7
shl eax, cl
shr eax, 0x17
movzx ecx, byte [eax + 0x10210d70]
movzx edx, byte [eax + 0x10210f70]
add ecx, ebx
mov eax, edx
mov dword [ebp - 0x38], edx
cmp esi, ecx
cmovbe ecx, esi
cmp edx, 0x1f
mov dword [edi + 8], ecx
ja 0x100ed2a0
mov esi, dword [ebp + 8]
lea eax, [esi + 8]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x3c]
call fcn.101eaef1
add esp, 4
mov ecx, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
and cl, 7
shl eax, cl
mov ecx, dword [ebp - 0x44]
shr eax, 0xf8
mov dword [ebp - 0x34], eax
and cl, 7
shl dword [ebp - 0x28], cl
mov ecx, dword [ebp - 0x48]
and cl, 7
shl dword [ebp - 0x24], cl
mov ecx, dword [ebp - 0x4c]
and cl, 7
shl dword [ebp - 0x20], cl
mov ecx, dword [ebp - 0x50]
and cl, 7
shl ebx, cl
mov ecx, dword [ebp - 0x54]
and cl, 7
shl esi, cl
mov ecx, dword [ebp - 0x58]
and cl, 7
shl edi, cl
shr edi, 7
and edi, 1
push dword [ebp - 0x60]
call fcn.101eaef1
add esp, 4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x20]
shr esi, 6
shr ebx, 5
and esi, 2
and ebx, 4
or esi, edi
or ebx, esi
mov esi, dword [ebp - 0x30]
shr eax, 4
and eax, 8
or eax, ebx
mov ecx, eax
mov eax, dword [ebp - 0x24]
shr eax, 3
and eax, 0x10
or eax, ecx
mov ecx, eax
mov eax, dword [ebp - 0x28]
shr eax, 2
and eax, 0x20
or eax, ecx
mov ecx, dword [ebp - 0x2c]
mov edx, eax
mov eax, dword [ebp - 0x18]
and cl, 7
shl esi, cl
mov ecx, dword [ebp - 0x38]
shr esi, 0xf8
mov edi, eax
mov dword [eax], ecx
mov dword [eax + 0x690], 0x18
mov dword [eax + 4], esi
mov dword [eax + 0x6b0], edx
mov eax, dword [ebp - 0x34]
mov dword [edi + 8], eax
mov dword [edi + 0x70], 0xffffffff
lea eax, [edi + 0x4a4]
push 0x1e0
push 0x10
mov dword [ebp - 0x20], eax
push eax
call fcn.101e40e0
mov edx, esi
add esp, 0xc
cmp esi, 0x75
mov dword [edi + 0x4a0], 0
mov dword [edi + 0x80], 2
jg 0x100ec603
lea eax, [edx - 0x53]
cmp eax, 0x1b
ja 0x100ec5f9
mov ecx, 0x8020009
bt ecx, eax
jb 0x100ed112
cmp edx, 0x2c
jne 0x100ec625
jmp 0x100ed112
lea eax, [edx - 0x76]
cmp eax, 0x1a
ja 0x100ec619
mov ecx, 0x4100411
bt ecx, eax
jb 0x100ed112
cmp edx, 0xf4
je 0x100ed112
mov eax, 8
mov dword [edi + 0xc], 1
mov dword [edi + 0x6a4], eax
mov dword [edi + 0x6a8], eax
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
mov eax, dword [esi]
mov esi, dword [esi + 0x10]
mov ecx, ebx
shr ecx, 3
push dword [eax + ecx]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
and cl, 7
shl eax, cl
cmp eax, 0x8000000
jb 0x100ed325
shr eax, 0x17
mov edx, dword [ebp - 0x1c]
movzx ecx, byte [eax + 0x10210d70]
movzx eax, byte [eax + 0x10210f70]
add ebx, ecx
cmp esi, ebx
cmovbe ebx, esi
mov dword [edx], ebx
cmp eax, 0xc
ja 0x100ed2a0
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
add eax, 4
mov dword [edi + 0x14], eax
mov ebx, dword [ecx + 8]
mov eax, dword [ecx]
mov esi, dword [ecx + 0x10]
mov ecx, ebx
shr ecx, 3
push dword [eax + ecx]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
mov edx, dword [ebp + 8]
and cl, 7
shl eax, cl
shr eax, 0x17
movzx ecx, byte [eax + 0x10210d70]
movzx eax, byte [eax + 0x10210f70]
add ecx, ebx
cmp esi, ecx
cmovbe ecx, esi
cmp eax, 2
mov dword [edx + 8], ecx
mov dword [edi + 0x18], eax
jne 0x100ed0a9
mov ecx, dword [ebp + 8]
mov ebx, dword [edx + 8]
mov eax, dword [edx]
mov esi, dword [ecx + 0x10]
mov ecx, ebx
shr ecx, 3
push dword [eax + ecx]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
mov edx, dword [ebp + 8]
mov edi, dword [ebp - 0x18]
and cl, 7
shl eax, cl
shr eax, 0x17
movzx ecx, byte [eax + 0x10210d70]
movzx eax, byte [eax + 0x10210f70]
add ecx, ebx
cmp esi, ecx
cmovbe ecx, esi
mov dword [edx + 8], ecx
mov edx, dword [ebp + 0xc]
mov dword [edi + 0x30], eax
cmp dword [edx + 0x14], 0x32564d53
je 0x100ed355
cmp eax, 0x10
jg 0x100ed2a0
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x18]
mov esi, eax
mov eax, dword [eax]
mov ecx, dword [esi + 8]
mov edx, ecx
shr edx, 3
movzx edx, byte [eax + edx]
xor eax, eax
cmp ecx, dword [esi + 0x10]
setl al
add eax, ecx
and cl, 7
shl edx, cl
shr edx, 7
mov dword [esi + 8], eax
and edx, 1
mov dword [edi + 0x34], edx
mov ebx, dword [esi + 8]
mov eax, dword [esi]
mov esi, dword [esi + 0x10]
mov ecx, ebx
shr ecx, 3
push dword [eax + ecx]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
and cl, 7
shl eax, cl
cmp eax, 0x8000000
jb 0x100ed368
shr eax, 0x17
movzx ecx, byte [eax + 0x10210d70]
add ebx, ecx
mov ecx, dword [ebp - 0x1c]
cmp esi, ebx
cmovbe ebx, esi
mov dword [ecx], ebx
movzx ecx, byte [eax + 0x10210f70]
inc ecx
mov dword [edi + 0x38], ecx
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx + 8]
mov eax, dword [ecx]
mov esi, dword [ecx + 0x10]
mov ecx, ebx
shr ecx, 3
push dword [eax + ecx]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
and cl, 7
shl eax, cl
cmp eax, 0x8000000
jb 0x100ed39d
shr eax, 0x17
movzx ecx, byte [eax + 0x10210d70]
add ebx, ecx
mov ecx, dword [ebp - 0x1c]
cmp esi, ebx
cmovbe ebx, esi
mov dword [ecx], ebx
movzx ecx, byte [eax + 0x10210f70]
mov esi, dword [ebp + 8]
inc ecx
mov dword [edi + 0x3c], ecx
mov ecx, dword [esi + 8]
mov eax, dword [esi]
mov edx, ecx
shr edx, 3
movzx eax, byte [eax + edx]
xor edx, edx
cmp ecx, dword [esi + 0x10]
setl dl
add edx, ecx
and cl, 7
shl eax, cl
shr eax, 7
mov dword [esi + 8], edx
and eax, 1
mov dword [edi + 0x40], eax
mov ecx, dword [edi + 0x3c]
cmp ecx, 0x3ffffffe
ja 0x100ed2a0
mov esi, dword [ebp - 0x18]
mov edx, 2
sub edx, eax
imul edx, ecx
mov dword [esi + 0x3c], edx
xor edx, edx
test eax, eax
je 0x100ed3d2
mov dword [esi + 0x44], edx
mov eax, dword [esi + 0x38]
cmp eax, 0x7fffffe
ja 0x100ed2a0
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x3c]
cmp ecx, 0x7fffffe
ja 0x100ed2a0
shl ecx, 4
shl eax, 4
push dword [ebp + 0xc]
push 0
push ecx
push eax
call sym.ffmpeg.dll_av_image_check_size
add esp, 0x10
test eax, eax
jne 0x100ed2a0
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x18]
mov ecx, dword [edi + 8]
mov eax, dword [edi]
mov edx, ecx
shr edx, 3
movzx edx, byte [eax + edx]
xor eax, eax
cmp ecx, dword [edi + 0x10]
setl al
add eax, ecx
and cl, 7
shl edx, cl
shr edx, 7
mov dword [edi + 8], eax
and edx, 1
mov dword [esi + 0x48], edx
mov ecx, dword [edi + 8]
mov eax, dword [edi]
mov edx, ecx
shr edx, 3
movzx edx, byte [eax + edx]
xor eax, eax
cmp ecx, dword [edi + 0x10]
setl al
add eax, ecx
and cl, 7
shl edx, cl
shr edx, 7
mov dword [edi + 8], eax
and edx, 1
mov dword [esi + 0x4c], edx
jne 0x100eced5
lea eax, [esi + 0x4c]
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0x10], ecx
mov eax, dword [ebp + 8]
mov edi, eax
mov eax, dword [eax]
mov ecx, dword [edi + 8]
mov edx, ecx
shr edx, 3
movzx edx, byte [eax + edx]
xor eax, eax
cmp ecx, dword [edi + 0x10]
setl al
add eax, ecx
and cl, 7
shl edx, cl
shr edx, 7
mov dword [edi + 8], eax
and edx, 1
mov dword [esi + 0x60], edx
je 0x100ece6b
mov edx, edi
mov edi, dword [edi]
xor ebx, ebx
mov ecx, dword [edx + 8]
mov esi, dword [edx + 0x10]
mov eax, ecx
shr eax, 3
cmp ecx, esi
movzx eax, byte [edi + eax]
setl bl
add ebx, ecx
and cl, 7
mov dword [edx + 8], ebx
shl eax, cl
test al, 0x80
je 0x100ed288
mov eax, ebx
shr eax, 3
push dword [edi + eax]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
mov edx, dword [ebp - 0x1c]
add ebx, 8
and cl, 7
shl eax, cl
shr eax, 0xf8
cmp esi, ebx
cmovbe ebx, esi
cmp eax, 0xff
mov dword [edx], ebx
je 0x100ed6cf
cmp eax, 0x10
ja 0x100ed2a0
mov ecx, dword [eax*8 + 0x102496c0]
mov edx, dword [ebp - 0x18]
mov eax, dword [eax*8 + 0x102496c4]
mov dword [edx + 0x68], eax
mov dword [edx + 0x64], ecx
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 8]
mov eax, dword [edi]
mov esi, dword [edi + 0x10]
mov edx, ecx
shr edx, 3
movzx ebx, byte [eax + edx]
xor edx, edx
cmp ecx, esi
setl dl
add edx, ecx
and cl, 7
shl ebx, cl
shr bl, 7
cmp edx, esi
setl cl
and cl, bl
movzx ecx, cl
add ecx, edx
mov edx, ecx
mov dword [edi + 8], ecx
shr edx, 3
movzx edx, byte [eax + edx]
xor eax, eax
cmp ecx, esi
mov esi, edi
setl al
add eax, ecx
and cl, 7
mov dword [edi + 8], eax
shl edx, cl
mov ecx, dword [ebp - 0x18]
shr edx, 7
and edx, 1
mov dword [ecx + 0x6c], edx
jne 0x100ed402
mov ecx, dword [esi + 8]
mov eax, dword [esi]
mov edi, esi
mov esi, dword [esi + 0x10]
xor ebx, ebx
mov edx, ecx
shr edx, 3
cmp ecx, esi
movzx edx, byte [eax + edx]
setl bl
add ebx, ecx
and cl, 7
mov dword [edi + 8], ebx
shl edx, cl
test dl, 0x80
jne 0x100ed573
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x84], 1
mov esi, dword [edi]
mov ebx, dword [edi + 8]
mov eax, ebx
shr eax, 3
mov eax, dword [esi + eax]
mov edi, eax
push eax
call fcn.101eaef1
add esp, 4
mov esi, dword [ebp + 8]
mov ecx, ebx
and ecx, 7
shl eax, cl
shr eax, 0xff
test eax, eax
je 0x100eca99
mov eax, dword [esi + 0xc]
sub eax, ebx
cmp eax, 0xa
jl 0x100ece6b
xor eax, eax
cmp ebx, dword [esi + 0x10]
setl al
add eax, ebx
mov dword [esi + 8], eax
mov eax, edi
mov edi, dword [ebp - 0x18]
movzx eax, al
shl eax, cl
shr eax, 7
and eax, 1
mov dword [edi + 0x88], eax
je 0x100ecbd9
mov eax, dword [esi + 0x10]
mov ebx, dword [esi + 8]
mov ecx, dword [esi]
mov dword [ebp - 0x20], eax
mov eax, ebx
shr eax, 3
push dword [ecx + eax]
mov edi, ecx
call fcn.101eaef1
add esp, 4
mov edx, dword [ebp - 0x20]
mov ecx, ebx
add ebx, 0x10
and cl, 7
shl eax, cl
shr eax, 0xf0
cmp edx, ebx
cmovbe ebx, edx
shl eax, 0x10
mov dword [ebp - 0x24], eax
mov eax, ebx
mov dword [esi + 8], ebx
shr eax, 3
push dword [edi + eax]
mov dword [ebp - 0x28], edi
call fcn.101eaef1
add esp, 4
mov edx, esi
mov esi, eax
mov eax, dword [ebp - 0x20]
mov ecx, ebx
add ebx, 0x10
and cl, 7
shl esi, cl
shr esi, 0xf0
cmp eax, ebx
cmovbe ebx, eax
mov eax, ebx
mov dword [edx + 8], ebx
shr eax, 3
push dword [edi + eax]
call fcn.101eaef1
add esp, 4
mov edi, eax
mov eax, dword [ebp - 0x20]
mov ecx, ebx
add ebx, 0x10
and cl, 7
shl edi, cl
shr edi, 0xf0
mov ecx, dword [ebp - 0x28]
cmp eax, ebx
cmovbe ebx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 8], ebx
mov eax, ebx
shr eax, 3
push dword [ecx + eax]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
add ebx, 0x10
mov edx, dword [ebp + 8]
and cl, 7
shl eax, cl
mov ecx, dword [ebp - 0x20]
shr eax, 0xf0
cmp ecx, ebx
cmovbe ebx, ecx
or esi, dword [ebp - 0x24]
mov dword [edx + 8], ebx
je 0x100ed2ef
shl edi, 0x10
or eax, edi
je 0x100ed2ef
mov edi, dword [ebp - 0x18]
mov dword [edi + 0x8c], esi
mov dword [edi + 0x90], eax
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 8]
mov eax, dword [esi]
mov edx, ecx
shr edx, 3
movzx edx, byte [eax + edx]
xor eax, eax
cmp ecx, dword [esi + 0x10]
setl al
add eax, ecx
and cl, 7
shl edx, cl
shr edx, 7
mov dword [esi + 8], eax
and edx, 1
mov dword [edi + 0x94], edx
mov ecx, dword [esi + 8]
mov eax, dword [esi]
mov edx, ecx
shr edx, 3
movzx edx, byte [eax + edx]
xor eax, eax
cmp ecx, dword [esi + 0x10]
setl al
add eax, ecx
and cl, 7
shl edx, cl
shr edx, 7
mov dword [esi + 8], eax
and edx, 1
mov dword [edi + 0x684], edx
jne 0x100ed5b7
mov eax, dword [ebp + 8]
mov esi, eax
mov eax, dword [eax]
mov ecx, dword [esi + 8]
mov edx, ecx
shr edx, 3
movzx edx, byte [eax + edx]
xor eax, eax
cmp ecx, dword [esi + 0x10]
setl al
add eax, ecx
and cl, 7
shl edx, cl
mov ecx, dword [ebp - 0x18]
shr edx, 7
mov dword [esi + 8], eax
and edx, 1
mov dword [ecx + 0x688], edx
jne 0x100ed5cf
mov edi, dword [ebp - 0x18]
cmp dword [edi + 0x684], 0
jne 0x100ed301
cmp dword [edi + 0x688], 0
jne 0x100ed301
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x10]
mov edx, dword [esi]
mov esi, ecx
shr esi, 3
movzx esi, byte [edx + esi]
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp + 8]
setl dl
add edx, ecx
and cl, 7
shl esi, cl
mov dword [eax + 8], edx
shr esi, 7
and esi, 1
mov dword [edi + 0x68c], esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 8]
cmp dword [esi + 0xc], ecx
je 0x100ece6b
mov eax, dword [esi]
mov edx, ecx
shr edx, 3
movzx edx, byte [eax + edx]
xor eax, eax
cmp ecx, dword [esi + 0x10]
setl al
add eax, ecx
and cl, 7
shl edx, cl
shr edx, 7
mov dword [esi + 8], eax
and edx, 1
mov dword [edi + 0x498], edx
je 0x100ece6b
mov edi, dword [esi]
mov eax, dword [esi + 8]
mov ecx, esi
mov esi, dword [esi + 0x10]
xor ebx, ebx
cmp eax, esi
setl bl
add ebx, eax
mov eax, ebx
mov dword [ecx + 8], ebx
shr eax, 3
push dword [edi + eax]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
and cl, 7
shl eax, cl
cmp eax, 0x8000000
jb 0x100ed5e7
shr eax, 0x17
movzx eax, byte [eax + 0x10210d70]
add ebx, eax
mov eax, dword [ebp - 0x1c]
cmp esi, ebx
cmovbe ebx, esi
mov dword [eax], ebx
mov eax, ebx
shr eax, 3
push dword [edi + eax]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
and cl, 7
shl eax, cl
cmp eax, 0x8000000
jb 0x100ed5f9
shr eax, 0x17
movzx eax, byte [eax + 0x10210d70]
add ebx, eax
mov eax, dword [ebp - 0x1c]
cmp esi, ebx
cmovbe ebx, esi
mov dword [eax], ebx
mov eax, ebx
shr eax, 3
push dword [edi + eax]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
and cl, 7
shl eax, cl
cmp eax, 0x8000000
jb 0x100ed60b
shr eax, 0x17
movzx eax, byte [eax + 0x10210d70]
add ebx, eax
mov eax, dword [ebp - 0x1c]
cmp esi, ebx
cmovbe ebx, esi
mov dword [eax], ebx
mov eax, ebx
shr eax, 3
push dword [edi + eax]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
and cl, 7
shl eax, cl
mov ecx, edi
cmp eax, 0x8000000
jb 0x100ed61d
shr eax, 0x17
movzx eax, byte [eax + 0x10210d70]
add ebx, eax
cmp esi, ebx
mov edi, dword [ebp - 0x1c]
cmovbe ebx, esi
mov eax, ebx
shr eax, 3
mov dword [edi], ebx
push dword [ecx + eax]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
and cl, 7
shl eax, cl
cmp eax, 0x8000000
jb 0x100ed62f
shr eax, 0x17
movzx ecx, byte [eax + 0x10210d70]
add ebx, ecx
movzx ecx, byte [eax + 0x10210f70]
cmp esi, ebx
cmovbe ebx, esi
mov dword [edi], ebx
mov edi, dword [ebp - 0x18]
mov dword [edi + 0x49c], ecx
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx + 8]
mov eax, dword [ecx]
mov esi, dword [ecx + 0x10]
mov ecx, ebx
shr ecx, 3
push dword [eax + ecx]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
and cl, 7
shl eax, cl
cmp eax, 0x8000000
jb 0x100ed664
shr eax, 0x17
movzx eax, byte [eax + 0x10210d70]
add ebx, eax
mov eax, dword [ebp + 8]
cmp esi, ebx
cmova esi, ebx
mov dword [eax + 8], esi
cmp dword [eax + 0xc], esi
jl 0x100ed676
cmp dword [edi + 0x49c], 0x11
jae 0x100ed689
cmp dword [ebp + 0x14], 0
jne 0x100ece80
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
cmp dword [ecx + 0xc], eax
jl 0x100ed2a0
mov edi, dword [ebp - 0x18]
cmp dword [edi + 0x498], 0
je 0x100ed698
mov esi, dword [ebp + 0x10]
cmp dword [edi + 0x68], 0
je 0x100ed2b6
mov eax, dword [ebp - 0x38]
mov eax, dword [esi + eax*4]
test eax, eax
jne 0x100ed2c2
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x38]
lea esi, [esi + eax*4]
push esi
call fcn.1005a380
add esp, 4
mov dword [esi], edi
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101e05ab
mov eax, esi
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [edi + 8]
mov ecx, dword [edi]
mov edi, dword [edi + 0x10]
mov eax, ebx
mov dword [ebp - 0x20], ecx
shr eax, 3
push dword [ecx + eax]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
and cl, 7
shl eax, cl
cmp eax, 0x8000000
jb 0x100ed735
shr eax, 0x17
mov esi, dword [ebp - 0x1c]
movzx ecx, byte [eax + 0x10210d70]
movzx eax, byte [eax + 0x10210f70]
add ebx, ecx
mov dword [ebp - 0x24], eax
cmp edi, ebx
cmovbe ebx, edi
mov dword [esi], ebx
mov ecx, dword [ebp - 0x20]
mov eax, ebx
shr eax, 3
push dword [ecx + eax]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
and cl, 7
shl eax, cl
cmp eax, 0x8000000
jb 0x100ed76e
shr eax, 0x17
movzx ecx, byte [eax + 0x10210d70]
movzx eax, byte [eax + 0x10210f70]
add ebx, ecx
mov dword [ebp - 0x28], eax
cmp edi, ebx
cmovbe ebx, edi
mov dword [esi], ebx
mov ecx, dword [ebp - 0x20]
mov eax, ebx
shr eax, 3
push dword [ecx + eax]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
and cl, 7
shl eax, cl
cmp eax, 0x8000000
jb 0x100ed7a8
shr eax, 0x17
movzx ecx, byte [eax + 0x10210d70]
movzx eax, byte [eax + 0x10210f70]
add ebx, ecx
mov dword [ebp - 0x2c], eax
cmp edi, ebx
cmovbe ebx, edi
mov dword [esi], ebx
mov ecx, dword [ebp - 0x20]
mov eax, ebx
shr eax, 3
push dword [ecx + eax]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
and cl, 7
shl eax, cl
cmp eax, 0x8000000
jb 0x100ed7e2
shr eax, 0x17
movzx ecx, byte [eax + 0x10210d70]
add ebx, ecx
cmp edi, ebx
cmovbe ebx, edi
movzx edi, byte [eax + 0x10210f70]
mov dword [esi], ebx
mov eax, dword [ebp + 0xc]
test byte [eax + 0x42], 1
jne 0x100ed814
mov edx, dword [ebp - 0x18]
mov esi, 2
mov eax, dword [edx + 0xc]
cmp eax, 1
sete cl
dec eax
xor ebx, ebx
cmp eax, 2
mov eax, 0x1fffffff
setb ch
sub esi, dword [edx + 0x40]
shl esi, cl
mov cl, ch
shr eax, cl
cmp dword [ebp - 0x24], eax
ja 0x100ed2a0
cmp dword [ebp - 0x28], eax
ja 0x100ed2a0
mov eax, 0x1fffffff
xor edx, edx
div esi
cmp dword [ebp - 0x2c], eax
ja 0x100ed2a0
cmp edi, eax
ja 0x100ed2a0
mov eax, dword [ebp - 0x18]
mov bl, ch
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov eax, dword [eax + 0x38]
add edx, ecx
mov ecx, ebx
shl edx, cl
shl eax, 4
cmp edx, eax
jae 0x100ed2a0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax + 0x3c]
add ecx, edi
imul ecx, esi
shl eax, 4
cmp ecx, eax
jae 0x100ed2a0
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
mov ecx, ebx
imul edi, esi
shl edx, cl
mov dword [eax + 0x50], edx
mov edx, dword [ebp - 0x28]
shl edx, cl
mov dword [eax + 0x54], edx
mov edx, dword [ebp - 0x2c]
imul edx, esi
mov esi, eax
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], edi
jmp 0x100ec914
test al, al
jne 0x100ed298
mov ebx, dword [edx + 8]
mov eax, dword [edx]
mov esi, dword [edx + 0x10]
mov ecx, ebx
shr ecx, 3
push dword [eax + ecx]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
and cl, 7
shl eax, cl
cmp eax, 0x8000000
jb 0x100ed8d8
shr eax, 0x17
mov edx, dword [ebp - 0x1c]
movzx ecx, byte [eax + 0x10210d70]
movzx eax, byte [eax + 0x10210f70]
add ebx, ecx
cmp esi, ebx
cmovbe ebx, esi
mov dword [edx], ebx
cmp eax, 0xc
ja 0x100ed2a0
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
add eax, 4
mov dword [ecx + 0x1c], eax
jmp 0x100ec6e5
mov ecx, dword [ebp + 8]
mov esi, edi
mov ebx, dword [ecx + 8]
mov eax, dword [ecx]
mov edi, dword [ecx + 0x10]
mov ecx, ebx
shr ecx, 3
push dword [eax + ecx]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
mov edx, dword [ebp + 8]
and cl, 7
shl eax, cl
shr eax, 0x17
movzx ecx, byte [eax + 0x10210d70]
movzx eax, byte [eax + 0x10210f70]
add ecx, ebx
cmp edi, ecx
cmovbe ecx, edi
cmp eax, 3
mov dword [edx + 8], ecx
mov dword [esi + 0xc], eax
ja 0x100ed2a0
cmp al, 3
je 0x100ed928
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
mov eax, dword [esi]
mov edi, dword [esi + 0x10]
mov ecx, ebx
shr ecx, 3
push dword [eax + ecx]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
and cl, 7
shl eax, cl
cmp eax, 0x8000000
jb 0x100ed967
shr eax, 0x17
movzx ecx, byte [eax + 0x10210d70]
add ebx, ecx
mov ecx, dword [ebp - 0x1c]
cmp edi, ebx
cmovbe ebx, edi
mov dword [ecx], ebx
movzx ecx, byte [eax + 0x10210f70]
mov eax, dword [ebp - 0x18]
add ecx, 8
mov dword [eax + 0x6a4], ecx
mov ebx, dword [esi + 8]
mov eax, dword [esi]
mov edi, dword [esi + 0x10]
mov ecx, ebx
shr ecx, 3
push dword [eax + ecx]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
and cl, 7
shl eax, cl
cmp eax, 0x8000000
jb 0x100ed99f
shr eax, 0x17
movzx ecx, byte [eax + 0x10210d70]
add ebx, ecx
mov ecx, dword [ebp - 0x1c]
cmp edi, ebx
cmovbe ebx, edi
mov dword [ecx], ebx
movzx ecx, byte [eax + 0x10210f70]
mov edx, dword [ebp - 0x18]
lea eax, [ecx + 8]
cmp ecx, 6
mov dword [edx + 0x6a8], eax
ja 0x100ed2a0
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x6a4]
cmp eax, ecx
jne 0x100ed2a0
add ecx, 0xfffffff8
cmp ecx, 6
ja 0x100ed2a0
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 8]
mov eax, dword [edi]
mov edx, ecx
shr edx, 3
movzx esi, byte [eax + edx]
xor eax, eax
cmp ecx, dword [edi + 0x10]
mov edx, dword [ebp - 0x18]
setl al
add eax, ecx
and cl, 7
shl esi, cl
mov ecx, edi
shr esi, 7
mov dword [edi + 8], eax
lea eax, [edx + 0x504]
and esi, 1
mov dword [edx + 0x10], esi
push eax
push dword [ebp - 0x20]
push 1
push 0
call fcn.100edf10
add esp, 0x10
test eax, eax
js 0x100ed2a0
mov ecx, dword [ebp - 0x18]
or dword [ecx + 0x4a0], eax
jmp 0x100ec63d
mov ecx, dword [ebp - 0x18]
xor eax, eax
mov dword [ecx + 0x68], eax
mov dword [ecx + 0x64], eax
jmp 0x100ec9c6
cmp al, 1
je 0x100ed9d7
lea eax, [ebp - 0x14]
push eax
call fcn.1005a380
add esp, 4
mov esi, 0xbebbb1b7
jmp 0x100ecec1
mov dword [edi + 0x68], 1
jmp 0x100ece9d
mov edi, dword [ebp - 0x14]
push dword [edi + 8]
push dword [edi + 4]
push dword [eax + 4]
call fcn.101e26cd
add esp, 0xc
test eax, eax
jne 0x100eceae
lea eax, [ebp - 0x14]
push eax
call fcn.1005a380
add esp, 4
jmp 0x100ecebf
mov edi, dword [ebp - 0x18]
mov dword [edi + 0x88], 0
jmp 0x100ecbaa
mov esi, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x10]
cmp edx, eax
setl cl
add ecx, edx
mov dword [esi + 8], ecx
jmp 0x100ecc6b
mov esi, 0xfffffff4
jmp 0x100ecec1
mov ecx, eax
or ecx, 1
bsr edx, ecx
lea ecx, [edx + edx]
mov edi, ecx
xor edi, 0x3f
add edi, ebx
mov ebx, dword [ebp - 0x1c]
cmp esi, edi
cmovbe edi, esi
add cl, 0xe1
shr eax, cl
cmp edx, 0x13
mov dword [ebx], edi
jb 0x100ed2a0
dec eax
jmp 0x100ec687
cmp eax, 2
mov ecx, 2
cmovbe eax, ecx
mov dword [edi + 0x30], eax
jmp 0x100ec73b
mov ecx, eax
or ecx, 1
bsr edx, ecx
lea ecx, [edx + edx]
mov edi, ecx
xor edi, 0x3f
add edi, ebx
mov ebx, dword [ebp - 0x1c]
cmp esi, edi
cmovbe edi, esi
add cl, 0xe1
shr eax, cl
mov ecx, 0xbebbb1b7
dec eax
cmp edx, 0x13
mov dword [ebx], edi
mov edi, dword [ebp - 0x18]
cmovae ecx, eax
jmp 0x100ec7bc
mov ecx, eax
or ecx, 1
bsr edx, ecx
lea ecx, [edx + edx]
mov edi, ecx
xor edi, 0x3f
add edi, ebx
mov ebx, dword [ebp - 0x1c]
cmp esi, edi
cmovbe edi, esi
add cl, 0xe1
shr eax, cl
mov ecx, 0xbebbb1b7
dec eax
cmp edx, 0x13
mov dword [ebx], edi
mov edi, dword [ebp - 0x18]
cmovae ecx, eax
jmp 0x100ec80a
mov eax, dword [ebp + 8]
mov edi, eax
mov eax, dword [eax]
mov ecx, dword [edi + 8]
mov edx, ecx
shr edx, 3
movzx edx, byte [eax + edx]
xor eax, eax
cmp ecx, dword [edi + 0x10]
setl al
add eax, ecx
and cl, 7
shl edx, cl
shr edx, 7
mov dword [edi + 8], eax
and edx, 1
jmp 0x100ec863
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x10]
mov eax, dword [esi]
mov edi, dword [ebp - 0x18]
add ecx, 3
cmp edx, ecx
cmovbe ecx, edx
mov dword [esi + 8], ecx
mov esi, ecx
shr esi, 3
movzx esi, byte [eax + esi]
xor eax, eax
cmp ecx, edx
setl al
add eax, ecx
and cl, 7
shl esi, cl
mov ecx, dword [ebp + 8]
shr esi, 7
and esi, 1
mov dword [ecx + 8], eax
mov dword [edi + 0x70], esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 8]
mov eax, dword [esi]
mov edx, ecx
shr edx, 3
movzx edx, byte [eax + edx]
xor eax, eax
cmp ecx, dword [esi + 0x10]
setl al
add eax, ecx
and cl, 7
shl edx, cl
shr edx, 7
mov dword [esi + 8], eax
and edx, 1
mov dword [edi + 0x74], edx
je 0x100eca28
mov ebx, dword [esi + 8]
mov eax, dword [esi]
mov edi, esi
mov esi, dword [esi + 0x10]
mov ecx, ebx
shr ecx, 3
push dword [eax + ecx]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
add ebx, 8
and cl, 7
shl eax, cl
shr eax, 0xf8
cmp esi, ebx
mov ecx, edi
cmovbe ebx, esi
mov dword [edi + 8], ebx
mov edi, dword [ebp - 0x18]
mov dword [edi + 0x78], eax
mov ebx, dword [ecx + 8]
mov eax, dword [ecx]
mov esi, dword [ecx + 0x10]
mov ecx, ebx
shr ecx, 3
push dword [eax + ecx]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
add ebx, 8
and cl, 7
shl eax, cl
mov ecx, dword [ebp + 8]
shr eax, 0xf8
cmp esi, ebx
cmovbe ebx, esi
mov dword [ecx + 8], ebx
mov dword [edi + 0x7c], eax
mov ebx, dword [ecx + 8]
mov eax, dword [ecx]
mov esi, dword [ecx + 0x10]
mov ecx, ebx
shr ecx, 3
push dword [eax + ecx]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
mov edx, dword [ebp + 8]
add ebx, 8
and cl, 7
shl eax, cl
shr eax, 0xf8
cmp esi, ebx
cmovbe ebx, esi
mov dword [edx + 8], ebx
mov dword [edi + 0x80], eax
push dword [edi + 0x78]
call fcn.10065b10
add esp, 4
test eax, eax
jne 0x100ed529
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x78], 2
mov eax, dword [ebp - 0x18]
push dword [eax + 0x7c]
call fcn.10065b30
add esp, 4
test eax, eax
jne 0x100ed545
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x7c], 2
mov eax, dword [ebp - 0x18]
push dword [eax + 0x80]
call fcn.10065b50
add esp, 4
mov esi, dword [ebp + 8]
test eax, eax
jne 0x100eca28
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x80], 2
jmp 0x100eca28
mov ecx, ebx
shr ecx, 3
push dword [eax + ecx]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
and cl, 7
shl eax, cl
cmp eax, 0x8000000
jb 0x100ed82a
shr eax, 0x17
movzx ecx, byte [eax + 0x10210d70]
add ebx, ecx
mov ecx, dword [ebp - 0x1c]
cmp esi, ebx
cmovbe ebx, esi
mov dword [ecx], ebx
movzx ecx, byte [eax + 0x10210f70]
jmp 0x100ed857
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
call fcn.100ef110
test eax, eax
jns 0x100ecc0b
jmp 0x100ed2a0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
call fcn.100ef110
test eax, eax
jns 0x100ecc45
jmp 0x100ed2a0
or eax, 1
bsr eax, eax
xor eax, 0x1f
lea ebx, [ebx + eax*2 + 1]
jmp 0x100ecd18
or eax, 1
bsr eax, eax
xor eax, 0x1f
lea ebx, [ebx + eax*2 + 1]
jmp 0x100ecd50
or eax, 1
bsr eax, eax
xor eax, 0x1f
lea ebx, [ebx + eax*2 + 1]
jmp 0x100ecd88
or eax, 1
bsr eax, eax
xor eax, 0x1f
lea ebx, [ebx + eax*2 + 1]
jmp 0x100ecdc2
mov ecx, eax
or ecx, 1
bsr ecx, ecx
lea edx, [ecx + ecx]
mov dword [ebp - 0x20], ecx
mov ecx, edx
xor ecx, 0x3f
add ecx, ebx
cmp esi, ecx
cmovbe ecx, esi
add dl, 0xe1
mov dword [edi], ecx
mov ecx, edx
shr eax, cl
mov ecx, 0xbebbb1b7
dec eax
cmp dword [ebp - 0x20], 0x13
cmovae ecx, eax
jmp 0x100ece08
or eax, 1
bsr eax, eax
xor eax, 0x1f
lea ebx, [ebx + eax*2 + 1]
jmp 0x100ece4a
xor eax, eax
mov dword [edi + 0x49c], eax
mov dword [edi + 0x498], eax
jmp 0x100ece6b
mov dword [edi + 0x49c], 0x10
jmp 0x100ed2a0
cmp dword [edi + 0x30], 0
je 0x100ed8c3
mov dword [edi + 0x49c], 0xf
mov eax, dword [edi + 8]
lea ecx, [eax - 0xa]
cmp ecx, 0x16
ja case.default.0x100ed6c0
mov edi, dword [ebp - 0x18]
xor eax, eax
jmp dword [ecx*4 + 0x10249748]
xor eax, eax
inc eax
jmp case.0x100ed6c0.10
mov eax, ebx
shr eax, 3
push dword [edi + eax]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
mov edi, dword [ebp - 0x18]
add ebx, 0x10
and cl, 7
shl eax, cl
mov ecx, dword [ebp + 8]
shr eax, 0xf0
cmp esi, ebx
cmovbe ebx, esi
mov dword [ecx + 8], ebx
mov dword [edi + 0x64], eax
mov ebx, dword [ecx + 8]
mov eax, dword [ecx]
mov esi, dword [ecx + 0x10]
mov ecx, ebx
shr ecx, 3
push dword [eax + ecx]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
mov edx, dword [ebp + 8]
add ebx, 0x10
and cl, 7
shl eax, cl
shr eax, 0xf0
cmp esi, ebx
cmovbe ebx, esi
mov dword [edx + 8], ebx
mov dword [edi + 0x68], eax
jmp 0x100ec9c6
mov ecx, eax
or ecx, 1
bsr edx, ecx
lea ecx, [edx + edx]
mov esi, ecx
xor esi, 0x3f
add esi, ebx
cmp edi, esi
cmovbe esi, edi
add cl, 0xe1
shr eax, cl
mov ecx, 0xbebbb1b7
dec eax
cmp edx, 0x13
mov ebx, esi
cmovae ecx, eax
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], esi
mov esi, ecx
jmp 0x100ecf22
mov ecx, eax
or ecx, 1
bsr edx, ecx
lea ecx, [edx + edx]
mov esi, ecx
xor esi, 0x3f
add esi, ebx
cmp edi, esi
cmovbe esi, edi
add cl, 0xe1
shr eax, cl
mov ecx, 0xbebbb1b7
dec eax
cmp edx, 0x13
mov ebx, esi
cmovae ecx, eax
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], esi
mov esi, dword [ebp - 0x1c]
jmp 0x100ecf64
mov ecx, eax
or ecx, 1
bsr edx, ecx
lea ecx, [edx + edx]
mov esi, ecx
xor esi, 0x3f
add esi, ebx
cmp edi, esi
cmovbe esi, edi
add cl, 0xe1
shr eax, cl
mov ecx, 0xbebbb1b7
dec eax
cmp edx, 0x13
mov ebx, esi
cmovae ecx, eax
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], esi
mov esi, dword [ebp - 0x1c]
jmp 0x100ecfa6
mov ecx, eax
or ecx, 1
bsr edx, ecx
lea ecx, [edx + edx]
mov esi, ecx
xor esi, 0x3f
add esi, ebx
cmp edi, esi
cmovbe esi, edi
mov edi, dword [ebp - 0x1c]
add cl, 0xe1
shr eax, cl
dec eax
cmp edx, 0x13
mov dword [edi], esi
mov edi, 0xbebbb1b7
cmovae edi, eax
jmp 0x100ecfe5
mov esi, dword [ebp - 0x18]
xor eax, eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], eax
jmp 0x100ec914
mov ecx, eax
or ecx, 1
bsr edx, ecx
lea ecx, [edx + edx]
mov edi, ecx
xor edi, 0x3f
add edi, ebx
mov ebx, dword [ebp - 0x1c]
cmp esi, edi
cmovbe edi, esi
add cl, 0xe1
shr eax, cl
mov ecx, 0xbebbb1b7
dec eax
cmp edx, 0x13
cmovae ecx, eax
mov dword [ebx], edi
mov eax, dword [ebp - 0x18]
inc ecx
mov dword [eax + 0x84], ecx
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 8]
mov esi, dword [eax]
mov edi, dword [eax + 0x10]
mov eax, ebx
shr eax, 3
push dword [esi + eax]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
and cl, 7
shl eax, cl
cmp eax, 0x8000000
jb 0x100ed8a5
shr eax, 0x17
mov ecx, dword [ebp - 0x1c]
movzx eax, byte [eax + 0x10210d70]
add ebx, eax
cmp edi, ebx
cmovbe ebx, edi
mov dword [ecx], ebx
jmp 0x100eca67
or eax, 1
mov ecx, dword [ebp - 0x1c]
bsr eax, eax
xor eax, 0x1f
lea eax, [ebx + eax*2 + 1]
cmp edi, eax
cmova edi, eax
mov dword [ecx], edi
mov ebx, edi
jmp 0x100eca67
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x238], 0
jg 0x100ed6a2
jmp case.0x100ed917.43
mov ecx, eax
or ecx, 1
bsr edx, ecx
lea ecx, [edx + edx]
mov edi, ecx
xor edi, 0x3f
add edi, ebx
mov ebx, dword [ebp - 0x1c]
cmp esi, edi
cmovbe edi, esi
add cl, 0xe1
shr eax, cl
cmp edx, 0x13
mov dword [ebx], edi
jb 0x100ed2a0
dec eax
jmp 0x100ed0f8
mov edi, dword [ebp - 0x18]
add eax, 0xffffffd8
cmp eax, 0xc
ja case.0x100ed917.43
jmp dword [eax*4 + 0x102497a4]
mov eax, 0xa
jmp case.0x100ed6c0.10
mov eax, dword [ebp + 8]
mov esi, eax
mov eax, dword [eax]
mov ecx, dword [esi + 8]
mov edx, ecx
shr edx, 3
movzx edx, byte [eax + edx]
xor eax, eax
cmp ecx, dword [esi + 0x10]
setl al
add eax, ecx
and cl, 7
shl edx, cl
mov ecx, dword [ebp - 0x18]
shr edx, 7
mov dword [esi + 8], eax
and edx, 1
mov dword [ecx + 0x6ac], edx
je 0x100ed168
jmp 0x100ed2a0
mov ecx, eax
or ecx, 1
bsr ecx, ecx
lea edx, [ecx + ecx]
mov dword [ebp - 0x24], ecx
mov ecx, edx
xor ecx, 0x3f
add ecx, ebx
mov ebx, dword [ebp - 0x1c]
cmp edi, ecx
cmovbe ecx, edi
add dl, 0xe1
mov dword [ebx], ecx
mov ecx, edx
shr eax, cl
mov ecx, 0xbebbb1b7
dec eax
cmp dword [ebp - 0x24], 0x13
cmovae ecx, eax
jmp 0x100ed1b2
mov ecx, eax
mov esi, dword [ebp - 0x1c]
or ecx, 1
bsr ecx, ecx
lea edx, [ecx + ecx]
mov dword [ebp - 0x24], ecx
mov ecx, edx
xor ecx, 0x3f
add ecx, ebx
cmp edi, ecx
cmovbe ecx, edi
add dl, 0xe1
mov dword [esi], ecx
mov ecx, edx
shr eax, cl
mov ecx, 0xbebbb1b7
dec eax
cmp dword [ebp - 0x24], 0x13
cmovae ecx, eax
jmp 0x100ed205
mov eax, dword [ebp + 8]
mov esi, eax
mov eax, dword [eax]
mov ecx, dword [esi + 8]
mov edx, ecx
shr edx, 3
movzx edx, byte [eax + edx]
xor eax, eax
cmp ecx, dword [esi + 0x10]
setl al
add eax, ecx
and cl, 7
shl edx, cl
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x18]
shr edx, 7
and edx, 1
mov dword [eax + 0x20], edx
mov ebx, dword [esi + 8]
mov ecx, dword [esi]
mov edi, dword [esi + 0x10]
mov eax, ebx
mov dword [ebp - 0x20], ecx
shr eax, 3
push dword [ecx + eax]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
mov dword [ebp - 0x28], ebx
mov esi, eax
add ebx, 0x10
and cl, 7
shl esi, cl
shr esi, 0xf0
cmp edi, ebx
mov ecx, dword [ebp - 0x20]
cmovbe ebx, edi
shl esi, 0x10
mov eax, ebx
shr eax, 3
push dword [ecx + eax]
call fcn.101eaef1
add esp, 4
and bl, 7
mov dword [ebp - 0x24], edi
mov ecx, ebx
mov ebx, edi
shl eax, cl
shr eax, 0xf0
or eax, esi
mov esi, dword [ebp - 0x28]
or eax, 1
bsr eax, eax
xor eax, 0x1f
mov edx, eax
mov ecx, esi
sub ebx, esi
or edx, 0xffffffe0
neg ecx
cmp ebx, eax
cmovg ebx, eax
cmp eax, ecx
mov eax, dword [ebp + 8]
lea edi, [edx + 0x21]
mov dword [ebp - 0x28], edx
cmovl ebx, ecx
mov ecx, dword [ebp - 0x20]
add ebx, esi
mov dword [eax + 8], ebx
mov eax, ebx
shr eax, 3
push dword [ecx + eax]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
mov esi, eax
and cl, 7
shl esi, cl
cmp edi, 0x19
ja 0x100edaca
mov eax, edi
mov edx, dword [ebp - 0x24]
add ebx, edi
mov ecx, eax
neg cl
shr esi, cl
mov ecx, dword [ebp - 0x1c]
cmp edx, ebx
cmovbe ebx, edx
mov dword [ecx], ebx
jmp 0x100edb1c
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add ebx, 0x10
shr esi, 0xf0
mov edx, dword [ebp - 0x20]
cmp edi, ebx
cmovbe ebx, edi
mov dword [eax], ebx
mov eax, dword [ebp - 0x28]
lea ecx, [eax + 0x11]
mov eax, ebx
mov dword [ebp - 0x2c], ecx
shl esi, cl
shr eax, 3
push dword [edx + eax]
call fcn.101eaef1
add esp, 4
mov ecx, dword [ebp - 0x28]
lea edx, [ebx + ecx + 0x11]
mov ecx, ebx
and cl, 7
shl eax, cl
mov ecx, dword [ebp - 0x2c]
neg cl
shr eax, cl
mov ecx, dword [ebp - 0x1c]
cmp edi, edx
cmova edi, edx
or esi, eax
mov dword [ecx], edi
dec esi
mov eax, esi
shr esi, 1
and eax, 1
dec eax
xor esi, eax
mov eax, dword [ebp - 0x18]
inc esi
mov dword [eax + 0x24], esi
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 8]
mov ecx, dword [eax]
mov edi, dword [eax + 0x10]
mov eax, ebx
mov dword [ebp - 0x20], ecx
shr eax, 3
push dword [ecx + eax]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
mov dword [ebp - 0x28], ebx
mov esi, eax
add ebx, 0x10
and cl, 7
shl esi, cl
shr esi, 0xf0
cmp edi, ebx
mov ecx, dword [ebp - 0x20]
cmovbe ebx, edi
shl esi, 0x10
mov eax, ebx
shr eax, 3
push dword [ecx + eax]
call fcn.101eaef1
add esp, 4
and bl, 7
mov dword [ebp - 0x24], edi
mov ecx, ebx
mov ebx, edi
shl eax, cl
shr eax, 0xf0
or eax, esi
mov esi, dword [ebp - 0x28]
or eax, 1
bsr eax, eax
xor eax, 0x1f
mov edx, eax
mov ecx, esi
sub ebx, esi
or edx, 0xffffffe0
neg ecx
cmp ebx, eax
cmovg ebx, eax
cmp eax, ecx
mov eax, dword [ebp + 8]
lea edi, [edx + 0x21]
mov dword [ebp - 0x28], edx
cmovl ebx, ecx
mov ecx, dword [ebp - 0x20]
add ebx, esi
mov dword [eax + 8], ebx
mov eax, ebx
shr eax, 3
push dword [ecx + eax]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
mov esi, eax
and cl, 7
shl esi, cl
cmp edi, 0x19
ja 0x100edbf3
mov eax, edi
mov edx, dword [ebp - 0x24]
add ebx, edi
mov ecx, eax
neg cl
shr esi, cl
mov ecx, dword [ebp - 0x1c]
cmp edx, ebx
cmovbe ebx, edx
mov dword [ecx], ebx
jmp 0x100edc45
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add ebx, 0x10
shr esi, 0xf0
mov edx, dword [ebp - 0x20]
cmp edi, ebx
cmovbe ebx, edi
mov dword [eax], ebx
mov eax, dword [ebp - 0x28]
lea ecx, [eax + 0x11]
mov eax, ebx
mov dword [ebp - 0x2c], ecx
shl esi, cl
shr eax, 3
push dword [edx + eax]
call fcn.101eaef1
add esp, 4
mov ecx, dword [ebp - 0x28]
lea edx, [ebx + ecx + 0x11]
mov ecx, ebx
and cl, 7
shl eax, cl
mov ecx, dword [ebp - 0x2c]
neg cl
shr eax, cl
mov ecx, dword [ebp - 0x1c]
cmp edi, edx
cmova edi, edx
or esi, eax
mov dword [ecx], edi
dec esi
mov ecx, dword [ebp - 0x18]
mov eax, esi
shr esi, 1
and eax, 1
dec eax
xor esi, eax
inc esi
mov dword [ecx + 0x28], esi
cmp dword [ecx + 0x24], 0x80000000
je 0x100ed2a0
cmp esi, 0x80000000
je 0x100ed2a0
mov eax, dword [ebp + 8]
mov ecx, eax
mov eax, dword [eax]
mov ebx, dword [ecx + 8]
mov esi, dword [ecx + 0x10]
mov ecx, ebx
shr ecx, 3
push dword [eax + ecx]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
and cl, 7
shl eax, cl
cmp eax, 0x8000000
jb 0x100edeb4
shr eax, 0x17
mov edx, dword [ebp - 0x1c]
movzx ecx, byte [eax + 0x10210d70]
movzx eax, byte [eax + 0x10210f70]
add ebx, ecx
cmp esi, ebx
cmovbe ebx, esi
mov esi, dword [ebp - 0x18]
mov dword [edx], ebx
lea edx, [esi + 0x2c]
mov dword [esi + 0x2c], eax
mov dword [ebp - 0x30], edx
mov edx, dword [ebp + 8]
test eax, eax
je 0x100ec6e5
mov dword [ebp - 0x24], 0
mov eax, dword [edx + 0x10]
mov ebx, dword [edx + 8]
mov edi, dword [edx]
mov dword [ebp - 0x20], eax
mov eax, ebx
shr eax, 3
push dword [edi + eax]
call fcn.101eaef1
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x20]
mov ecx, ebx
mov dword [ebp - 0x34], ebx
add ebx, 0x10
mov dword [ebp - 0x28], edi
and cl, 7
shl esi, cl
shr esi, 0xf0
cmp eax, ebx
cmovbe ebx, eax
shl esi, 0x10
mov eax, ebx
shr eax, 3
push dword [edi + eax]
call fcn.101eaef1
add esp, 4
and bl, 7
mov ecx, ebx
mov ebx, dword [ebp - 0x20]
shl eax, cl
shr eax, 0xf0
or eax, esi
or eax, 1
bsr eax, eax
xor eax, 0x1f
mov ecx, eax
or ecx, 0xffffffe0
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x34]
sub ebx, ecx
mov edx, ecx
neg ecx
cmp ebx, eax
jle 0x100edd54
mov ebx, eax
cmp eax, ecx
mov eax, dword [ebp + 8]
cmovl ebx, ecx
mov ecx, dword [ebp - 0x28]
add ebx, edx
mov dword [eax + 8], ebx
mov eax, dword [ebp - 0x2c]
lea edi, [eax + 0x21]
mov eax, ebx
shr eax, 3
push dword [ecx + eax]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
mov esi, eax
and cl, 7
shl esi, cl
cmp edi, 0x19
ja 0x100edda1
mov eax, edi
add ebx, edi
mov ecx, eax
neg cl
shr esi, cl
cmp dword [ebp - 0x20], ebx
ja 0x100edd9a
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov dword [eax], ebx
jmp 0x100eddf3
add ebx, 0x10
shr esi, 0xf0
cmp dword [ebp - 0x20], ebx
ja 0x100eddaf
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov dword [eax], ebx
mov eax, ebx
lea ecx, [edi + 0x11]
mov dword [ebp - 0x34], ecx
shl esi, cl
shr eax, 3
push dword [edx + eax]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
lea edx, [ebx + edi + 0x11]
and cl, 7
shl eax, cl
mov ecx, dword [ebp - 0x34]
neg cl
shr eax, cl
cmp dword [ebp - 0x20], edx
ja 0x100eddec
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
or esi, eax
mov dword [ecx], edx
dec esi
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
mov eax, esi
shr esi, 1
and eax, 1
dec eax
xor esi, eax
inc esi
cmp esi, 0x80000000
mov dword [edx + ecx*4 + 0x98], esi
je 0x100ed2a0
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x30]
inc edx
mov ecx, edx
mov dword [ebp - 0x24], edx
cmp edx, dword [eax]
mov edx, dword [ebp + 8]
jl 0x100edcda
jmp 0x100ec6e5
mov eax, 2
jmp case.0x100ed6c0.10
mov eax, 3
jmp case.0x100ed6c0.10
mov eax, 4
jmp case.0x100ed6c0.10
mov eax, 5
jmp case.0x100ed6c0.10
mov eax, 6
jmp case.0x100ed6c0.10
mov eax, 7
jmp case.0x100ed6c0.10
mov eax, 8
jmp case.0x100ed6c0.10
mov eax, 9
jmp case.0x100ed6c0.10
mov eax, 0xb
jmp case.0x100ed6c0.10
mov eax, 0xc
jmp case.0x100ed6c0.10
mov eax, 0xd
jmp case.0x100ed6c0.10
mov eax, 0xe
jmp case.0x100ed6c0.10
mov eax, 0xf
mov ecx, dword [edi + 0x3c]
mov eax, dword [eax*8 + 0x102495a4]
imul ecx, dword [edi + 0x38]
cdq
idiv ecx
mov ecx, 0xf
cmp eax, 0x10
cmovl ecx, eax
mov dword [edi + 0x49c], ecx
jmp case.0x100ed917.43
mov ecx, eax
or ecx, 1
bsr edx, ecx
lea ecx, [edx + edx]
mov edi, ecx
xor edi, 0x3f
add edi, ebx
cmp esi, edi
cmovbe edi, esi
add cl, 0xe1
shr eax, cl
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
cmp edx, 0x12
lea ecx, [ecx + 0x2c]
mov dword [esi], edi
mov dword [ebp - 0x30], ecx
ja 0x100edef1
mov eax, dword [ebp - 0x30]
mov dword [eax], 0xbebbb1b7
jmp 0x100ed2a0
mov ecx, dword [ebp - 0x30]
dec eax
cmp eax, 0xff
mov dword [ecx], eax
ja 0x100ed2a0
jmp 0x100edcc8