Function at 0x1000b421
Capabilities:
Encrypt data using chaskey

Disassembly:
sub esp, 0x270
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x68], 0x626641
xor edx, edx
mov dword [esp + 0x6c], 0x129981
xor esi, esi
mov ebp, 0x2e28b741
mov dword [esp + 0x70], esi
mov ecx, ebp
mov dword [esp + 0x74], esi
mov dword [esp + 0x10], 0x9755
add dword [esp + 0x10], 0xffff0ffe
xor dword [esp + 0x10], 0x28143b3a
add dword [esp + 0x10], 0xffff9fa9
xor dword [esp + 0x10], 0xd7eb3c0e
mov dword [esp + 0x18], 0x61ff
add dword [esp + 0x18], 0xfffff5a9
xor dword [esp + 0x18], 0x5781
mov dword [esp + 0x64], 0x95c8
shl dword [esp + 0x64], 7
xor dword [esp + 0x64], 0x4af40b
mov dword [esp + 0x28], 0xc6a5
add dword [esp + 0x28], 0xaa28
add dword [esp + 0x28], 0xffff351e
xor dword [esp + 0x28], 0xff25
mov dword [esp + 0x58], 0xb452
imul eax, dword [esp + 0x58], 0x64
push 7
pop edi
push 0x18
mov dword [esp + 0x5c], eax
xor dword [esp + 0x5c], 0x46227b
mov dword [esp + 0x44], 0xc6c
mov eax, dword [esp + 0x44]
div edi
xor edx, edx
mov dword [esp + 0x44], eax
add dword [esp + 0x44], 0xffff179a
xor dword [esp + 0x44], 0xffff33c6
mov dword [esp + 0x64], 0xf54b
xor dword [esp + 0x64], 0xb6fccf77
xor dword [esp + 0x64], 0xb6fc572e
mov dword [esp + 0x54], 0xea94
xor dword [esp + 0x54], 0x74db7c03
xor dword [esp + 0x54], 0x74dbf042
mov dword [esp + 0x48], 0x748e
shr dword [esp + 0x48], 0xa
or dword [esp + 0x48], 0x7bc5136c
xor dword [esp + 0x48], 0x7bc5304b
mov dword [esp + 0x20], 0xe3c8
shr dword [esp + 0x20], 0xa
shl dword [esp + 0x20], 4
mov eax, dword [esp + 0x20]
pop edi
div edi
push 0x50
mov dword [esp + 0x20], eax
xor edx, edx
xor dword [esp + 0x20], 0x698f
mov dword [esp + 0x4c], 0x502b
or dword [esp + 0x4c], 0xfd850b4b
xor dword [esp + 0x4c], 0xfd8572e2
mov dword [esp + 0x3c], 0x41d1
mov eax, dword [esp + 0x3c]
pop edi
div edi
mov dword [esp + 0x38], eax
shl dword [esp + 0x38], 6
xor dword [esp + 0x38], 0x70a2
mov dword [esp + 0x34], 0x111
shr dword [esp + 0x34], 0xb
shl dword [esp + 0x34], 0x10
xor dword [esp + 0x34], 0x20f0
mov dword [esp + 0x20], 0xeb8a
shl dword [esp + 0x20], 9
shl dword [esp + 0x20], 7
imul eax, dword [esp + 0x20], 0x63
mov dword [esp + 0x20], eax
xor dword [esp + 0x20], 0x165e3696
mov dword [esp + 0x5c], 0x5039
xor edx, edx
shl dword [esp + 0x5c], 5
mov ebx, 0x28cf3aa7
xor dword [esp + 0x5c], 0xa43df
mov dword [esp + 0x2c], 0x4562
add dword [esp + 0x2c], 0x2a80
imul eax, dword [esp + 0x2c], 0x30
push 0x26
pop edi
push 0x7c
mov dword [esp + 0x30], eax
xor dword [esp + 0x30], 0x148087
mov dword [esp + 0x14], 0x923e
mov eax, dword [esp + 0x14]
div edi
xor edx, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
pop edi
div edi
push 0x6c
mov dword [esp + 0x14], eax
xor edx, edx
xor dword [esp + 0x14], 0x19d80190
xor dword [esp + 0x14], 0x19d83119
mov dword [esp + 0x50], 0xf45b
shl dword [esp + 0x50], 0xd
xor dword [esp + 0x50], 0x1e8b638e
mov dword [esp + 0x1c], 0xdafb
or dword [esp + 0x1c], 0xdd6b0501
xor dword [esp + 0x1c], 0xdd6b820b
mov dword [esp + 0x40], 0xc4fe
imul eax, dword [esp + 0x40], 0x2e
pop edi
mov dword [esp + 0x3c], eax
shl dword [esp + 0x3c], 3
xor dword [esp + 0x3c], 0x11b5ac6
mov dword [esp + 0x54], 0xca0a
add dword [esp + 0x54], 0xe013
xor dword [esp + 0x54], 0x19dbb
mov dword [esp + 0x24], 0x6c6f
shr dword [esp + 0x24], 0x10
shl dword [esp + 0x24], 8
xor dword [esp + 0x24], 0x7655
mov dword [esp + 0x30], 0xed8d
add dword [esp + 0x30], 0x2fd9
mov eax, dword [esp + 0x30]
div edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x30], eax
xor dword [esp + 0x30], 0xf029b
cmp ecx, ebp
jg 0x1000b822
je 0x1000b7f0
cmp ecx, 0x1f0026e
je 0x1000b7d4
cmp ecx, 0x1b0f9495
je 0x1000b796
cmp ecx, 0x21dfc09c
je 0x1000b776
cmp ecx, ebx
jne 0x1000b8cd
push ecx
push dword [esp + 0x60]
push dword [esp + 0x28]
push dword [esp + 0x40]
push dword [esp + 0x48]
push dword [esp + 0x5c]
mov eax, dword [0x10021088]
add eax, 0x254
push eax
push dword [esp + 0x30]
call fcn.1000531a
add esp, 0x20
mov ecx, 0x36e34156
test eax, eax
push 1
pop eax
cmove esi, eax
jmp 0x1000b709
push edi
push dword [esp + 0x20]
push dword [esp + 0x4c]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x6c]
call fcn.100066b8
add esp, 0xc
mov ecx, ebx
jmp 0x1000b709
push dword [esp + 0x30]
mov edx, dword [esp + 0x44]
push ecx
push ecx
mov ecx, dword [esp + 0x64]
call fcn.1001400e
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1000b7ca
mov eax, dword [0x10021088]
xor ecx, ecx
inc ecx
mov dword [eax + 0x244], ecx
mov ecx, 0x1f0026e
jmp 0x1000b709
mov ecx, 0x3b91f90e
jmp 0x1000b709
mov dword [esp + 0x14], 0xbbec
mov ecx, 0x21dfc09c
shr dword [esp + 0x14], 0x10
xor dword [esp + 0x14], 0x29
jmp 0x1000b709
mov eax, dword [esp + 0x28]
mov edx, 0x45c
mov eax, dword [esp + 0x64]
push ecx
call fcn.100060fb
mov dword [0x10021088], eax
pop ecx
test eax, eax
je 0x1000b8d9
mov dword [eax + 0x10], 0x10012c05
mov ecx, 0x1b0f9495
jmp 0x1000b709
cmp ecx, 0x36cafd3f
je 0x1000b888
cmp ecx, 0x36e34156
je 0x1000b879
cmp ecx, 0x3b91f90e
jne 0x1000b8cd
mov dword [esp + 0x14], 0xad6
imul eax, dword [esp + 0x14], 0x11
mov dword [esp + 0x14], eax
imul eax, dword [esp + 0x14], 0x50
mov dword [esp + 0x14], eax
or dword [esp + 0x14], 0xe445f63
xor dword [esp + 0x14], 0xe7ddfff
mov eax, dword [0x10021088]
mov dword [eax + 0x14], 0x10015153
jmp 0x1000b78f
call fcn.10012b88
mov ecx, 0x36cafd3f
jmp 0x1000b709
push ecx
push dword [esp + 0x50]
lea edx, [esp + 0x80]
push dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
call fcn.1000ebd8
push dword [esp + 0x30]
lea ecx, [esp + 0x88]
push dword [esp + 0x64]
push dword [esp + 0x50]
mov edx, dword [esp + 0x30]
call fcn.1000225c
mov ecx, dword [0x10021088]
add esp, 0x18
mov dword [ecx], eax
mov ecx, 0x2142cdf5
cmp ecx, 0x2142cdf5
jne 0x1000b709
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x270
ret