Function at 0xf5b432
Capabilities:
Encrypt data using chaskey

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push dword [ebp + 0x1c]
mov esi, ecx
push dword [ebp + 0x18]
mov dword [ebp - 0x7c], esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
push edx
push esi
call fcn.00f44535
mov dword [ebp - 0x34], 0x8ea4b8
add esp, 0x20
add dword [ebp - 0x34], 0xffff5ba6
xor edx, edx
add dword [ebp - 0x34], 0x41e1
mov ecx, 0x4d14145
xor dword [ebp - 0x34], 0xa30de206
xor dword [ebp - 0x34], 0xa383a029
mov dword [ebp - 0x44], 0x3ccdd0
shl dword [ebp - 0x44], 5
add dword [ebp - 0x44], 0xffff30ba
xor dword [ebp - 0x44], 0x79f1fc0
mov dword [ebp - 0x4c], 0x5c4697
imul eax, dword [ebp - 0x4c], 0x1e
push 0x21
pop edi
push 0x28
mov dword [ebp - 0x4c], eax
add dword [ebp - 0x4c], 0x42cf
xor dword [ebp - 0x4c], 0xadae10d
mov dword [ebp - 0xc], 0x734f8b
shr dword [ebp - 0xc], 0x10
or dword [ebp - 0xc], 0x811f4c67
shr dword [ebp - 0xc], 2
xor dword [ebp - 0xc], 0x204130a7
mov dword [ebp - 0x54], 0xd378cc
mov eax, dword [ebp - 0x54]
div edi
xor edx, edx
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
pop edi
div edi
push 0x11
mov dword [ebp - 0x54], eax
xor edx, edx
xor dword [ebp - 0x54], 0x3d18d
mov dword [ebp - 0x78], 0xdb384c
add dword [ebp - 0x78], 0x1144
xor dword [ebp - 0x78], 0xd4ef8d
mov dword [ebp - 0x14], 0xe07154
add dword [ebp - 0x14], 0xffff9180
xor dword [ebp - 0x14], 0x3f8f20a6
shr dword [ebp - 0x14], 8
xor dword [ebp - 0x14], 0x35adb9
mov dword [ebp - 0x3c], 0x2a149
mov eax, dword [ebp - 0x3c]
pop edi
div edi
mov dword [ebp - 0x3c], eax
shr dword [ebp - 0x3c], 4
xor dword [ebp - 0x3c], 0x1b779
mov dword [ebp - 0x24], 0x947e56
xor dword [ebp - 0x24], 0x4f59f9f
xor dword [ebp - 0x24], 0xec373eba
add dword [ebp - 0x24], 0x855c
xor dword [ebp - 0x24], 0xe854e84e
mov dword [ebp - 0x64], 0xd646ed
shl dword [ebp - 0x64], 8
xor dword [ebp - 0x64], 0xd64ce97a
mov dword [ebp - 0x2c], 0x927deb
add dword [ebp - 0x2c], 0xffff433d
add dword [ebp - 0x2c], 0xa1ba
imul eax, dword [ebp - 0x2c], 0x7c
mov dword [ebp - 0x2c], eax
xor dword [ebp - 0x2c], 0x46ed56c4
mov dword [ebp - 0x74], 0x1b9f25
xor edx, edx
add dword [ebp - 0x74], 0x76f0
xor dword [ebp - 0x74], 0x18950f
mov dword [ebp - 0x1c], 0xaaf8c4
xor dword [ebp - 0x1c], 0x910aa525
mov eax, dword [ebp - 0x1c]
push 0xa
pop edi
div edi
push 0x43
mov dword [ebp - 0x1c], eax
xor edx, edx
mov eax, dword [ebp - 0x1c]
pop edi
div edi
push 0x7c
mov dword [ebp - 0x1c], eax
xor edx, edx
xor dword [ebp - 0x1c], 0x3dbad3
mov dword [ebp - 0x48], 0xbca3c8
mov eax, dword [ebp - 0x48]
pop edi
div edi
push 0x42
mov dword [ebp - 0x48], eax
xor edx, edx
shr dword [ebp - 0x48], 0xf
xor dword [ebp - 0x48], 0xa6f9a
mov dword [ebp - 0x40], 0xb48b30
add dword [ebp - 0x40], 0x22cd
add dword [ebp - 0x40], 0xe0d9
xor dword [ebp - 0x40], 0xbc2fc7
mov dword [ebp - 0x6c], 0x7bcddf
mov eax, dword [ebp - 0x6c]
pop edi
div edi
push 0x79
mov dword [ebp - 0x6c], eax
xor edx, edx
xor dword [ebp - 0x6c], 0x8afdd
mov dword [ebp - 0x5c], 0x3c31e3
mov eax, dword [ebp - 0x5c]
pop edi
div edi
push 0x1f
mov dword [ebp - 0x5c], eax
xor edx, edx
shl dword [ebp - 0x5c], 7
xor dword [ebp - 0x5c], 0x3fa35f
mov dword [ebp - 4], 0xe1637e
imul eax, dword [ebp - 4], 0x1a
pop edi
push 0xf
mov dword [ebp - 4], eax
xor dword [ebp - 4], 0xaf1be8b5
or dword [ebp - 4], 0xdd6c2a01
xor dword [ebp - 4], 0xfdfe5347
mov dword [ebp - 0x68], 0xdd0398
mov eax, dword [ebp - 0x68]
div edi
xor edx, edx
mov dword [ebp - 0x68], eax
xor dword [ebp - 0x68], 0xf9787
mov dword [ebp - 0x50], 0xe66540
xor dword [ebp - 0x50], 0x2fe15430
or dword [ebp - 0x50], 0xcb8f429e
xor dword [ebp - 0x50], 0xef8dc0c8
mov dword [ebp - 0x70], 0xb80b2e
shr dword [ebp - 0x70], 0xf
xor dword [ebp - 0x70], 0x7cbbd
mov dword [ebp - 8], 0x7b9d23
add dword [ebp - 8], 0xffff0dbb
add dword [ebp - 8], 0x26a6
or dword [ebp - 8], 0x18e53266
xor dword [ebp - 8], 0x18f5a065
mov dword [ebp - 0x20], 0xc463af
add dword [ebp - 0x20], 0x34fb
mov eax, dword [ebp - 0x20]
pop edi
div edi
mov dword [ebp - 0x20], eax
xor edx, edx
shl dword [ebp - 0x20], 6
xor dword [ebp - 0x20], 0x34d0efb
mov dword [ebp - 0x18], 0x4c2ddb
shr dword [ebp - 0x18], 8
shl dword [ebp - 0x18], 0xd
or dword [ebp - 0x18], 0x13f6a1d5
xor dword [ebp - 0x18], 0x1bf6000d
mov dword [ebp - 0x10], 0x563ecb
shr dword [ebp - 0x10], 0x10
add dword [ebp - 0x10], 0x4b5d
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
xor dword [ebp - 0x10], 0x88db1
mov dword [ebp - 0x30], 0xcc082e
xor dword [ebp - 0x30], 0x74992581
add dword [ebp - 0x30], 0xffff1c98
xor dword [ebp - 0x30], 0x7d7d03ec
xor dword [ebp - 0x30], 0x92c1a3e
mov dword [ebp - 0x28], 0xf0d907
xor dword [ebp - 0x28], 0xf82cc88
xor dword [ebp - 0x28], 0x9e7456
mov eax, dword [ebp - 0x28]
push 0x3d
pop edi
div edi
push 0x48
mov dword [ebp - 0x28], eax
xor edx, edx
xor dword [ebp - 0x28], 0x42cec4
mov dword [ebp - 0x60], 0x88418
mov eax, dword [ebp - 0x60]
pop edi
div edi
mov edi, dword [ebp - 0x7c]
mov dword [ebp - 0x60], eax
imul eax, dword [ebp - 0x60], 0x51
mov dword [ebp - 0x60], eax
xor dword [ebp - 0x60], 0xc463d
mov dword [ebp - 0x38], 0x45d00e
add dword [ebp - 0x38], 0xffff2f9d
add dword [ebp - 0x38], 0x9025
xor dword [ebp - 0x38], 0x5b30a52e
xor dword [ebp - 0x38], 0x5b7da8f8
mov dword [ebp - 0x58], 0x7d3948
or dword [ebp - 0x58], 0x98b3f3b7
imul eax, dword [ebp - 0x58], 0x5c
mov dword [ebp - 0x58], eax
xor dword [ebp - 0x58], 0xfbf20107
push 0x2e
pop edx
cmp ecx, 0x4d14145
je 0xf5b9cb
cmp ecx, 0x783eb72
je 0xf5b9a8
cmp ecx, 0x872ef5c
je 0xf5b9e4
cmp ecx, 0xc522651
je 0xf5b8c7
cmp ecx, 0xe9b8721
je 0xf5b87a
cmp ecx, 0xf4811df
jne 0xf5b9d6
push dword [ebp - 0x2c]
lea edx, [ebp - 0x500]
push dword [ebp - 0x64]
lea ecx, [ebp - 0x2f8]
call fcn.00f5c048
mov edi, eax
pop ecx
pop ecx
cmp edi, 0xffffffff
je 0xf5b9f6
mov ecx, 0xc522651
jmp 0xf5b808
push dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x44]
mov edx, 0xf4194c
call fcn.00f4f672
pop ecx
push dword [ebp - 0x78]
mov esi, eax
mov edx, ebx
push dword [ebp - 0x54]
push ecx
push esi
push dword [ebp - 0xc]
lea ecx, [ebp - 0x500]
call fcn.00f56b72
add esp, 0x14
mov ecx, esi
push dword [ebp - 0x24]
push dword [ebp - 0x3c]
mov edx, dword [ebp - 0x14]
call fcn.00f4cea2
mov esi, dword [ebp - 0x7c]
pop ecx
pop ecx
mov ecx, 0xf4811df
jmp 0xf5b808
mov eax, dword [ebp - 0x34]
test dword [ebp - 0x2f8], eax
je 0xf5b981
cmp word [ebp - 0x2cc], dx
jne 0xf5b906
cmp word [ebp - 0x2ca], 0
je 0xf5b8fc
cmp word [ebp - 0x2ca], dx
jne 0xf5b906
cmp word [ebp - 0x2c8], 0
jne 0xf5b906
mov ecx, 0x783eb72
jmp 0xf5b80b
cmp dword [ebp + 0xc], 0
je 0xf5b8fc
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x74]
mov edx, 0xf4196c
call fcn.00f4f672
push dword [ebp - 4]
mov esi, eax
lea eax, [ebp - 0x708]
push eax
push ebx
push dword [ebp - 0x5c]
lea eax, [ebp - 0x2cc]
push dword [ebp - 0x6c]
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x48]
push esi
push eax
call fcn.00f57b4d
push dword [ebp - 8]
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x708]
push dword [ebp - 0x70]
push dword [ebp - 0x50]
mov edx, dword [ebp - 0x68]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.00f5b432
push dword [ebp - 0x10]
mov ecx, esi
push dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
call fcn.00f4cea2
mov esi, dword [ebp - 0x7c]
add esp, 0x40
push 0x2e
pop edx
jmp 0xf5b8fc
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x2f8]
push eax
call esi
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, 0xff10fc16
add ecx, 0x872ef5c
jmp 0xf5b808
push dword [ebp - 0x28]
mov edx, edi
lea ecx, [ebp - 0x2f8]
push dword [ebp - 0x30]
call fcn.00f5d001
pop ecx
pop ecx
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, 0x3df36f5
jmp 0xf5b99d
mov dword [ebp - 0x8c], ebx
mov ecx, 0xe9b8721
cmp ecx, 0xee26471
jne 0xf5b80b
jmp 0xf5b9f6
push dword [ebp - 0x58]
mov ecx, edi
push dword [ebp - 0x38]
mov edx, dword [ebp - 0x60]
call fcn.00f47bb7
pop ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret