Function at 0x10005444
Capabilities:
Encrypt data using chaskey
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x484
mov dword [esp + 0x6c], 0xd4c9
xor edx, edx
imul eax, dword [esp + 0x6c], 0x4c
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x7c], eax
mov esi, 0x16977827
xor dword [esp + 0x7c], 0x3f2fc5
mov dword [esp + 0x14], 0x1223
add dword [esp + 0x14], 0xffffe86f
shl dword [esp + 0x14], 0xe
add dword [esp + 0x14], 0xffffc4b4
xor dword [esp + 0x14], 0xfea449db
mov dword [esp + 0x20], 0xd009
shl dword [esp + 0x20], 0xf
or dword [esp + 0x20], 0x34d7ffad
imul eax, dword [esp + 0x20], 0x78
push 0x67
pop ecx
push 0x75
mov dword [esp + 0x24], eax
xor dword [esp + 0x24], 0x853faa5e
mov dword [esp + 0x44], 0xfb19
mov eax, dword [esp + 0x44]
div ecx
xor edx, edx
mov dword [esp + 0x44], eax
or dword [esp + 0x44], 0xfc9c85cc
add dword [esp + 0x44], 0xffff75b2
xor dword [esp + 0x44], 0xfc9bca28
mov dword [esp + 0x50], 0x8988
shr dword [esp + 0x50], 0xf
shr dword [esp + 0x50], 2
xor dword [esp + 0x50], 0xb058b54e
xor dword [esp + 0x50], 0xb058a14a
mov dword [esp + 0x54], 0x4bf5
xor dword [esp + 0x54], 0x3fcc7587
add dword [esp + 0x54], 0xffff7c60
xor dword [esp + 0x54], 0x3fcbd886
mov dword [esp + 0x34], 0x90b1
or dword [esp + 0x34], 0x315067d
shl dword [esp + 0x34], 0xf
shr dword [esp + 0x34], 0xd
xor dword [esp + 0x34], 0x61076
mov dword [esp + 0x4c], 0x6642
add dword [esp + 0x4c], 0x2c45
add dword [esp + 0x4c], 0xffffed6b
add dword [esp + 0x4c], 0xc076
xor dword [esp + 0x4c], 0x143f3
mov dword [esp + 0x2c], 0xeff1
mov eax, dword [esp + 0x2c]
pop ecx
div ecx
push 0x1b
mov dword [esp + 0x2c], eax
xor edx, edx
shr dword [esp + 0x2c], 4
imul eax, dword [esp + 0x2c], 0x22
pop ecx
push 0x44
mov dword [esp + 0x2c], eax
xor dword [esp + 0x2c], 0x7806
mov dword [esp + 0x70], 0x9d13
add dword [esp + 0x70], 0xffff9636
xor dword [esp + 0x70], 0x6af4
mov dword [esp + 0x3c], 0xe2d7
mov eax, dword [esp + 0x3c]
div ecx
xor edx, edx
mov dword [esp + 0x3c], eax
shr dword [esp + 0x3c], 0xf
shl dword [esp + 0x3c], 2
xor dword [esp + 0x3c], 0x7ff5
mov dword [esp + 0x60], 0xca15
shl dword [esp + 0x60], 8
mov eax, dword [esp + 0x60]
pop ecx
div ecx
mov dword [esp + 0x5c], eax
xor dword [esp + 0x5c], 0x2d41f
xor edx, edx
mov dword [esp + 0x18], 0x482
or dword [esp + 0x18], 0x6f5ddb7d
shr dword [esp + 0x18], 7
xor dword [esp + 0x18], 0xde8355
mov dword [esp + 0x64], 0xb874
mov eax, dword [esp + 0x64]
push 0x5f
pop ecx
div ecx
push 0x7c
mov dword [esp + 0x68], eax
xor edx, edx
xor dword [esp + 0x68], 0x4463
mov dword [esp + 0x78], 0xaefc
or dword [esp + 0x78], 0xd38cb8c2
xor dword [esp + 0x78], 0xd38ca246
mov dword [esp + 0x20], 0x8c63
mov eax, dword [esp + 0x20]
pop ecx
div ecx
mov dword [esp + 0x1c], eax
shr dword [esp + 0x1c], 9
shl dword [esp + 0x1c], 7
xor dword [esp + 0x1c], 0x1598
mov dword [esp + 0x58], 0x1bb3
or dword [esp + 0x58], 0xfc2ca821
imul eax, dword [esp + 0x58], 0x7a
mov dword [esp + 0x58], eax
xor dword [esp + 0x58], 0x2d512892
mov dword [esp + 0x54], 0x616c
add dword [esp + 0x54], 0xffff5892
xor dword [esp + 0x54], 0x224cc7f0
xor dword [esp + 0x54], 0xddb37e9b
mov dword [esp + 0x24], 0x8caf
shr dword [esp + 0x24], 0xb
shr dword [esp + 0x24], 1
imul eax, dword [esp + 0x24], 0x1f
mov dword [esp + 0x24], eax
xor dword [esp + 0x24], 0xe7d
mov dword [esp + 0x60], 0xc9f6
shl dword [esp + 0x60], 9
shr dword [esp + 0x60], 0xc
xor dword [esp + 0x60], 0x608f
mov dword [esp + 0x68], 0x998d
xor dword [esp + 0x68], 0xf04ba484
xor dword [esp + 0x68], 0xf04b529f
mov dword [esp + 0x2c], 0x17ad
xor dword [esp + 0x2c], 0xb750fecf
xor dword [esp + 0x2c], 0x37dc0b1b
imul eax, dword [esp + 0x2c], 0x74
mov dword [esp + 0x2c], eax
xor dword [esp + 0x2c], 0x3fd6ce0a
mov dword [esp + 0x80], 0x27ee
shl dword [esp + 0x80], 0xf
xor dword [esp + 0x80], 0x13f7204f
mov dword [esp + 0x3c], 0xf1d1
shl dword [esp + 0x3c], 0x10
shr dword [esp + 0x3c], 0xc
add dword [esp + 0x3c], 0xffff75c7
xor dword [esp + 0x3c], 0xef6df
mov dword [esp + 0x70], 0x618f
add dword [esp + 0x70], 0xffff6fb8
xor dword [esp + 0x70], 0xffffc83e
mov dword [esp + 0x34], 0x72ef
shr dword [esp + 0x34], 0xe
add dword [esp + 0x34], 0xffff6b18
shl dword [esp + 0x34], 2
xor dword [esp + 0x34], 0xfffdf85c
mov dword [esp + 0x78], 0xbded
or dword [esp + 0x78], 0xda406fe1
xor dword [esp + 0x78], 0xda40c173
mov dword [esp + 0x10], 0xd36a
shl dword [esp + 0x10], 0xd
shl dword [esp + 0x10], 0xa
shl dword [esp + 0x10], 5
xor dword [esp + 0x10], 0xa000634b
mov dword [esp + 0x44], 0x4b7d
add dword [esp + 0x44], 0xffff7f0e
shl dword [esp + 0x44], 6
xor dword [esp + 0x44], 0x67f3b216
xor dword [esp + 0x44], 0x98012c8f
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x7c]
call fcn.10012599
mov ebp, 0x1a33a432
mov ebx, 0x25c7bc2a
mov edi, 0x33badc0c
cmp esi, 0x16977827
je 0x1000594f
cmp esi, ebp
je 0x1000595f
cmp esi, ebx
je 0x100058c5
cmp esi, edi
jne 0x10005951
push 0x100012d8
push dword [esp + 0x54]
push dword [esp + 0x54]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x2c]
call fcn.100069fc
mov edx, dword [0x10021088]
mov esi, eax
lea eax, [esp + 0x298]
lea ecx, [edx + 0x38]
push ecx
push eax
lea ecx, [edx + 0x254]
push ecx
push esi
push dword [esp + 0x54]
push dword [esp + 0x8c]
push dword [esp + 0x4c]
push dword [esp + 0x70]
mov ecx, dword [esp + 0x5c]
call fcn.1000b0d7
push esi
push dword [esp + 0x94]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x90]
call fcn.1001196d
add esp, 0x34
mov esi, ebx
jmp 0x10005831
push 0x10001348
push dword [esp + 0x58]
push dword [esp + 0x60]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x80]
call fcn.100069fc
mov ecx, dword [esp + 0x30]
mov esi, eax
call fcn.1000ad56
mov ecx, dword [0x10021088]
mov edx, 0x104
add ecx, 0x254
push ecx
push eax
lea eax, [esp + 0x98]
push eax
push dword [esp + 0x98]
push dword [esp + 0x48]
mov eax, dword [0x10021088]
add eax, 0x38
push eax
push esi
push dword [esp + 0x90]
mov ecx, dword [esp + 0x8c]
call fcn.1001c6ec
push esi
push dword [esp + 0x64]
mov edx, dword [esp + 0xa4]
mov ecx, dword [esp + 0x70]
call fcn.1001196d
add esp, 0x34
mov esi, ebp
jmp 0x10005831
mov esi, edi
cmp esi, 0x27e22baf
jne 0x10005831
jmp 0x10005985
lea eax, [esp + 0x84]
push eax
push dword [esp + 0x48]
lea ecx, [esp + 0x294]
push dword [esp + 0x18]
mov edx, dword [esp + 0x84]
call fcn.1001d7e7
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x484
ret