Function at 0x10073f10
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 0x10073f36
mov eax, dword [ebp + 0x114]
mov dword [edx], eax
cmp dword [ebp + 0x5c], 0
jge 0x10073f45
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 0x10073f6a
test ecx, ecx
je 0x10073f58
cmp dword [ecx], 0
jne 0x10073f6a
push 0xffffffffffffffec
push ebp
call fcn.100794b0
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 0x10073f8c
mov eax, dword [ecx]
mov dword [esi + 0xc], eax
mov eax, dword [edx]
jmp 0x10073f94
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 0x10074031
cmp edi, 2
jne 0x10074e38
cmp dword [ebp + 0x60], 0
je 0x10073fe2
push 1
push dword [esp + 0x58]
push dword [esp + 0x20]
push dword [esp + 0x58]
push ebp
call fcn.10079510
add esp, 0x14
test eax, eax
js 0x10074deb
mov edx, dword [esp + 0x48]
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x10074dff
cmp dword [esi + 0xc], 0
mov eax, dword [esp + 0x44]
jne 0x1007400a
mov dword [ebp + 0x30], 0
mov eax, dword [eax]
mov dword [esi + 0xc], eax
mov eax, dword [edx]
mov dword [esi + 8], eax
jmp 0x1007402c
cmp dword [eax], 0
je 0x10074ded
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.0x1007403d
jmp dword [eax*4 + 0x10074ed4]
push esi
call fcn.10081ed0
add esp, 4
test eax, eax
jne 0x1007405f
mov edx, dword [esp + 0x48]
mov edi, 2
jmp case.default.0x1007403d
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 [0x1012904c]
lea ecx, [ecx + 1]
mov dword [esi + 4], ecx
jne 0x10074093
mov dword [ebp + 0x234], 0x10
jmp 0x1007410d
mov eax, edx
shr eax, cl
lea ecx, [ecx + 3]
and eax, dword [0x10129054]
mov dword [esi + 4], ecx
je 0x100740b0
add eax, 0x11
mov dword [ebp + 0x234], eax
jmp 0x1007410d
mov eax, edx
shr eax, cl
add ecx, 3
and eax, dword [0x10129054]
mov dword [esi + 4], ecx
cmp eax, 1
jne 0x100740f4
test bl, 0x20
je 0x100740dd
shr edx, cl
lea eax, [ecx + 1]
and edx, dword [0x1012904c]
mov dword [esi + 4], eax
cmp edx, 1
jne 0x100740eb
mov edx, dword [esp + 0x48]
mov edi, 0xfffffff3
jmp 0x10073fa2
or dword [ebp + 0x230], 0x20
jmp 0x1007410d
test eax, eax
je 0x10074103
add eax, 8
mov dword [ebp + 0x234], eax
jmp 0x1007410d
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 0x10073fa2
mov edi, dword [esi + 4]
mov eax, ebx
sub eax, edi
cmp eax, 6
jae 0x10074179
nop dword [eax]
mov edx, dword [esi + 0xc]
test edx, edx
je 0x10074051
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 0x10074140
mov edx, dword [esp + 0x48]
mov eax, dword [esi]
mov ecx, edi
shr eax, cl
and eax, dword [0x10129060]
mov dword [ebp + 0x234], eax
add dword [esi + 4], 6
mov eax, dword [ebp + 0x234]
sub eax, 0xa
cmp eax, 0x14
ja 0x100741dd
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 0x100741e7
mov edx, dword [esp + 0x48]
lea edi, [eax - 0x1e]
jmp case.default.0x1007403d
mov edi, 0xfffffff3
jmp case.default.0x1007403d
add eax, 0x1da0
mov dword [ebp], 3
mov dword [ebp + 0xac], eax
push ebp
call fcn.10082a10
add esp, 4
mov dword [ebp], 4
push esi
push ebp
call fcn.10075ea0
mov edx, dword [esp + 0x50]
mov edi, eax
add esp, 8
cmp edi, 1
jne 0x10073fb0
test byte [ebp + 0x230], 6
je 0x10074258
mov ecx, dword [esi + 4]
mov ebx, ecx
neg ebx
and ebx, 7
je 0x10074258
mov edx, dword [esi]
lea eax, [ebx + ecx]
shr edx, cl
test dword [ebx*4 + 0x10129048], edx
mov dword [esi + 4], eax
je 0x10074258
mov edx, dword [esp + 0x48]
mov edi, 0xfffffff2
jmp 0x10073fa2
test byte [ebp + 0x230], 4
je 0x10074271
mov edx, dword [esp + 0x48]
mov dword [ebp], 0xc
jmp 0x10073fa2
cmp dword [ebp + 0xb8], 0
jne 0x1007428a
mov edx, dword [esp + 0x48]
mov dword [ebp], 0xe
jmp 0x10073fa2
push ebp
call fcn.10073dc0
mov edx, dword [esp + 0x4c]
add esp, 4
test byte [ebp + 0x230], 2
je case.0x1007403d.17
mov dword [ebp], 0xb
jmp 0x10073fa2
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 0x10074302
mov dword [ebp], 5
jmp 0x10073fa2
lea eax, [eax*4 + 0xcc]
add eax, ebp
push eax
push esi
push ebp
call fcn.100764c0
mov edx, dword [esp + 0x54]
mov edi, eax
add esp, 0xc
mov ebx, 0x20
cmp edi, 1
jne 0x10073fb0
mov eax, dword [ebp + 4]
inc dword [ebp + eax*4 + 0xcc]
mov eax, dword [ebp + 4]
cmp dword [ebp + eax*4 + 0xcc], 2
jae 0x1007434a
inc eax
mov dword [ebp + 4], eax
jmp case.default.0x1007403d
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.10077590
mov edx, dword [esp + 0x5c]
mov edi, eax
add esp, 0x14
mov ebx, 0x20
cmp edi, 1
jne 0x10073fb0
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.10077590
mov edx, dword [esp + 0x5c]
mov edi, eax
add esp, 0x14
mov ebx, 0x20
cmp edi, 1
jne 0x10073fb0
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 0x100744bc
mov ebx, dword [esi + 4]
mov eax, 0x20
sub eax, ebx
cmp eax, 0xf
jae 0x10074448
nop word [eax + eax]
mov edx, dword [esi + 0xc]
test edx, edx
je 0x1007449b
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 0x10074410
mov eax, dword [esi]
mov ecx, ebx
shr eax, cl
and eax, dword [0x10129084]
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 0x1007448d
shr dword [esp + 0x14], 8
add ebx, 8
movzx eax, al
mov dword [esi + 4], ebx
mov ecx, dword [eax*4 + 0x10129028]
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 0x100744c2
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x10]
push eax
push esi
push ecx
call fcn.100785e0
add esp, 0xc
test eax, eax
je 0x10074579
mov ecx, dword [esp + 0x10]
jmp 0x100744c6
mov ecx, dword [ebp + 0xbc]
mov dword [esp + 0x10], ecx
movzx eax, word [ecx*4 + 0x101290d8]
movzx edx, byte [ecx*4 + 0x101290da]
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 0x10074527
nop dword [eax]
mov edx, dword [esi + 0xc]
test edx, edx
je 0x10074565
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 0x100744f0
mov eax, dword [esi]
mov ecx, ebx
shr eax, cl
mov ecx, dword [edx*4 + 0x10129048]
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 0x10073fa2
mov eax, dword [esp + 0x10]
mov dword [ebp + 0xbc], eax
mov dword [ebp + 0x22c], 1
mov edx, dword [esp + 0x48]
mov edi, 2
jmp 0x10073fa2
push ebp
push dword [esp + 0x58]
push dword [esp + 0x20]
push dword [esp + 0x58]
call fcn.10074fd0
mov edx, dword [esp + 0x58]
mov edi, eax
add esp, 0x10
cmp edi, 1
jne 0x10073fb0
mov dword [ebp], 0xe
jmp case.default.0x1007403d
cmp dword [ebp + 0xb8], 0
jle 0x1007461e
mov edx, dword [esi + 4]
mov eax, ebx
sub eax, edx
cmp eax, 8
jae 0x10074605
nop dword [eax]
mov ebx, dword [esi + 0xc]
test ebx, ebx
je 0x10074579
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 0x100745d0
lea eax, [edx + 8]
mov dword [esi + 4], eax
dec dword [ebp + 0xb8]
cmp dword [ebp + 0xb8], 0
jg 0x100745c0
mov edx, dword [esp + 0x48]
mov dword [ebp], 0xe
jmp case.default.0x1007403d
mov edi, dword [esi + 4]
mov eax, ebx
sub eax, edi
cmp eax, 6
jae 0x10074675
nop word [eax + eax]
mov edx, dword [esi + 0xc]
test edx, edx
je 0x10074051
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 0x10074640
mov edx, dword [esi]
lea eax, [edi + 6]
mov ecx, edi
shr edx, cl
and edx, dword [0x10129060]
mov dword [esi + 4], eax
mov ecx, edx
and ecx, dword [0x10129050]
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 0x100746c7
mov edx, dword [esp + 0x48]
lea edi, [eax - 0x15]
jmp case.default.0x1007403d
mov dword [ebp + 4], 0
mov dword [ebp], 6
mov ebx, dword [ebp + 4]
cmp ebx, dword [ebp + 0xcc]
jge 0x1007474b
mov edi, dword [esi + 4]
mov eax, 0x20
sub eax, edi
cmp eax, 2
jae 0x10074727
nop
mov edx, dword [esi + 0xc]
test edx, edx
je 0x10074890
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 0x100746f0
mov edx, dword [esi]
lea eax, [edi + 2]
mov ecx, edi
shr edx, cl
and edx, dword [0x10129050]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x244]
mov byte [ebx + eax], dl
inc ebx
cmp ebx, dword [ebp + 0xcc]
jl 0x100746e0
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.10075410
mov edx, dword [esp + 0x58]
mov edi, eax
add esp, 0x10
mov ebx, 0x20
cmp edi, 1
jne 0x10073fb0
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 0x10074846
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 [ecx + eax]
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 0x100747d0
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x14]
test esi, esi
jne 0x10074832
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 0x100747b0
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 0x10074908
cmp edi, 0x7ffffffc
jb 0x100748a1
mov ebx, 0x8000000c
jmp 0x100748f4
mov edx, dword [esp + 0x48]
mov edi, 2
mov dword [ebp + 4], ebx
jmp 0x10073fa2
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 0x100748ca
inc eax
shr ecx, 1
jne 0x100748c5
lea ecx, [eax - 1]
shr edx, cl
lea eax, [eax*2 - 4]
and edx, 1
or edx, eax
jne 0x100748e2
lea ebx, [edi + 0x10]
jmp 0x100748f4
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.10075410
mov edx, dword [esp + 0x58]
mov edi, eax
add esp, 0x10
cmp edi, 1
jne 0x10073fa2
push dword [ebp + 0x23c]
lea eax, [ebp + 0x78]
push 0x100
push 0x100
push eax
push ebp
call fcn.100826b0
push dword [ebp + 0xd0]
lea ecx, [ebp + 0x88]
mov edi, eax
push 0x2c0
push 0x2c0
push ecx
push ebp
and edi, 1
call fcn.100826b0
push dword [ebp + 0xf8]
and edi, eax
lea eax, [ebp + 0x98]
push ebx
push dword [esp + 0x50]
push eax
push ebp
call fcn.100826b0
add esp, 0x3c
test edi, eax
je 0x10074ead
mov dword [ebp + 4], 0
mov dword [ebp], 0x18
mov eax, dword [ebp + 4]
sub eax, 0
je 0x100749cb
sub eax, 1
je 0x100749c4
sub eax, 1
jne 0x10074ec0
mov edx, 0x98
jmp 0x100749d0
mov edx, 0x88
jmp 0x100749d0
mov edx, 0x78
cmp dword [ebp + 0x270], 1
lea ecx, [ebp + 0x96c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ecx
je 0x10074a03
mov eax, dword [edx + ebp + 4]
mov dword [ebp + 0x970], eax
mov dword [ecx], 0
mov dword [ebp + 0x270], 1
jmp 0x10074a07
mov dword [esp + 0x20], ecx
movzx eax, word [edx + ebp + 0xc]
cmp dword [ecx], eax
jge 0x10074a6d
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.10077590
mov edi, eax
add esp, 0x14
cmp edi, 1
jne 0x10074de2
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 0x10074a10
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.0x1007403d
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, 0x10129140
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.10074f40
add esp, 4
test eax, eax
jne 0x10074b1b
mov edx, dword [esp + 0x48]
lea edi, [eax - 0x1b]
jmp 0x10073fa2
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 0x10074ba5
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 0x10074b84
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 0x10074c07
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 0x10074bed
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 0x10074bd6
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 0x10074bb0
mov ebp, dword [esp + 0x40]
lea esi, [ebp + 8]
mov dword [ebp], 7
push ebp
call fcn.10076720
mov edx, dword [esp + 0x4c]
mov edi, eax
add esp, 4
mov ebx, 0x20
cmp edi, 2
jne case.default.0x1007403d
push ebp
call fcn.100786a0
mov edx, dword [esp + 0x4c]
add esp, 4
mov edi, eax
jmp case.default.0x1007403d
push 0
push dword [esp + 0x58]
push dword [esp + 0x20]
push dword [esp + 0x58]
push ebp
call fcn.10079510
mov edx, dword [esp + 0x5c]
mov edi, eax
add esp, 0x14
cmp edi, 1
jne 0x10073fb0
push ebp
call fcn.100794e0
mov ecx, dword [ebp + 0x234]
mov eax, 1
shl eax, cl
add esp, 4
cmp dword [ebp + 0x40], eax
jne 0x10074c86
mov eax, dword [ebp + 0x38]
mov dword [ebp + 0x3c], eax
mov eax, dword [ebp]
cmp eax, 0xf
jne 0x10074cae
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.0x1007403d
cmp eax, 0x10
jne 0x10074cc4
mov edx, dword [esp + 0x48]
mov eax, 0xa
mov dword [ebp], eax
jmp case.default.0x1007403d
cmp dword [ebp + 4], 0
jne 0x10074cea
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.0x1007403d
mov edx, dword [esp + 0x48]
mov eax, 8
mov dword [ebp], eax
jmp case.default.0x1007403d
cmp dword [ebp + 0xb8], 0
jge 0x10074d0e
mov edi, 0xfffffff6
jmp case.default.0x1007403d
push ebp
call fcn.100827d0
add esp, 4
test byte [ebp + 0x230], 1
jne 0x10074d30
mov edx, dword [esp + 0x48]
mov dword [ebp], 3
jmp case.default.0x1007403d
mov ebx, dword [esi + 4]
mov ecx, 0
mov edx, ebx
neg edx
and edx, 7
je 0x10074d55
mov eax, dword [esi]
mov ecx, ebx
shr eax, cl
mov ecx, dword [edx*4 + 0x10129048]
and ecx, eax
add ebx, edx
mov dword [esi + 4], ebx
test ecx, ecx
je 0x10074d67
mov edx, dword [esp + 0x48]
mov edi, 0xfffffff1
jmp 0x10073fa2
cmp dword [ebp + 0x30], 0
jne 0x10074db7
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 0x10074d9a
mov dword [esi], 0
jmp 0x10074d9e
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 0x10074ded
push 1
push dword [esp + 0x58]
push dword [esp + 0x20]
push dword [esp + 0x58]
push ebp
call fcn.10079510
mov edi, eax
add esp, 0x14
cmp edi, 1
je 0x10074ded
mov edx, dword [esp + 0x48]
jmp 0x10073fa2
mov edi, eax
push edi
push ebp
call fcn.100794b0
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 0x10074ded
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 0x10074e11
push edi
push ebp
call fcn.100794b0
add esp, 8
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x2c
ret
cmp dword [ebp + 0x30], 0
je 0x10074e57
push edi
push ebp
mov dword [ebp + 0x30], 0
call fcn.100794b0
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 0x10074e84
mov dword [esi], 0
jmp 0x10074e86
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.100794b0
add esp, 8
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x2c
ret
push 0xffffffffffffffea
push ebp
call fcn.100794b0
add esp, 8
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x2c
ret
push 0xffffffffffffffe1
push ebp
call fcn.100794b0
add esp, 8
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x2c
ret