Function at 0x17048d
Capabilities:
Encrypt data using chaskey

Disassembly:
sub esp, 0x428
and dword [esp + 0x14], 0
mov eax, 0x162e7
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x20], 0x361d7
mov edi, 0xb8f44
mov ebx, 0xc0ad8
mov ebp, 0xfe0bc
cmp eax, 0x162e7
je 0x17081b
cmp eax, 0x45dae
je 0x17083f
cmp eax, 0x7b684
je 0x17075b
cmp eax, edi
je 0x170580
cmp eax, ebx
je 0x170547
cmp eax, ebp
jne 0x17082f
mov dword [esp + 0x10], 0xf2eeb2
imul eax, dword [esp + 0x10], 0x6e
mov dword [esp + 0x10], eax
xor dword [esp + 0x10], 0x9eba9f12
xor dword [esp + 0x10], 0xf6df0c95
mov dword [esp + 0x1c], 0xc171ad
shr dword [esp + 0x1c], 0xc
add dword [esp + 0x1c], 0xd124
add dword [esp + 0x1c], 0xffffad69
xor dword [esp + 0x1c], 0xe512d
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
call fcn.00171152
mov eax, edi
jmp 0x1704b8
mov dword [esp + 0x10], 0x9a8af8
xor edx, edx
mov eax, dword [esp + 0x10]
push 0x14
pop ecx
div ecx
push 0x5f
mov dword [esp + 0x14], eax
xor edx, edx
mov eax, dword [esp + 0x14]
pop ecx
div ecx
mov dword [esp + 0x10], eax
xor dword [esp + 0x10], 0x2859d
mov eax, dword [esp + 0x10]
call fcn.0016273f
jmp 0x170540
mov dword [esp + 0x10], 0x9b4e76
shr dword [esp + 0x10], 0xd
shl dword [esp + 0x10], 0x10
or dword [esp + 0x10], 0xcfe76148
xor dword [esp + 0x10], 0xcff77f24
mov dword [esp + 0x14], 0x3ea3f9
or dword [esp + 0x14], 0xa64c0bd6
add dword [esp + 0x14], 0xf61
or dword [esp + 0x14], 0x647ecb4c
xor dword [esp + 0x14], 0xe675193f
mov dword [esp + 0x1c], 0x95a2c2
add dword [esp + 0x1c], 0x8017
shr dword [esp + 0x1c], 7
shl dword [esp + 0x1c], 5
xor dword [esp + 0x1c], 0x2f9c5e
mov dword [esp + 0x18], 0x799fe6
add dword [esp + 0x18], 0xffffe70c
xor dword [esp + 0x18], 0x7c3742
push dword [esp + 0x18]
push dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push section..text
call fcn.0016e533
mov dword [esp + 0x1c], 0x8966ef
add esp, 0xc
xor dword [esp + 0x10], 0x3a244332
mov esi, eax
mov eax, dword [esp + 0x10]
xor edx, edx
push 0x1c
pop ecx
div ecx
push 0x60
mov dword [esp + 0x14], eax
xor edx, edx
add dword [esp + 0x14], 0xffffa005
xor dword [esp + 0x14], 0x215bb44
mov dword [esp + 0x20], 0x2e6403
shr dword [esp + 0x20], 6
shr dword [esp + 0x20], 5
xor dword [esp + 0x20], 0x207c2
mov dword [esp + 0x18], 0x418dd9
mov eax, dword [esp + 0x18]
pop ecx
div ecx
push esi
mov dword [esp + 0x18], eax
lea eax, [esp + 0x2c]
or dword [esp + 0x18], 0x1390a352
xor dword [esp + 0x18], 0x13908241
mov dword [esp + 0x1c], 0xb0127a
or dword [esp + 0x1c], 0x9b989f80
xor dword [esp + 0x1c], 0x9bba0359
push dword [esp + 0x1c]
push eax
mov eax, dword [0x182208]
add eax, 0x22c
push eax
push dword [esp + 0x24]
push dword [esp + 0x30]
mov edx, dword [0x182208]
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [edx + 0x1c]
call fcn.00171a90
mov dword [esp + 0x30], 0x636535
xor edx, edx
shl dword [esp + 0x30], 0xa
add dword [esp + 0x30], 0xffff50cc
xor dword [esp + 0x30], 0x8d978cdb
mov dword [esp + 0x34], 0xd2aa1c
xor dword [esp + 0x34], 0x1aca8677
xor dword [esp + 0x34], 0x1a1ce63d
mov dword [esp + 0x2c], 0x251ec6
add dword [esp + 0x2c], 0x897c
mov eax, dword [esp + 0x2c]
push 0x67
pop ecx
div ecx
mov dword [esp + 0x2c], eax
shl dword [esp + 0x2c], 0xf
xor dword [esp + 0x2c], 0x2ecec621
push esi
push dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
call fcn.00164fd3
add esp, 0x24
mov eax, 0x7b684
jmp 0x1704b8
mov dword [esp + 0x18], 0x81ab09
lea ecx, [esp + 0x230]
add dword [esp + 0x18], 0xffff847f
xor dword [esp + 0x18], 0x831cc3
mov dword [esp + 0x10], 0x3729c6
or dword [esp + 0x10], 0x681b67d0
imul eax, dword [esp + 0x10], 5
mov dword [esp + 0x10], eax
xor dword [esp + 0x10], 0x93dcf41
push dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
call fcn.00178d5d
mov dword [esp + 0x14], 0x845461
xor edx, edx
shl dword [esp + 0x14], 8
add dword [esp + 0x14], 0xffff2cff
mov eax, dword [esp + 0x14]
push 0x11
pop ecx
div ecx
lea edx, [esp + 0x234]
mov dword [esp + 0x14], eax
xor dword [esp + 0x14], 0x7cdb4e5
mov dword [esp + 0x18], 0x76ebb8
imul eax, dword [esp + 0x18], 0x69
mov dword [esp + 0x18], eax
lea eax, [esp + 0x2c]
add dword [esp + 0x18], 0xa8b0
xor dword [esp + 0x18], 0x30c8ebf1
push dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
push eax
call fcn.00164b40
add esp, 0xc
mov eax, 0x45dae
jmp 0x1704b8
mov eax, dword [0x182208]
cmp dword [eax + 0x18], 0
je 0x17082d
mov eax, ebp
jmp 0x1704b8
mov eax, ebx
cmp eax, 0xbf3d8
jne 0x1704b8
jmp 0x170951
mov dword [esp + 0x10], 0x3598c8
lea ecx, [esp + 0x28]
xor dword [esp + 0x10], 0x7b3840c4
add dword [esp + 0x10], 0xffff14d5
shl dword [esp + 0x10], 2
xor dword [esp + 0x10], 0xec395bde
mov dword [esp + 0x14], 0xb118ad
shl dword [esp + 0x14], 4
xor dword [esp + 0x14], 0xb1fc8cf
mov dword [esp + 0x18], 0x5ddfa4
or dword [esp + 0x18], 0x7152fa98
xor dword [esp + 0x18], 0x7157a399
push dword [esp + 0x18]
push dword [esp + 0x18]
mov edx, dword [esp + 0x18]
call fcn.00178807
xor ecx, ecx
lea edx, [esp + 0x30]
mov word [eax], cx
mov dword [esp + 0x20], 0xb2a00f
add dword [esp + 0x20], 0x2380
xor dword [esp + 0x20], 0x58983c27
xor dword [esp + 0x20], 0x5827f9c6
mov dword [esp + 0x24], 0xc1be73
shl dword [esp + 0x24], 0xd
imul eax, dword [esp + 0x24], 0x7d
mov dword [esp + 0x24], eax
xor dword [esp + 0x24], 0x3fced5db
mov dword [esp + 0x1c], 0x3afc61
add dword [esp + 0x1c], 0x84d7
imul eax, dword [esp + 0x1c], 0x63
mov dword [esp + 0x1c], eax
shl dword [esp + 0x1c], 4
xor dword [esp + 0x1c], 0x702732c4
mov dword [esp + 0x18], 0x9d2a80
shl dword [esp + 0x18], 7
imul eax, dword [esp + 0x18], 0x60
mov dword [esp + 0x18], eax
add dword [esp + 0x18], 0xffff9747
xor dword [esp + 0x18], 0x77fb665c
push dword [esp + 0x18]
push dword [esp + 0x20]
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
call fcn.00175d53
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x428
ret