Function at 0x100f4eb0
Capabilities:
Encode data using xor
Encrypt data using speck

Disassembly:
mov edx, dword [esp + 0x18]
sub esp, 0x2c
mov ecx, dword [esp + 0x40]
push ebp
mov ebp, dword [esp + 0x34]
push esi
push edi
mov edi, 1
lea esi, [ebp + 8]
test edx, edx
je 0x100f4ed6
mov eax, dword [ebp + 0x114]
mov dword [edx], eax
cmp dword [ebp + 0x5c], 0
jge 0x100f4ee5
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x2c
ret
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
test eax, eax
je 0x100f4f0a
test ecx, ecx
je 0x100f4ef8
cmp dword [ecx], 0
jne 0x100f4f0a
push 0xffffffffffffffec
push ebp
call fcn.100fa430
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0x2c
ret
xor edx, edx
test eax, eax
cmovne edx, ecx
cmp dword [ebp + 0x30], 0
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x44]
jne 0x100f4f2c
mov eax, dword [ecx]
mov dword [esi + 0xc], eax
mov eax, dword [edx]
jmp 0x100f4f34
mov edi, 2
lea eax, [ebp + 0x28]
mov dword [esi + 8], eax
lea eax, [ebp + 0x240]
push ebx
mov dword [esp + 0x28], eax
mov ebx, 0x20
cmp edi, 1
je 0x100f4fd1
cmp edi, 2
jne 0x100f5dd8
cmp dword [ebp + 0x60], 0
je 0x100f4f82
push 1
push dword [esp + 0x58]
push dword [esp + 0x20]
push dword [esp + 0x58]
push ebp
call fcn.100fa490
add esp, 0x14
test eax, eax
js 0x100f5d8b
mov edx, dword [esp + 0x48]
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x100f5d9f
cmp dword [esi + 0xc], 0
mov eax, dword [esp + 0x44]
jne 0x100f4faa
mov dword [ebp + 0x30], 0
mov eax, dword [eax]
mov dword [esi + 0xc], eax
mov eax, dword [edx]
mov dword [esi + 8], eax
jmp 0x100f4fcc
cmp dword [eax], 0
je 0x100f5d8d
mov eax, dword [edx]
mov al, byte [eax]
mov byte [ecx + ebp + 0x28], al
inc dword [ebp + 0x30]
mov eax, dword [ebp + 0x30]
mov ecx, dword [esp + 0x44]
mov dword [esi + 0xc], eax
inc dword [edx]
dec dword [ecx]
mov edi, 1
mov eax, dword [ebp]
cmp eax, 0x1a
ja case.default.0x100f4fdd
jmp dword [eax*4 + 0x100f5e74]
push esi
call fcn.100fa6b0
add esp, 4
test eax, eax
jne 0x100f4fff
mov edx, dword [esp + 0x48]
mov edi, 2
jmp case.default.0x100f4fdd
mov ebx, dword [ebp + 0x230]
mov eax, ebx
and eax, 0xffffffdf
mov dword [ebp + 0x230], eax
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov eax, edx
shr eax, cl
and eax, dword [0x10130be4]
lea ecx, [ecx + 1]
mov dword [esi + 4], ecx
jne 0x100f5033
mov dword [ebp + 0x234], 0x10
jmp 0x100f50ad
mov eax, edx
shr eax, cl
lea ecx, [ecx + 3]
and eax, dword [0x10130bec]
mov dword [esi + 4], ecx
je 0x100f5050
add eax, 0x11
mov dword [ebp + 0x234], eax
jmp 0x100f50ad
mov eax, edx
shr eax, cl
add ecx, 3
and eax, dword [0x10130bec]
mov dword [esi + 4], ecx
cmp eax, 1
jne 0x100f5094
test bl, 0x20
je 0x100f507d
shr edx, cl
lea eax, [ecx + 1]
and edx, dword [0x10130be4]
mov dword [esi + 4], eax
cmp edx, 1
jne 0x100f508b
mov edx, dword [esp + 0x48]
mov edi, 0xfffffff3
jmp 0x100f4f42
or dword [ebp + 0x230], 0x20
jmp 0x100f50ad
test eax, eax
je 0x100f50a3
add eax, 8
mov dword [ebp + 0x234], eax
jmp 0x100f50ad
mov dword [ebp + 0x234], 0x11
mov al, byte [ebp + 0x230]
mov edi, 1
mov edx, dword [esp + 0x48]
and al, 0x20
movzx eax, al
neg eax
sbb eax, eax
add eax, 2
mov dword [ebp], eax
jmp 0x100f4f42
mov edi, dword [esi + 4]
mov eax, ebx
sub eax, edi
cmp eax, 6
jae 0x100f5119
nop dword [eax]
mov edx, dword [esi + 0xc]
test edx, edx
je 0x100f4ff1
mov ecx, dword [esi + 8]
shr dword [esi], 8
movzx eax, byte [ecx]
add dword [esi + 4], 0xfffffff8
mov edi, dword [esi + 4]
shl eax, 0x18
or dword [esi], eax
lea eax, [edx - 1]
mov dword [esi + 0xc], eax
lea eax, [ecx + 1]
mov dword [esi + 8], eax
mov eax, ebx
sub eax, edi
cmp eax, 6
jb 0x100f50e0
mov edx, dword [esp + 0x48]
mov eax, dword [esi]
mov ecx, edi
shr eax, cl
and eax, dword [0x10130bf8]
mov dword [ebp + 0x234], eax
add dword [esi + 4], 6
mov eax, dword [ebp + 0x234]
sub eax, 0xa
cmp eax, 0x14
ja 0x100f517d
mov dword [ebp], 2
mov ecx, dword [ebp + 0x234]
mov eax, 1
shl eax, cl
sub eax, 0x10
push 0x3030
push dword [ebp + 0x20]
mov dword [ebp + 0x38], eax
mov eax, dword [ebp + 0x18]
call eax
add esp, 8
mov dword [ebp + 0xa8], eax
test eax, eax
jne 0x100f5187
mov edx, dword [esp + 0x48]
lea edi, [eax - 0x1e]
jmp case.default.0x100f4fdd
mov edi, 0xfffffff3
jmp case.default.0x100f4fdd
add eax, 0x1da0
mov dword [ebp], 3
mov dword [ebp + 0xac], eax
push ebp
call fcn.100fb1f0
add esp, 4
mov dword [ebp], 4
push esi
push ebp
call fcn.100f6e40
mov edx, dword [esp + 0x50]
mov edi, eax
add esp, 8
cmp edi, 1
jne 0x100f4f50
test byte [ebp + 0x230], 6
je 0x100f51f8
mov ecx, dword [esi + 4]
mov ebx, ecx
neg ebx
and ebx, 7
je 0x100f51f8
mov edx, dword [esi]
lea eax, [ebx + ecx]
shr edx, cl
test dword [ebx*4 + 0x10130be0], edx
mov dword [esi + 4], eax
je 0x100f51f8
mov edx, dword [esp + 0x48]
mov edi, 0xfffffff2
jmp 0x100f4f42
test byte [ebp + 0x230], 4
je 0x100f5211
mov edx, dword [esp + 0x48]
mov dword [ebp], 0xc
jmp 0x100f4f42
cmp dword [ebp + 0xb8], 0
jne 0x100f522a
mov edx, dword [esp + 0x48]
mov dword [ebp], 0xe
jmp 0x100f4f42
push ebp
call fcn.100f4d60
mov edx, dword [esp + 0x4c]
add esp, 4
test byte [ebp + 0x230], 2
je case.0x100f4fdd.17
mov dword [ebp], 0xb
jmp 0x100f4f42
mov dword [ebp + 4], 0
lea eax, [ebp + 0x338]
mov dword [ebp + 0x27c], 0
mov dword [ebp + 0x314], eax
mov dword [ebp + 0x278], 0
mov dword [ebp + 0x270], 0
mov dword [ebp + 0x274], 0
mov dword [ebp], 0x12
mov eax, dword [ebp + 4]
cmp eax, 3
jl 0x100f52a2
mov dword [ebp], 5
jmp 0x100f4f42
lea eax, [eax*4 + 0xcc]
add eax, ebp
push eax
push esi
push ebp
call fcn.100f7460
mov edx, dword [esp + 0x54]
mov edi, eax
add esp, 0xc
mov ebx, 0x20
cmp edi, 1
jne 0x100f4f50
mov eax, dword [ebp + 4]
inc dword [ebp + eax*4 + 0xcc]
mov eax, dword [ebp + 4]
cmp dword [ebp + eax*4 + 0xcc], 2
jae 0x100f52ea
inc eax
mov dword [ebp + 4], eax
jmp case.default.0x100f4fdd
mov dword [ebp], 0x13
mov eax, dword [ebp + 4]
push ebp
push 0
mov ecx, dword [ebp + eax*4 + 0xcc]
imul eax, eax, 0x9e0
add ecx, 2
add eax, dword [ebp + 0xa8]
push eax
push ecx
push ecx
call fcn.100f8500
mov edx, dword [esp + 0x5c]
mov edi, eax
add esp, 0x14
mov ebx, 0x20
cmp edi, 1
jne 0x100f4f50
mov dword [ebp], 0x14
imul eax, dword [ebp + 4], 0x630
push ebp
push 0
add eax, dword [ebp + 0xac]
push eax
push 0x1a
push 0x1a
call fcn.100f8500
mov edx, dword [esp + 0x5c]
mov edi, eax
add esp, 0x14
mov ebx, 0x20
cmp edi, 1
jne 0x100f4f50
mov dword [ebp], 0x15
mov eax, dword [ebp + 4]
imul ecx, eax, 0x630
lea eax, [eax*4 + 0xc0]
add eax, ebp
add ecx, dword [ebp + 0xac]
cmp dword [ebp + 0x22c], 0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
jne 0x100f545c
mov ebx, dword [esi + 4]
mov eax, 0x20
sub eax, ebx
cmp eax, 0xf
jae 0x100f53e8
nop word [eax + eax]
mov edx, dword [esi + 0xc]
test edx, edx
je 0x100f543b
mov ecx, dword [esi + 8]
shr dword [esi], 8
movzx eax, byte [ecx]
add dword [esi + 4], 0xfffffff8
mov ebx, dword [esi + 4]
shl eax, 0x18
or dword [esi], eax
lea eax, [edx - 1]
mov dword [esi + 0xc], eax
lea eax, [ecx + 1]
mov dword [esi + 8], eax
mov eax, 0x20
sub eax, ebx
cmp eax, 0xf
jb 0x100f53b0
mov eax, dword [esi]
mov ecx, ebx
shr eax, cl
and eax, dword [0x10130c1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], eax
movzx eax, al
lea edx, [ecx + eax*4]
mov al, byte [edx]
cmp al, 8
jbe 0x100f542d
shr dword [esp + 0x14], 8
add ebx, 8
movzx eax, al
mov dword [esi + 4], ebx
mov ecx, dword [eax*4 + 0x10130bc0]
movzx eax, word [edx + 2]
and ecx, dword [esp + 0x14]
add ecx, eax
mov al, byte [edx + ecx*4]
lea edx, [edx + ecx*4]
movzx eax, al
add eax, ebx
mov dword [esi + 4], eax
movzx ecx, word [edx + 2]
jmp 0x100f5462
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x10]
push eax
push esi
push ecx
call fcn.100f9550
add esp, 0xc
test eax, eax
je 0x100f5519
mov ecx, dword [esp + 0x10]
jmp 0x100f5466
mov ecx, dword [ebp + 0xbc]
mov dword [esp + 0x10], ecx
movzx eax, word [ecx*4 + 0x10131640]
movzx edx, byte [ecx*4 + 0x10131642]
mov ebx, dword [esi + 4]
mov dword [esp + 0x20], eax
mov eax, 0x20
sub eax, ebx
mov dword [esp + 0x24], edx
cmp eax, edx
jae 0x100f54c7
nop dword [eax]
mov edx, dword [esi + 0xc]
test edx, edx
je 0x100f5505
mov ecx, dword [esi + 8]
shr dword [esi], 8
movzx eax, byte [ecx]
add dword [esi + 4], 0xfffffff8
mov ebx, dword [esi + 4]
shl eax, 0x18
or dword [esi], eax
lea eax, [edx - 1]
mov edx, dword [esp + 0x24]
mov dword [esi + 0xc], eax
lea eax, [ecx + 1]
mov dword [esi + 8], eax
mov eax, 0x20
sub eax, ebx
cmp eax, edx
jb 0x100f5490
mov eax, dword [esi]
mov ecx, ebx
shr eax, cl
mov ecx, dword [edx*4 + 0x10130be0]
and ecx, eax
lea eax, [ebx + edx]
mov edx, dword [esp + 0x48]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x20]
add eax, ecx
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
inc dword [ebp + 4]
mov dword [ebp + 0x22c], 0
mov dword [ebp], 0x12
jmp 0x100f4f42
mov eax, dword [esp + 0x10]
mov dword [ebp + 0xbc], eax
mov dword [ebp + 0x22c], 1
mov edx, dword [esp + 0x48]
mov edi, 2
jmp 0x100f4f42
push ebp
push dword [esp + 0x58]
push dword [esp + 0x20]
push dword [esp + 0x58]
call fcn.100f5f70
mov edx, dword [esp + 0x58]
mov edi, eax
add esp, 0x10
cmp edi, 1
jne 0x100f4f50
mov dword [ebp], 0xe
jmp case.default.0x100f4fdd
cmp dword [ebp + 0xb8], 0
jle 0x100f55be
mov edx, dword [esi + 4]
mov eax, ebx
sub eax, edx
cmp eax, 8
jae 0x100f55a5
nop dword [eax]
mov ebx, dword [esi + 0xc]
test ebx, ebx
je 0x100f5519
mov ecx, dword [esi + 8]
add edx, 0xfffffff8
shr dword [esi], 8
movzx eax, byte [ecx]
shl eax, 0x18
or dword [esi], eax
lea eax, [ebx - 1]
mov dword [esi + 0xc], eax
mov ebx, 0x20
lea eax, [ecx + 1]
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov eax, ebx
sub eax, edx
cmp eax, 8
jb 0x100f5570
lea eax, [edx + 8]
mov dword [esi + 4], eax
dec dword [ebp + 0xb8]
cmp dword [ebp + 0xb8], 0
jg 0x100f5560
mov edx, dword [esp + 0x48]
mov dword [ebp], 0xe
jmp case.default.0x100f4fdd
mov edi, dword [esi + 4]
mov eax, ebx
sub eax, edi
cmp eax, 6
jae 0x100f5615
nop word [eax + eax]
mov edx, dword [esi + 0xc]
test edx, edx
je 0x100f4ff1
mov ecx, dword [esi + 8]
shr dword [esi], 8
movzx eax, byte [ecx]
add dword [esi + 4], 0xfffffff8
mov edi, dword [esi + 4]
shl eax, 0x18
or dword [esi], eax
lea eax, [edx - 1]
mov dword [esi + 0xc], eax
lea eax, [ecx + 1]
mov dword [esi + 8], eax
mov eax, ebx
sub eax, edi
cmp eax, 6
jb 0x100f55e0
mov edx, dword [esi]
lea eax, [edi + 6]
mov ecx, edi
shr edx, cl
and edx, dword [0x10130bf8]
mov dword [esi + 4], eax
mov ecx, edx
and ecx, dword [0x10130be8]
mov eax, dword [ebp + 0x18]
shr edx, 2
shl edx, cl
mov dword [ebp + 0xf0], ecx
mov dword [ebp + 0xf4], edx
push dword [ebp + 0xcc]
push dword [ebp + 0x20]
call eax
add esp, 8
mov dword [ebp + 0x244], eax
test eax, eax
jne 0x100f5667
mov edx, dword [esp + 0x48]
lea edi, [eax - 0x15]
jmp case.default.0x100f4fdd
mov dword [ebp + 4], 0
mov dword [ebp], 6
mov ebx, dword [ebp + 4]
cmp ebx, dword [ebp + 0xcc]
jge 0x100f56eb
mov edi, dword [esi + 4]
mov eax, 0x20
sub eax, edi
cmp eax, 2
jae 0x100f56c7
nop
mov edx, dword [esi + 0xc]
test edx, edx
je 0x100f5830
mov ecx, dword [esi + 8]
add edi, 0xfffffff8
shr dword [esi], 8
movzx eax, byte [ecx]
shl eax, 0x18
or dword [esi], eax
lea eax, [edx - 1]
mov dword [esi + 0xc], eax
lea eax, [ecx + 1]
mov dword [esi + 8], eax
mov eax, 0x20
sub eax, edi
mov dword [esi + 4], edi
cmp eax, 2
jb 0x100f5690
mov edx, dword [esi]
lea eax, [edi + 2]
mov ecx, edi
shr edx, cl
and edx, dword [0x10130be8]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x244]
mov byte [ebx + eax], dl
inc ebx
cmp ebx, dword [ebp + 0xcc]
jl 0x100f5680
mov dword [ebp], 0x16
push ebp
lea eax, [ebp + 0x240]
push eax
lea eax, [ebp + 0x23c]
push eax
mov eax, dword [ebp + 0xcc]
shl eax, 6
push eax
call fcn.100f63b0
mov edx, dword [esp + 0x58]
mov edi, eax
add esp, 0x10
mov ebx, 0x20
cmp edi, 1
jne 0x100f4f50
xorps xmm0, xmm0
xor ebx, ebx
movups xmmword [ebp + 0x250], xmm0
mov dword [esp + 0x14], ebx
movups xmmword [ebp + 0x260], xmm0
cmp dword [ebp + 0xcc], ebx
jbe 0x100f57e6
nop word [eax + eax]
mov eax, dword [esp + 0x28]
mov ecx, ebx
shl ecx, 6
xor esi, esi
mov eax, dword [eax]
lea ebp, [esi + 0x10]
mov bl, byte [eax + ecx]
lea edi, [eax + 2]
add edi, ecx
nop dword [eax + eax]
movzx edx, byte [edi - 2]
lea edi, [edi + 4]
movzx ecx, byte [edi - 5]
movzx eax, bl
xor edx, eax
movzx eax, bl
xor ecx, eax
movzx eax, bl
or edx, ecx
movzx ecx, byte [edi - 3]
xor ecx, eax
movzx eax, bl
or edx, ecx
movzx ecx, byte [edi - 4]
xor ecx, eax
or edx, ecx
or esi, edx
sub ebp, 1
jne 0x100f5770
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x14]
test esi, esi
jne 0x100f57d2
mov eax, ebx
mov ecx, ebx
shr eax, 5
and ecx, 0x1f
lea edx, [eax*4]
mov eax, dword [edx + ebp + 0x250]
bts eax, ecx
mov dword [edx + ebp + 0x250], eax
inc ebx
mov dword [esp + 0x14], ebx
cmp ebx, dword [ebp + 0xcc]
jb 0x100f5750
lea esi, [ebp + 8]
mov dword [ebp], 0x17
mov edx, dword [ebp + 0xf0]
mov eax, 0x18
mov edi, dword [ebp + 0xf4]
lea ebx, [edx + 1]
mov ecx, ebx
mov dword [esp + 0x24], ebx
shl eax, cl
add eax, 0x10
add eax, edi
test byte [ebp + 0x230], 0x20
mov dword [esp + 0x20], eax
mov ebx, eax
je 0x100f58a8
cmp edi, 0x7ffffffc
jb 0x100f5841
mov ebx, 0x8000000c
jmp 0x100f5894
mov edx, dword [esp + 0x48]
mov edi, 2
mov dword [ebp + 4], ebx
jmp 0x100f4f42
mov ecx, edx
mov ebx, 1
shl ebx, cl
mov edx, 0x7ffffffc
mov ecx, dword [ebp + 0xf0]
sub edx, edi
shr edx, cl
xor eax, eax
add edx, 4
dec ebx
mov ecx, edx
shr ecx, 1
je 0x100f586a
inc eax
shr ecx, 1
jne 0x100f5865
lea ecx, [eax - 1]
shr edx, cl
lea eax, [eax*2 - 4]
and edx, 1
or edx, eax
jne 0x100f5882
lea ebx, [edi + 0x10]
jmp 0x100f5894
mov ecx, dword [ebp + 0xf0]
lea eax, [edx - 1]
shl eax, cl
or ebx, eax
add ebx, 0x11
add ebx, edi
mov ecx, dword [esp + 0x24]
mov eax, 0x3e
shl eax, cl
add eax, 0x10
add eax, edi
mov dword [esp + 0x20], eax
push ebp
lea eax, [ebp + 0xfc]
push eax
mov eax, dword [ebp + 0xd4]
lea ecx, [ebp + 0xf8]
push ecx
shl eax, 2
push eax
call fcn.100f63b0
mov edx, dword [esp + 0x58]
mov edi, eax
add esp, 0x10
cmp edi, 1
jne 0x100f4f42
push dword [ebp + 0x23c]
lea eax, [ebp + 0x78]
push 0x100
push 0x100
push eax
push ebp
call fcn.100fae90
push dword [ebp + 0xd0]
lea ecx, [ebp + 0x88]
mov edi, eax
push 0x2c0
push 0x2c0
push ecx
push ebp
and edi, 1
call fcn.100fae90
push dword [ebp + 0xf8]
and edi, eax
lea eax, [ebp + 0x98]
push ebx
push dword [esp + 0x50]
push eax
push ebp
call fcn.100fae90
add esp, 0x3c
test edi, eax
je 0x100f5e4d
mov dword [ebp + 4], 0
mov dword [ebp], 0x18
mov eax, dword [ebp + 4]
sub eax, 0
je 0x100f596b
sub eax, 1
je 0x100f5964
sub eax, 1
jne 0x100f5e60
mov edx, 0x98
jmp 0x100f5970
mov edx, 0x88
jmp 0x100f5970
mov edx, 0x78
cmp dword [ebp + 0x270], 1
lea ecx, [ebp + 0x96c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ecx
je 0x100f59a3
mov eax, dword [edx + ebp + 4]
mov dword [ebp + 0x970], eax
mov dword [ecx], 0
mov dword [ebp + 0x270], 1
jmp 0x100f59a7
mov dword [esp + 0x20], ecx
movzx eax, word [edx + ebp + 0xc]
cmp dword [ecx], eax
jge 0x100f5a0d
push ebp
lea eax, [esp + 0x30]
push eax
push dword [ebp + 0x970]
movzx eax, word [edx + ebp + 0xa]
push eax
movzx eax, word [edx + ebp + 8]
push eax
call fcn.100f8500
mov edi, eax
add esp, 0x14
cmp edi, 1
jne 0x100f5d82
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp + 0x970]
mov edx, dword [edi]
mov ecx, dword [ecx + ebp]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
inc dword [edi]
shl eax, 2
add dword [ebp + 0x970], eax
movzx eax, word [edx + ebp + 0xc]
cmp dword [edi], eax
jl 0x100f59b0
mov edx, dword [esp + 0x48]
mov edi, 1
mov dword [ebp + 0x270], 0
inc dword [ebp + 4]
cmp dword [ebp + 4], 3
lea ebx, [edi + 0x1f]
jl case.default.0x100f4fdd
mov dword [ebp], 0x19
mov edi, dword [ebp + 0xdc]
mov edx, edi
mov eax, edi
shl edx, 6
add edx, dword [ebp + 0x240]
mov ecx, edi
shr eax, 5
and ecx, 0x1f
mov dword [ebp + 0x70], edx
push ebp
mov eax, dword [ebp + eax*4 + 0x250]
shr eax, cl
and eax, 1
mov dword [ebp + 0xb0], eax
movzx ecx, byte [edx]
mov eax, dword [ebp + 0x78]
mov eax, dword [eax + ecx*4]
mov dword [ebp + 0x100], eax
mov eax, dword [ebp + 0x244]
movzx eax, byte [eax + edi]
and eax, 3
shl eax, 9
add eax, 0x101316a8
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0xfc]
mov dword [ebp + 0x74], eax
mov eax, dword [ebp + 0x88]
mov eax, dword [eax]
mov dword [ebp + 0x68], eax
call fcn.100f5ee0
add esp, 4
test eax, eax
jne 0x100f5abb
mov edx, dword [esp + 0x48]
lea edi, [eax - 0x1b]
jmp 0x100f4f42
mov ecx, dword [ebp + 0xf4]
lea eax, [ebp + 0x270]
mov edx, dword [ebp + 0xf0]
mov edi, 1
mov dword [esp + 0x14], ecx
mov ebx, 1
movzx ecx, word [ebp + 0xa2]
mov dword [esp + 0x24], ecx
mov ecx, edx
shl edi, cl
xor ecx, ecx
mov dword [esp + 0x38], edx
lea edx, [ebx + 0xf]
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x14], ecx
jbe 0x100f5b45
mov edx, 0xfffffff1
lea ecx, [eax + 0x10]
sub edx, eax
lea esi, [eax + 0x260]
mov eax, dword [esp + 0x14]
mov edi, eax
mov dword [esp + 0x30], edx
mov ebp, edx
lea edx, [eax + 0x10]
mov byte [ecx], 0
lea eax, [ecx + ebp]
mov dword [esi], eax
lea esi, [esi + 4]
lea ecx, [ecx + 1]
sub edi, ebx
jne 0x100f5b24
mov ebp, dword [esp + 0x40]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
lea esi, [ebp + 8]
cmp edx, dword [esp + 0x24]
jae 0x100f5ba7
mov ebp, dword [esp + 0x34]
nop
mov esi, dword [esp + 0x14]
lea eax, [ecx + 2]
mov ecx, ebx
inc esi
shl eax, cl
mov ecx, dword [esp + 0x38]
sub eax, 4
shl eax, cl
xor ecx, ecx
add esi, eax
test edi, edi
je 0x100f5b8d
lea edi, [ebp + 0x220]
lea edi, [edi + edx*4]
lea eax, [esi + ecx]
mov byte [edx + ebp], bl
inc ecx
mov dword [edi], eax
inc edx
lea edi, [edi + 4]
cmp ecx, dword [esp + 0x1c]
jb 0x100f5b76
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
add ebx, ecx
xor ecx, 1
mov dword [esp + 0x20], ecx
cmp edx, dword [esp + 0x24]
jb 0x100f5b50
mov ebp, dword [esp + 0x40]
lea esi, [ebp + 8]
mov dword [ebp], 7
push ebp
call fcn.100f76c0
mov edx, dword [esp + 0x4c]
mov edi, eax
add esp, 4
mov ebx, 0x20
cmp edi, 2
jne case.default.0x100f4fdd
push ebp
call fcn.100f9610
mov edx, dword [esp + 0x4c]
add esp, 4
mov edi, eax
jmp case.default.0x100f4fdd
push 0
push dword [esp + 0x58]
push dword [esp + 0x20]
push dword [esp + 0x58]
push ebp
call fcn.100fa490
mov edx, dword [esp + 0x5c]
mov edi, eax
add esp, 0x14
cmp edi, 1
jne 0x100f4f50
push ebp
call fcn.100fa460
mov ecx, dword [ebp + 0x234]
mov eax, 1
shl eax, cl
add esp, 4
cmp dword [ebp + 0x40], eax
jne 0x100f5c26
mov eax, dword [ebp + 0x38]
mov dword [ebp + 0x3c], eax
mov eax, dword [ebp]
cmp eax, 0xf
jne 0x100f5c4e
cmp dword [ebp + 0xb8], 0
mov eax, 0xe
mov edx, dword [esp + 0x48]
mov ecx, 7
cmovne eax, ecx
mov dword [ebp], eax
jmp case.default.0x100f4fdd
cmp eax, 0x10
jne 0x100f5c64
mov edx, dword [esp + 0x48]
mov eax, 0xa
mov dword [ebp], eax
jmp case.default.0x100f4fdd
cmp dword [ebp + 4], 0
jne 0x100f5c8a
cmp dword [ebp + 0xb8], 0
mov eax, 0xe
mov edx, dword [esp + 0x48]
mov ecx, 9
cmovne eax, ecx
mov dword [ebp], eax
jmp case.default.0x100f4fdd
mov edx, dword [esp + 0x48]
mov eax, 8
mov dword [ebp], eax
jmp case.default.0x100f4fdd
cmp dword [ebp + 0xb8], 0
jge 0x100f5cae
mov edi, 0xfffffff6
jmp case.default.0x100f4fdd
push ebp
call fcn.100fafb0
add esp, 4
test byte [ebp + 0x230], 1
jne 0x100f5cd0
mov edx, dword [esp + 0x48]
mov dword [ebp], 3
jmp case.default.0x100f4fdd
mov ebx, dword [esi + 4]
mov ecx, 0
mov edx, ebx
neg edx
and edx, 7
je 0x100f5cf5
mov eax, dword [esi]
mov ecx, ebx
shr eax, cl
mov ecx, dword [edx*4 + 0x10130be0]
and ecx, eax
add ebx, edx
mov dword [esi + 4], ebx
test ecx, ecx
je 0x100f5d07
mov edx, dword [esp + 0x48]
mov edi, 0xfffffff1
jmp 0x100f4f42
cmp dword [ebp + 0x30], 0
jne 0x100f5d57
mov eax, dword [esi + 0xc]
mov ecx, 0x20
sub ecx, ebx
shr ecx, 3
sub dword [esi + 8], ecx
add eax, ecx
mov dword [esp + 0x38], eax
mov dword [esi + 0xc], eax
lea edx, [ecx*8]
cmp edx, 0x20
jne 0x100f5d3a
mov dword [esi], 0
jmp 0x100f5d3e
mov ecx, edx
shl dword [esi], cl
mov ecx, dword [esp + 0x44]
lea eax, [ebx + edx]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ecx], eax
mov ecx, dword [esp + 0x48]
mov eax, dword [esi + 8]
mov dword [ecx], eax
mov dword [ebp], 0x1a
cmp dword [ebp + 0x60], 0
je 0x100f5d8d
push 1
push dword [esp + 0x58]
push dword [esp + 0x20]
push dword [esp + 0x58]
push ebp
call fcn.100fa490
mov edi, eax
add esp, 0x14
cmp edi, 1
je 0x100f5d8d
mov edx, dword [esp + 0x48]
jmp 0x100f4f42
mov edi, eax
push edi
push ebp
call fcn.100fa430
add esp, 8
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x2c
ret
mov eax, dword [esi + 8]
mov ebx, dword [esp + 0x44]
mov dword [edx], eax
mov eax, dword [esi + 0xc]
mov dword [ebx], eax
test eax, eax
je 0x100f5d8d
mov eax, dword [edx]
mov ecx, dword [ebp + 0x30]
mov al, byte [eax]
mov byte [ecx + ebp + 0x28], al
inc dword [ebp + 0x30]
inc dword [edx]
add dword [ebx], 0xffffffff
jne 0x100f5db1
push edi
push ebp
call fcn.100fa430
add esp, 8
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x2c
ret
cmp dword [ebp + 0x30], 0
je 0x100f5df7
push edi
push ebp
mov dword [ebp + 0x30], 0
call fcn.100fa430
add esp, 8
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x2c
ret
mov edx, dword [esi + 4]
sub ebx, edx
shr ebx, 3
mov dword [esp + 0x54], ebx
mov eax, dword [esp + 0x54]
sub dword [esi + 8], eax
lea ecx, [ebx*8]
add ebx, dword [esi + 0xc]
mov dword [esi + 0xc], ebx
cmp ecx, 0x20
jne 0x100f5e24
mov dword [esi], 0
jmp 0x100f5e26
shl dword [esi], cl
lea eax, [edx + ecx]
mov ecx, dword [esp + 0x48]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x44]
push edi
push ebp
mov dword [eax], ebx
mov eax, dword [esi + 8]
mov dword [ecx], eax
call fcn.100fa430
add esp, 8
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x2c
ret
push 0xffffffffffffffea
push ebp
call fcn.100fa430
add esp, 8
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x2c
ret
push 0xffffffffffffffe1
push ebp
call fcn.100fa430
add esp, 8
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x2c
ret