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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x200
mov eax, dword [0x1026f864]
mov esi, ecx
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
xor eax, ebp
mov dword [esp + 0x1f8], eax
mov dword [esp + 0x70], edx
mov edi, dword [esi + 0x18]
movaps xmmword [esp + 0xe0], xmm0
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xc0], xmm0
movaps xmmword [esp + 0xb0], xmm0
mov dword [edi + 8], edx
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx]
mov eax, ebx
shr eax, 3
push dword [ecx + eax]
call fcn.101eaef1
add esp, 4
and bl, 7
mov dword [esp], edi
mov dword [esp + 0x48], esi
mov ecx, ebx
shl eax, cl
shr eax, 0xf4
cmp eax, 0xfff
je 0x100b08c6
mov ecx, esi
call fcn.100afe00
test eax, eax
mov dword [esp + 8], eax
js 0x100b0a64
lea eax, [edi + 0x1948]
mov ecx, dword [edi + 4]
mov esi, dword [ebp + 0xc]
lea edx, [edi + 0x1a4]
mov dword [esp + 0x4c], 7
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x1948]
mov dword [esp + 0x84], edx
dec eax
mov dword [ecx + 0x2cc], eax
lea ecx, [edi + 0x14]
mov eax, dword [esi + 8]
mov dword [edi + 0x3ec], 0
mov dword [esp + 0x80], ecx
mov ebx, dword [esi + 8]
mov dword [esp + 0x6c], eax
mov ecx, dword [esi]
mov edi, dword [esi + 0x10]
mov eax, ebx
shr eax, 3
mov dword [esp + 0xc], ecx
push dword [ecx + eax]
call fcn.101eaef1
add esp, 4
mov edx, ebx
mov ebx, eax
mov ecx, edx
add edx, 3
and cl, 7
shl ebx, cl
shr ebx, 0xfd
cmp edi, edx
cmovbe edx, edi
cmp ebx, 7
mov dword [esi + 8], edx
je 0x100b0765
mov ecx, dword [esp + 0xc]
mov eax, edx
mov dword [esp + 4], edx
shr eax, 3
push dword [ecx + eax]
call fcn.101eaef1
add esp, 4
mov esi, eax
mov eax, dword [esp + 4]
mov ecx, eax
add eax, 4
and cl, 7
shl esi, cl
shr esi, 0xfc
cmp edi, eax
cmovbe eax, edi
cmp ebx, 5
mov edx, eax
mov edx, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x48]
mov edx, edx
je 0x100b053e
cmp dword [eax + 0x15c], 0
je 0x100b18e8
mov edi, dword [esp]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
cmp ebx, 3
jg 0x100b059f
mov eax, ebx
shl eax, 4
lea eax, [esp + eax + 0xb0]
mov cl, byte [esi + eax]
cmp cl, 1
ja 0x100b08bc
add eax, esi
inc cl
mov edx, ebx
mov byte [eax], cl
mov ecx, edi
push esi
call fcn.100b1cb0
add esp, 4
test eax, eax
je 0x100b08bc
xor ecx, ecx
cmp dword [edi + 0x1974], 0
mov edx, dword [ebp + 0xc]
mov dword [eax], 1
sete cl
shl ecx, 6
add ecx, 0x3c0
cmp ebx, 1
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], eax
jne 0x100b083c
mov ecx, edi
push eax
call fcn.100b3be0
add esp, 4
mov ecx, eax
xor eax, eax
inc eax
mov dword [esp + 0x34], eax
mov esi, dword [ebp + 0xc]
test ecx, ecx
jne case.0x100b0853.1
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x38]
cmp ebx, 4
mov ecx, dword [esi + 0xc]
mov dword [esp + 8], 0
cmovl edx, ebx
mov ebx, dword [esi + 8]
cmovl eax, dword [esp + 0x14]
mov dword [esp + 0x4c], edx
sub ecx, ebx
mov dword [esp + 0x38], eax
cmp ecx, 3
mov ecx, 0xbebbb1b7
jge 0x100b04b3
jmp case.0x100b0853.1
test edx, edx
jle 0x100b08b4
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], edx
mov ebx, dword [eax + 8]
mov ecx, dword [eax]
mov edi, dword [eax + 0x10]
mov esi, eax
mov eax, ebx
mov dword [esp + 8], ecx
shr eax, 3
push dword [ecx + eax]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
add ebx, 4
mov dword [esp + 4], edi
and cl, 7
shl eax, cl
shr eax, 0xfc
cmp edi, ebx
cmovbe ebx, edi
test eax, eax
mov dword [esi + 8], ebx
jne 0x100b0bb5
mov eax, dword [esp + 0x10]
cmp eax, 0xa
jl 0x100b0e14
mov edx, dword [esp + 4]
mov ecx, dword [ebp + 0xc]
add ebx, 0xd
lea esi, [eax*8]
cmp edx, ebx
cmovbe ebx, edx
add esi, 0xffffffef
xor edi, edi
mov dword [ecx + 8], ebx
mov ecx, dword [esp + 8]
lea eax, [edi + 1]
mov dword [esp + 0xc], eax
mov eax, ebx
shr eax, 3
push dword [ecx + eax]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
mov edx, dword [ebp + 0xc]
add ebx, 8
and cl, 7
shl eax, cl
mov ecx, dword [esp + 4]
shr eax, 0xf8
cmp ecx, ebx
cmovbe ebx, ecx
cmp esi, 0x10
lea esi, [esi - 8]
mov dword [edx + 8], ebx
mov byte [esp + edi + 0xf8], al
mov eax, dword [esp + 0xc]
jl 0x100b06da
cmp edi, 0xfe
mov edi, eax
jb 0x100b0686
mov byte [esp + eax + 0xf8], 0
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x9c]
push eax
push 0x10245eac
lea eax, [esp + 0x104]
push eax
call fcn.10039560
add esp, 0x10
cmp eax, 2
jne 0x100b0e1b
mov edi, dword [esp]
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x1c]
mov dword [eax + 0x34], 0x400
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x10]
mov edx, eax
sub ecx, eax
neg edx
cmp ecx, esi
cmovg ecx, esi
cmp esi, edx
cmovl ecx, edx
mov edx, dword [esp + 0x10]
add ecx, eax
mov dword [ebx + 8], ecx
mov eax, edx
mov ebx, dword [esp + 0x28]
test eax, eax
mov esi, eax
mov ecx, 0
cmovs esi, ecx
mov ecx, eax
sub edx, esi
test eax, eax
jns 0x100b060d
jmp case.0x100b0853.1
mov esi, dword [esp + 0x48]
cmp dword [esi + 0x15c], 0
je 0x100b0a6d
mov edi, dword [esp]
xor ebx, ebx
mov edx, dword [esp + 0x2c]
cmp dword [edi + 0x1958], 1
je 0x100b0a7b
mov ecx, ebx
shl edx, cl
mov ecx, edi
mov dword [esp + 0x2c], edx
call fcn.100b4250
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x34], 0
je 0x100b07cf
cmp dword [edi + 0x1a48], 0
je 0x100b07cf
mov eax, dword [edi + 0x1950]
mov ecx, ebx
shl eax, cl
mov dword [esi + 0x158], eax
mov dword [esi + 0x164], edx
mov dword [edi + 0x1a48], 4
test ebx, ebx
jne 0x100b0a91
mov eax, dword [edi + 8]
test edx, edx
je 0x100b07e7
cmp dword [eax], 0
je 0x100b08bc
test edx, edx
je 0x100b0aa0
mov dword [eax + 0x4c], edx
mov eax, dword [esi + 0x158]
mov ecx, dword [edi + 8]
mov dword [ecx + 0xe8], eax
xor eax, eax
test edx, edx
mov ecx, dword [ebp + 8]
setne al
cmp dword [esp + 0x74], 2
mov dword [ecx], eax
jne 0x100b0822
mov eax, dword [edi + 0x1628]
test eax, eax
jne 0x100b0ab2
xor ebx, ebx
mov ecx, dword [esp + 0x1f8]
xor ecx, ebp
call fcn.101e05ab
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0xdeb8aabe
cmp ebx, 6
ja case.0x100b0853.1
mov edx, esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x28], ebx
jmp dword [ebx*4 + 0x10245ebc]
mov ebx, dword [esi + 8]
cmp edx, 0xf
jne 0x100b179f
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi]
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
shr eax, 0xf8
cmp esi, ebx
cmovbe ebx, esi
mov esi, dword [ebp + 0xc]
add eax, 0xe
mov dword [esi + 8], ebx
mov esi, dword [esi + 0xc]
lea ecx, [eax*8]
sub esi, ebx
cmp esi, ecx
jl 0x100b08bc
mov ebx, dword [esp + 0x28]
mov edx, eax
jmp 0x100b060d
mov esi, dword [ebp + 0xc]
jmp 0x100b05cf
mov ecx, 0xbebbb1b7
jmp case.0x100b0853.1
lea eax, [esp + 0x98]
push eax
push dword [ebp + 0xc]
call fcn.100ac200
add esp, 8
test eax, eax
jle 0x100b0ae9
mov eax, dword [esp]
cmp dword [eax + 0x1a50], 0
je 0x100b0b22
mov eax, dword [esp]
cmp dword [eax + 0x1a48], 4
jne 0x100b0b0d
mov ecx, dword [esp]
lea eax, [ecx + 0x1948]
add ecx, 0x1840
push 0x108
push eax
push ecx
call fcn.101e35e0
add esp, 0xc
mov eax, dword [esp]
mov dword [eax + 0x1a48], 0
movzx ebx, byte [esp + 0xa7]
test ebx, ebx
je 0x100b0b42
mov eax, dword [esp]
cmp bl, 0xc
mov ecx, 0xbebbb1b7
mov dword [eax + 0x1954], ebx
ja 0x100b1525
lea eax, [ebx - 8]
cmp eax, 3
jb 0x100b1525
movsx esi, byte [ebx + 0x10245cd0]
lea eax, [ebx + ebx*4]
lea edx, [esp + 0xf8]
lea eax, [eax + eax*2 + 0x10245cd1]
lea ecx, [esi + esi*2]
push ecx
push eax
push edx
call fcn.101e35e0
add esp, 0xc
cmp bl, 7
jne 0x100b099d
mov eax, dword [esp]
mov eax, dword [eax + 4]
cmp dword [eax + 0x238], 0
jle 0x100b17b5
mov ecx, dword [esp]
mov edi, 2
lea edx, [esp + 0xf8]
mov eax, dword [ecx + 0x1a48]
cmp eax, 1
cmovg edi, eax
push 0
push edi
push esi
call fcn.100ad430
add esp, 0xc
test eax, eax
js 0x100b1523
mov eax, dword [esp + 0x98]
mov edx, dword [esp]
mov dword [edx + 0x1950], eax
movzx ecx, byte [esp + 0xa6]
mov dword [edx + 0x194c], ecx
movzx ecx, byte [esp + 0xa5]
mov dword [edx + 0x1948], ecx
mov dword [edx + 0x1974], 0
cmp dword [edx + 0x1940], 4
jne 0x100b0a29
movzx ecx, byte [esp + 0xa7]
mov edx, dword [esp]
cmp dword [edx + 0x184c], ecx
jne 0x100b0a29
mov ecx, dword [esp]
cmp dword [ecx + 0x1848], eax
je 0x100b0a3b
mov ecx, dword [esp]
xor eax, eax
dec eax
mov dword [ecx + 0x1958], eax
mov dword [ecx + 0x1970], eax
cmp byte [esp + 0xa4], 0
jne 0x100b0aef
mov eax, dword [ebp + 0xc]
mov edx, eax
mov eax, dword [eax + 8]
mov ecx, dword [edx + 0x10]
add eax, 0x10
cmp ecx, eax
cmovbe eax, ecx
mov dword [edx + 8], eax
jmp 0x100b0aef
mov ecx, dword [esp + 8]
jmp case.0x100b0853.1
mov eax, dword [ebp + 8]
mov dword [eax], 0
jmp 0x100b0822
mov eax, dword [edi + 0x1964]
xor ebx, ebx
cmp eax, dword [edi + 0x1950]
setg bl
jmp 0x100b078c
mov eax, dword [esi + 0x1c]
mov dword [eax + 0x68], 2
jmp 0x100b07d7
push eax
call sym.ffmpeg.dll_av_frame_unref
mov edx, dword [esp + 0x30]
add esp, 4
jmp 0x100b0801
mov ecx, dword [edi + 0x1a40]
xor ebx, ebx
xor ecx, 3
or ecx, dword [edi + 0x1a44]
jne 0x100b0824
cmp eax, 2
je 0x100b0ba7
cmp eax, 1
jne 0x100b0824
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx]
mov dword [ecx + 4], eax
jmp 0x100b0824
js 0x100b1523
mov edi, dword [esp]
mov esi, dword [esp + 0x48]
mov ecx, 0xbebbb1b7
cmp dword [edi + 0x194c], 0xc
jle 0x100b0420
jmp case.0x100b0853.1
mov eax, dword [esp]
cmp dword [eax + 0x1940], 0
jne 0x100b091f
jmp 0x100b0901
cmp byte [esp + 0xa8], 1
je 0x100b08f1
mov eax, dword [esp]
mov dword [eax + 0x1a50], 1
jmp 0x100b08f1
mov eax, dword [esp]
mov dword [eax + 0x1954], 0
cmp dword [eax + 0x1628], 0
je 0x100b09cc
mov eax, dword [esp]
cmp dword [eax + 0x1940], 0
jne 0x100b09cc
mov ecx, dword [esp]
lea edx, [esp + 0xf8]
mov eax, 2
mov byte [edx], 0
mov byte [edx + 5], 1
mov dword [edx + 1], 0x1000100
push 0
push eax
push eax
call fcn.100ad430
add esp, 0xc
mov ecx, 0xfffffff9
test eax, eax
jne 0x100b1525
jmp 0x100b09cc
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx + 4]
mov dword [ecx], eax
jmp 0x100b0824
cmp eax, 0xb
jne 0x100b17dc
mov eax, ebx
mov ecx, dword [esp + 8]
xor edx, edx
shr eax, 3
cmp dword [esp + 4], ebx
movzx eax, byte [ecx + eax]
setg dl
add edx, ebx
and bl, 7
mov ecx, ebx
mov ebx, edx
shl eax, cl
mov ecx, dword [ebp + 0xc]
test al, 0x80
mov dword [ecx + 8], edx
je 0x100b1916
mov ecx, dword [esp + 8]
mov eax, ebx
shr eax, 3
push dword [ecx + eax]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
add ebx, 4
mov dword [esp + 0x1c], 2
and cl, 7
shl eax, cl
mov ecx, dword [esp + 4]
shr eax, 0xfc
cmp ecx, ebx
cmovbe ebx, ecx
mov ecx, dword [ebp + 0xc]
mov edx, ecx
mov dword [ecx + 8], ebx
mov ecx, dword [esp]
mov dword [ecx + 0x10], eax
mov ecx, dword [edx + 8]
mov esi, dword [edx + 0x10]
mov eax, dword [edx]
add ecx, 4
mov dword [esp + 8], eax
mov dword [esp + 4], esi
cmp esi, ecx
cmovbe ecx, esi
mov ebx, ecx
mov dword [edx + 8], ecx
mov eax, ebx
mov edx, ebx
mov ecx, dword [esp + 8]
xor ebx, ebx
shr eax, 3
cmp edx, dword [esp + 4]
movzx eax, byte [ecx + eax]
setl bl
add ebx, edx
and dl, 7
mov ecx, edx
shl eax, cl
mov ecx, dword [ebp + 0xc]
test al, 0x80
mov dword [ecx + 8], ebx
je 0x100b1953
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 8]
mov eax, ebx
mov edi, dword [ebp + 0xc]
mov esi, dword [esp]
shr eax, 3
movzx edx, byte [ecx + eax]
xor eax, eax
cmp ebx, dword [esp + 4]
setl al
add eax, ebx
and bl, 7
mov ecx, ebx
mov ebx, dword [esp + 0xc]
mov dword [edi + 8], eax
shl edx, cl
shr edx, 7
and edx, 1
mov dword [esi + ebx*4 + 0x9c], 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 + ebx*4 + 0xa0], 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 + ebx*4 + 0xa4], 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 + ebx*4 + 0xa8], 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 + ebx*4 + 0xac], 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 + ebx*4 + 0xb0], 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
cmp ebx, 0x32
mov dword [esi + ebx*4 + 0xb4], edx
mov eax, dword [edi]
mov ecx, dword [edi + 8]
mov dword [esp + 8], eax
jae 0x100b1922
mov edx, dword [esp + 8]
mov eax, ecx
add dword [esp + 0xc], 7
xor ebx, ebx
shr eax, 3
movzx eax, byte [edx + eax]
mov edx, dword [ebp + 0xc]
mov esi, dword [edx + 0x10]
cmp ecx, esi
mov dword [esp + 4], esi
setl bl
add ebx, ecx
and cl, 7
shl eax, cl
test al, 0x80
mov dword [edx + 8], ebx
jne 0x100b0c81
jmp 0x100b1936
lea esi, [eax*8 - 4]
mov edi, dword [esp]
jmp 0x100b0720
mov eax, dword [esp + 0x14]
mov ecx, edi
lea edx, [eax + 0x120]
push 0
push esi
call fcn.100b20a0
add esp, 8
inc dword [esp + 0x74]
jmp 0x100b05bb
mov edi, dword [esp + 0x14]
mov ecx, dword [esi + 8]
lea eax, [edi + 0x120]
mov edx, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
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, 6
mov dword [esi + 8], eax
and edx, 2
mov dword [edi + 0x244e0], 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
mov edx, dword [ebp + 0xc]
add ebx, 3
and cl, 7
shl eax, cl
shr eax, 0xfd
cmp esi, ebx
cmovbe ebx, esi
test eax, eax
mov dword [edx + 8], ebx
mov dword [edi + 0x244e4], eax
js 0x100b18f2
xor esi, esi
mov dword [esp + 0xc], 0
dec esi
mov ebx, dword [ebp + 0xc]
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x14]
mov ecx, dword [ebx + 8]
inc eax
mov dword [esp + 0x24], eax
mov eax, dword [ebx]
mov edx, ecx
shr edx, 3
movzx eax, byte [eax + edx]
xor edx, edx
cmp ecx, dword [ebx + 0x10]
setl dl
add edx, ecx
and cl, 7
shl eax, cl
mov ecx, ebx
movzx eax, al
mov dword [ebx + 8], edx
shr eax, 7
mov dword [edi + esi*4 + 0x244ec], eax
mov eax, dword [ebx]
mov ecx, dword [ecx + 0x10]
mov ebx, dword [ebx + 8]
mov dword [esp + 4], ecx
mov ecx, ebx
shr ecx, 3
push dword [eax + ecx]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
mov edx, dword [ebp + 0xc]
add ebx, 4
and cl, 7
shl eax, cl
mov ecx, dword [esp + 4]
shr eax, 0xfc
cmp ecx, ebx
cmovbe ebx, ecx
mov dword [edx + 8], ebx
mov dword [edi + esi*4 + 0x2450c], eax
mov eax, 2
cmp dword [edi + esi*4 + 0x244ec], 1
jne 0x100b0f9d
mov eax, dword [ebp + 0xc]
mov ecx, eax
mov eax, dword [eax]
mov ebx, dword [ecx + 8]
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 + 0xc]
add ebx, 2
and cl, 7
shl eax, cl
shr eax, 0xfe
cmp edi, ebx
cmovbe ebx, edi
mov edi, dword [esp + 0x24]
mov dword [edx + 8], ebx
mov edx, dword [esp + 0xc]
add edx, 2
cmp eax, 3
cmove edi, edx
mov dword [esp + 0x24], edi
mov ecx, dword [esp + 0x14]
mov dword [ecx + esi*4 + 0x2452c], eax
inc esi
mov eax, dword [esp + 0x24]
cmp esi, dword [ecx + 0x244e4]
mov dword [esp + 0xc], eax
jl 0x100b0ec6
mov eax, dword [ebp + 0xc]
mov esi, dword [esp + 0x14]
mov edi, eax
mov eax, dword [eax]
mov ecx, dword [edi + 8]
mov edx, ecx
shr edx, 3
movzx eax, byte [eax + edx]
xor edx, edx
cmp ecx, dword [edi + 0x10]
setl dl
add edx, ecx
and cl, 7
shl eax, cl
mov dword [edi + 8], edx
movzx eax, al
mov ecx, dword [esi + 0x244e0]
shr eax, 7
cmp ecx, 1
seta dl
or dl, al
movzx eax, dl
add eax, ecx
mov dword [esi + 0x244e0], eax
mov ebx, dword [edi + 8]
mov ecx, dword [edi]
mov esi, dword [edi + 0x10]
mov eax, ebx
mov dword [esp + 0xc], ecx
shr eax, 3
push dword [ecx + eax]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
mov edi, ebx
and cl, 7
inc edi
shl eax, cl
shr eax, 0xff
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0xc]
cmp esi, edi
mov ecx, dword [esp + 0xc]
cmovbe edi, esi
mov dword [eax + 8], edi
mov eax, edi
shr eax, 3
push dword [ecx + eax]
call fcn.101eaef1
add esp, 4
mov ebx, eax
mov eax, edi
mov edx, dword [esp + 0x3c]
mov ecx, eax
mov eax, dword [ebp + 0xc]
and cl, 7
shl ebx, cl
mov ecx, edi
shr ebx, 0xfe
add ecx, 2
cmp esi, ecx
cmovbe ecx, esi
mov dword [eax + 8], ecx
mov ecx, dword [esp]
push 0
push eax
call fcn.100b20a0
add esp, 8
test eax, eax
jne 0x100b1523
cmp dword [esp + 0x24], 0
jle 0x100b17a6
xor eax, eax
cmp dword [esp + 0x5c], 0
movss xmm0, dword [ebx*4 + 0x10245e9c]
mov dword [esp + 0x30], 0
setne al
cvtss2sd xmm0, xmm0
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x14]
movsd qword [esp + 0x90], xmm0
lea ecx, [eax + 0x1810]
add eax, 0x24548
mov dword [esp + 0x78], ecx
mov dword [esp + 0x50], eax
cmp dword [esp + 0x30], 0
movss xmm0, dword [0x10210930]
mov eax, 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x40], eax
movss dword [esp + 8], xmm0
je 0x100b11cc
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x244e0], 3
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 8]
mov eax, dword [ebp + 0xc]
jne 0x100b1437
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [esp + 4], ecx
mov dword [esp + 0xc], eax
mov esi, dword [0x1034e770]
mov ecx, dword [esp + 4]
mov eax, edi
mov ebx, edi
shr eax, 3
push dword [ecx + eax]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
mov dword [esp + 8], esi
and cl, 7
shl eax, cl
shr eax, 0xf9
movsx edx, word [esi + eax*4]
movsx eax, word [esi + eax*4 + 2]
mov esi, eax
test eax, eax
mov dword [esp + 0x18], edx
js 0x100b1482
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0xc]
add edi, esi
cmp eax, edi
cmovbe edi, eax
add dword [esp + 0x18], 0xffffffc4
mov dword [ecx + 8], edi
xor ecx, ecx
inc ecx
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x18]
neg eax
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
cvtss2sd xmm0, xmm0
sub esp, 0x10
movsd xmm1, qword [esp + 0xa0]
movsd qword [esp + 8], xmm0
movsd qword [esp], xmm1
call fcn.101f23e0
add esp, 0x10
fstp dword [esp + 0x8c]
movss xmm0, dword [esp + 0x8c]
movss dword [esp + 8], xmm0
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x244e0], 3
jne 0x100b1214
imul eax, dword [esp + 0x30], 0x1e0
mov ecx, dword [esp + 0x14]
movss xmm0, dword [esp + 8]
movss dword [ecx + eax + 0x24548], xmm0
mov eax, dword [esp + 0x30]
add dword [esp + 0x50], 0x1e0
inc eax
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x30], eax
jne 0x100b10d7
jmp 0x100b17a6
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x130]
test ecx, ecx
jle 0x100b11f4
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov al, byte [eax]
mov edx, eax
xor esi, esi
test dl, dl
je 0x100b1433
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x54]
lea ecx, [ecx + edx*4]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x50]
lea ecx, [ecx + edx*4]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xc]
cmp dword [ecx + esi*4], 0
je 0x100b1284
cmp dword [esp + 0x40], 0
je 0x100b1291
movss xmm0, dword [esp + 8]
mov eax, dword [esp + 0x1c]
movss dword [eax + esi*4], xmm0
mov eax, dword [esp + 0x3c]
mov al, byte [eax]
inc esi
movzx ecx, al
cmp esi, ecx
jb 0x100b125e
jmp 0x100b140d
mov eax, dword [ebp + 0xc]
mov edi, dword [0x1034e770]
mov ecx, dword [eax]
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x10], eax
mov eax, ebx
mov dword [esp + 0x64], ecx
shr eax, 3
push dword [ecx + eax]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
mov dword [esp + 0x68], edi
and cl, 7
shl eax, cl
shr eax, 0xf9
movsx edx, word [edi + eax*4]
movsx eax, word [edi + eax*4 + 2]
mov edi, eax
test eax, eax
mov dword [esp + 4], edx
js 0x100b1373
add ebx, edi
cmp dword [esp + 0x10], ebx
ja 0x100b12eb
mov ebx, dword [esp + 0x10]
mov eax, dword [ebp + 0xc]
add dword [esp + 4], 0xffffffc4
mov dword [eax + 8], ebx
je 0x100b126f
mov ecx, dword [esp + 0x18]
add ecx, dword [esp + 4]
lea eax, [ecx + ecx]
mov ebx, ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x7c]
and eax, 2
xor edx, edx
sar ebx, cl
inc edx
mov edi, edx
sub edi, eax
cmp dword [esp + 0x5c], 0
cmove edi, edx
neg ebx
xorps xmm0, xmm0
cvtsi2ss xmm0, ebx
cvtss2sd xmm0, xmm0
sub esp, 0x10
movsd xmm1, qword [esp + 0xa0]
movsd qword [esp + 8], xmm0
movsd qword [esp], xmm1
call fcn.101f23e0
add esp, 0x10
fstp dword [esp + 0x88]
xorps xmm0, xmm0
cvtsi2ss xmm0, edi
mulss xmm0, dword [esp + 0x88]
movss dword [esp + 8], xmm0
jmp 0x100b126f
mov eax, dword [esp + 0x10]
add ebx, 7
mov ecx, dword [esp + 0x64]
cmp eax, ebx
cmovbe ebx, eax
mov eax, ebx
shr eax, 3
push dword [ecx + eax]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
mov edx, dword [esp + 0x68]
and cl, 7
shl eax, cl
mov ecx, edi
shr eax, cl
add eax, dword [esp + 4]
movsx ecx, word [edx + eax*4]
movsx edx, word [edx + eax*4 + 2]
test edx, edx
mov dword [esp + 4], ecx
mov eax, edx
mov dword [esp + 0x60], edx
js 0x100b13c6
mov edi, dword [esp + 0x60]
jmp 0x100b12df
sub ebx, edi
cmp dword [esp + 0x10], ebx
ja 0x100b13d2
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x64]
mov eax, ebx
shr eax, 3
push dword [ecx + eax]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
mov edx, dword [esp + 0x68]
and cl, 7
shl eax, cl
mov ecx, dword [esp + 0x60]
shr eax, cl
add eax, dword [esp + 4]
movsx ecx, word [edx + eax*4]
movsx edi, word [edx + eax*4 + 2]
mov dword [esp + 4], ecx
jmp 0x100b12df
mov ecx, dword [esp + 0x14]
add dword [esp + 0x54], esi
mov edx, eax
mov ecx, dword [ecx + 0x130]
mov esi, dword [esp + 0x58]
inc esi
cmp esi, ecx
mov dword [esp + 0x58], esi
jl 0x100b123a
jmp 0x100b11f4
xor edx, edx
jmp 0x100b141d
mov edx, dword [eax]
mov ebx, dword [eax + 0x10]
mov esi, eax
mov eax, edi
mov ecx, edi
shr eax, 3
mov dword [esp + 4], edx
movzx edx, byte [edx + eax]
xor eax, eax
cmp edi, ebx
mov dword [esp + 0xc], ebx
setl al
and cl, 7
add eax, edi
mov edi, eax
mov dword [esi + 8], eax
shl edx, cl
test dl, 0x80
jne 0x100b1128
mov dword [esp + 0x40], 0
mov dword [esp + 0x18], 0
jmp 0x100b1186
mov eax, dword [esp + 0xc]
mov ebx, edi
mov ecx, dword [esp + 4]
add ebx, 7
cmp eax, ebx
cmovbe ebx, eax
mov eax, ebx
shr eax, 3
push dword [ecx + eax]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
mov edx, dword [esp + 8]
mov edi, ebx
and cl, 7
shl eax, cl
mov ecx, esi
shr eax, cl
add eax, dword [esp + 0x18]
movsx ecx, word [edx + eax*4]
movsx edx, word [edx + eax*4 + 2]
test edx, edx
mov dword [esp + 0x18], ecx
mov eax, edx
mov dword [esp + 0x10], edx
js 0x100b14d9
mov esi, dword [esp + 0x10]
jmp 0x100b1169
mov eax, dword [esp + 0xc]
mov ebx, edi
mov ecx, dword [esp + 4]
sub ebx, esi
cmp eax, ebx
cmovbe ebx, eax
mov eax, ebx
shr eax, 3
push dword [ecx + eax]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
mov edx, dword [esp + 8]
mov edi, ebx
and cl, 7
shl eax, cl
mov ecx, dword [esp + 0x10]
shr eax, cl
add eax, dword [esp + 0x18]
movsx ecx, word [edx + eax*4]
movsx esi, word [edx + eax*4 + 2]
mov dword [esp + 0x18], ecx
jmp 0x100b1169
mov ecx, eax
mov edi, dword [esp]
cmp dword [edi + 0x1a48], 4
mov ebx, ecx
je 0x100b0824
mov eax, dword [esp]
cmp dword [eax + 0x1940], 0
je 0x100b0824
mov esi, dword [esp]
lea eax, [esi + 0x1948]
lea ecx, [esi + 0x1840]
push 0x108
push ecx
push eax
call fcn.101e35e0
add esp, 0xc
mov eax, dword [esi + 0x1a3c]
mov ecx, dword [esi + 4]
lea edx, [esi + 0x1978]
mov dword [ecx + 0x15c], eax
mov ecx, esi
movsd xmm0, qword [esi + 0x1a40]
mov eax, dword [esi + 4]
movsd qword [eax + 0x178], xmm0
push 0
push dword [esi + 0x1a48]
push dword [esi + 0x1a38]
call fcn.100ad430
add esp, 0xc
jmp 0x100b0824
mov eax, dword [esp + 0x14]
mov ecx, edi
lea edx, [eax + 0x120]
push 0
push esi
call fcn.100b20a0
add esp, 8
jmp 0x100b05bb
mov edi, dword [esi + 8]
mov edx, dword [esi]
mov esi, dword [esi + 0x10]
xor ecx, ecx
mov eax, edi
mov dword [esp + 0x10], edx
shr eax, 3
cmp edi, esi
movzx eax, byte [edx + eax]
setl cl
lea ebx, [edi + ecx]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov eax, edi
and eax, 7
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], ebx
mov eax, ebx
shr eax, 3
push dword [edx + eax]
call fcn.101eaef1
add esp, 4
mov ecx, dword [esp + 8]
and bl, 7
lea edi, [edi + ecx + 8]
mov ecx, ebx
mov ebx, dword [ebp + 0xc]
shl eax, cl
shr eax, 0xf8
cmp esi, edi
cmovbe edi, esi
cmp eax, 0xff
mov edx, edi
mov dword [ebx + 8], edi
jne 0x100b1667
mov ecx, dword [esp + 0x10]
mov eax, edx
mov ebx, edx
shr eax, 3
push dword [ecx + eax]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
add ebx, 8
mov edi, dword [ebp + 0xc]
and cl, 7
shl eax, cl
shr eax, 0xf8
cmp esi, ebx
cmovbe ebx, esi
add eax, 0xff
mov edx, ebx
mov dword [edi + 8], ebx
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 4]
shl ebx, cl
test bl, 0x80
je 0x100b168e
mov ecx, edx
neg ecx
and ecx, 7
je 0x100b168e
add ecx, edx
mov edx, dword [ebp + 0xc]
cmp esi, ecx
cmovbe ecx, esi
mov dword [edx + 8], ecx
mov edx, ecx
mov ecx, dword [ebp + 0xc]
shl eax, 3
mov edi, edx
mov ecx, dword [ecx + 0xc]
sub ecx, edx
cmp ecx, eax
jl 0x100b18e8
mov ecx, edx
sub esi, edx
mov edi, dword [esp]
neg ecx
cmp esi, eax
cmovg esi, eax
cmp eax, ecx
cmovl esi, ecx
mov ecx, dword [ebp + 0xc]
add esi, edx
mov dword [ecx + 8], esi
mov esi, ecx
jmp 0x100b17ac
cmp dword [edi + 0x1a48], 4
jne 0x100b184a
mov esi, dword [esp]
lea edi, [esi + 0x1840]
push 0x108
mov ebx, dword [esp + 0x48]
push ebx
push edi
call fcn.101e35e0
add esp, 0xc
mov dword [esi + 0x1a48], 0
mov ecx, ebx
lea edx, [esp + 0xf8]
push dword [esp + 0x6c]
push dword [ebp + 0xc]
call fcn.100af7f0
add esp, 8
test eax, eax
js 0x100b18ff
cmp dword [esp + 0x20], 0
je 0x100b1898
mov eax, dword [esp]
cmp dword [eax + 0x1a48], 4
je 0x100b18d1
mov eax, dword [esp]
cmp dword [eax + 0x1940], 0
je 0x100b18d1
mov esi, dword [esp]
lea ebx, [esi + 0x1978]
push 0x108
push edi
push dword [esp + 0x4c]
call fcn.101e35e0
add esp, 0xc
mov eax, dword [esi + 0x1a3c]
mov ecx, dword [esi + 4]
mov edx, ebx
mov dword [ecx + 0x15c], eax
mov ecx, esi
movsd xmm0, qword [esi + 0x1a40]
mov eax, dword [esi + 4]
movsd qword [eax + 0x178], xmm0
push 0
push dword [esi + 0x1a48]
push dword [esi + 0x1a38]
call fcn.100ad430
add esp, 0xc
jmp 0x100b18d1
mov eax, edx
jmp 0x100b0899
mov edi, dword [esp]
mov esi, dword [ebp + 0xc]
mov ebx, dword [esp + 0x28]
jmp 0x100b05cf
mov edx, dword [esp]
mov eax, dword [edx + 0x1a58]
lea ecx, [eax + 1]
test eax, eax
mov dword [edx + 0x1a58], ecx
jne 0x100b099d
mov byte [esp + 0x100], 2
jmp 0x100b099d
xor esi, esi
cmp eax, 0xd
jne 0x100b1905
mov edx, dword [esp + 0x10]
cmp dword [esp + 0x38], 0
mov edi, dword [esp]
mov eax, edx
je 0x100b0744
cmp dword [edi + 0x1974], 0
je 0x100b1bbb
mov edi, dword [esp]
mov edx, dword [ebp + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [edi + 0x1a54], 1
lea eax, [ebx*8 - 4]
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0x10]
mov esi, ecx
sub edx, ecx
neg esi
cmp edx, eax
cmovg edx, eax
cmp eax, esi
mov eax, dword [ebp + 0xc]
cmovl edx, esi
add edx, ecx
mov dword [eax + 8], edx
mov edx, ebx
mov eax, ebx
jmp 0x100b0744
mov eax, dword [esp]
cmp dword [eax + 0x1940], 0
je 0x100b16d2
mov eax, dword [esp]
cmp dword [esp + 0x20], 0
mov dword [eax + 0x1a48], 0
jne 0x100b18e8
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0xf8]
push dword [esp + 0x6c]
push dword [ebp + 0xc]
call fcn.100af7f0
add esp, 8
test eax, eax
mov dword [esp + 8], eax
js 0x100b1bae
mov eax, dword [esp + 8]
mov ecx, dword [esp]
xor esi, esi
lea edx, [esp + 0xf8]
inc esi
push esi
push esi
push eax
call fcn.100ad430
add esp, 0xc
test eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0x20], esi
jne 0x100b18d8
mov eax, dword [esp]
mov dword [esp + 8], 0
mov dword [eax + 0x1954], 0
xor eax, eax
inc eax
mov dword [esp + 0x20], eax
mov edi, dword [esp]
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 8]
jmp 0x100b05c4
mov ecx, 0xbebbb1b7
jmp 0x100b1525
mov dword [esp + 0x24], 0
jmp 0x100b0fbd
mov dword [esp + 8], eax
jmp 0x100b18d8
cmp eax, 0xe
jne 0x100b1bcd
xor esi, esi
inc esi
jmp 0x100b17e7
xor eax, eax
inc eax
mov dword [esp + 0x1c], eax
jmp 0x100b0c4a
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], 0x3f
mov ebx, ecx
mov eax, dword [eax + 0x10]
mov dword [esp + 4], eax
mov esi, dword [esp + 0xc]
mov ecx, 0x92492493
mov eax, esi
imul ecx
add edx, esi
mov eax, edx
sar edx, 2
shr eax, 0x1f
add edx, eax
add dword [esp + 0x1c], edx
mov eax, ebx
mov ecx, dword [esp + 8]
xor edx, edx
shr eax, 3
cmp ebx, dword [esp + 4]
movzx eax, byte [ecx + eax]
setl dl
add edx, ebx
and bl, 7
mov ecx, ebx
shl eax, cl
mov ecx, dword [ebp + 0xc]
test al, 0x80
mov dword [ecx + 8], edx
je 0x100b1a6c
mov ecx, dword [esp + 8]
mov eax, edx
mov ebx, edx
shr eax, 3
push dword [ecx + eax]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
add ebx, 4
mov edi, dword [esp]
and cl, 7
shl eax, cl
mov ecx, dword [esp + 4]
shr eax, 0xfc
cmp ecx, ebx
cmovbe ebx, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 8], ebx
mov dword [edi + 0x19c], 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, 4
and cl, 7
shl eax, cl
mov ecx, dword [ebp + 0xc]
shr eax, 0xfc
cmp esi, ebx
cmovbe ebx, esi
mov dword [ecx + 8], ebx
mov dword [edi + 0x1a0], eax
mov ecx, dword [edi + 0x19c]
lea eax, [ecx + 1]
test ecx, ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
js 0x100b1ba5
mov eax, dword [esp + 4]
mov esi, dword [esp + 0x84]
add dword [esp + 0x1c], 2
lea edi, [eax + 1]
mov eax, dword [ebp + 0xc]
mov ecx, eax
mov eax, dword [eax]
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0xc], ecx
mov ecx, ebx
shr ecx, 3
push dword [eax + ecx]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
mov edx, dword [ebp + 0xc]
add ebx, 8
and cl, 7
shl eax, cl
mov ecx, dword [esp + 0xc]
shr eax, 0xf8
cmp ecx, ebx
cmovbe ebx, ecx
mov dword [edx + 8], ebx
mov dword [esi], eax
add esi, 4
dec edi
jne 0x100b1a1d
mov eax, dword [esp + 4]
add dword [esp + 0x1c], eax
jmp 0x100b1a73
xor eax, eax
inc eax
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, eax
mov eax, dword [eax]
mov ecx, dword [esi + 8]
mov edi, dword [esi + 0x10]
mov edx, ecx
shr edx, 3
cmp ecx, edi
movzx edx, byte [eax + edx]
setl bl
add ebx, ecx
and cl, 7
mov dword [esi + 8], ebx
shl edx, cl
test dl, 0x80
je 0x100b1ae5
mov ecx, ebx
shr ecx, 3
push dword [eax + ecx]
call fcn.101eaef1
add esp, 4
mov ecx, ebx
add ebx, 7
mov esi, dword [esp]
and cl, 7
shl eax, cl
shr eax, 0xf9
cmp edi, ebx
cmovbe ebx, edi
mov edi, dword [ebp + 0xc]
mov dword [edi + 8], ebx
mov edx, edi
mov dword [esi + 0x1e8], eax
mov ebx, dword [edx + 8]
mov edi, dword [edx + 0x10]
inc ebx
cmp edi, ebx
cmovbe ebx, edi
inc dword [esp + 0x1c]
mov dword [edx + 8], ebx
cmp dword [esp + 8], 0
jle 0x100b1b95
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x80]
dec eax
mov dword [esp + 4], ecx
mov dword [esp + 0xc], eax
mov esi, dword [ebp + 0xc]
mov ecx, ebx
shr ecx, 3
mov eax, dword [esi]
movzx edx, byte [eax + ecx]
xor eax, eax
cmp ebx, edi
setl al
add eax, ebx
and bl, 7
mov ecx, ebx
mov dword [esi + 8], eax
shl edx, cl
mov ecx, esi
mov esi, dword [esp + 4]
shr edx, 7
and edx, 1
mov dword [esi], edx
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
add ebx, 7
mov edx, dword [ebp + 0xc]
and cl, 7
shl eax, cl
shr eax, 0xf9
cmp edi, ebx
cmovbe ebx, edi
cmp dword [esp + 0xc], 0
mov dword [edx + 8], ebx
mov dword [esi + 0x44], eax
je 0x100b1b81
mov eax, dword [ebp + 0xc]
add dword [esp + 4], 4
dec dword [esp + 0xc]
mov ebx, dword [eax + 8]
mov edi, dword [eax + 0x10]
jmp 0x100b1b04
mov eax, dword [esp + 0x1c]
mov edi, dword [esp]
mov edx, dword [esp + 0x10]
add eax, dword [esp + 8]
jmp 0x100b0744
mov edi, dword [esp]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
jmp 0x100b0744
inc dword [esp + 0x1c]
jmp 0x100b1a73
mov dword [esp + 0x20], 0
jmp 0x100b18d8
mov eax, dword [esp]
mov eax, dword [eax + 0x1958]
cmp eax, 0xffffffff
je 0x100b1bfe
test eax, eax
jne 0x100b1c0a
mov esi, dword [esp + 4]
mov edx, dword [esp + 0x10]
mov ecx, ebx
neg ecx
lea eax, [edx*8 - 4]
sub esi, ebx
cmp esi, eax
cmovg esi, eax
cmp eax, ecx
mov eax, dword [ebp + 0xc]
cmovl esi, ecx
add esi, ebx
mov dword [eax + 8], esi
mov eax, edx
mov edi, dword [esp]
jmp 0x100b0744
mov eax, dword [esp]
cmp dword [eax + 0x1a48], 4
je 0x100b1bcd
mov eax, dword [esp]
cmp dword [eax + 0x1970], 0xffffffff
je 0x100b1c5b
mov eax, dword [esp]
mov dword [eax + 0x1958], 1
mov eax, dword [eax + 4]
mov dword [eax + 0x2cc], 4
mov eax, dword [esp + 0x38]
add eax, 0x26360
push dword [esp + 0x4c]
mov ebx, dword [esp + 0x14]
push ebx
push esi
push dword [ebp + 0xc]
push eax
mov edi, dword [esp + 0x14]
push edi
call fcn.100a5df0
mov edx, ebx
add esp, 0x18
jmp 0x100b0744
mov eax, dword [esp]
cmp dword [eax + 0x1a48], 3
jg 0x100b1c16
mov eax, dword [esp]
mov eax, dword [eax + 4]
cmp dword [eax + 0x15c], 1
jne 0x100b1c16
mov ecx, dword [esp]
xor edi, edi
inc edi
mov dword [ecx + 0x1958], edi
mov dword [ecx + 0x1970], edi
lea edx, [ecx + 0x1978]
mov dword [eax + 0x2cc], 0x1c
push edi
push dword [ecx + 0x1a48]
push dword [ecx + 0x1a38]
call fcn.100ad430
add esp, 0xc
jmp 0x100b1c30