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

Disassembly:
sub esp, 0x7c
and dword [esp + 0x78], 0
xor edx, edx
mov dword [esp + 0x70], 0xc036b9
mov ecx, 0x46daa4c
mov dword [esp + 0x74], 0xb08688
mov dword [esp + 0x44], 0x9f3b59
add dword [esp + 0x44], 0xffffa84f
imul eax, dword [esp + 0x44], 0x50
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x54], eax
xor dword [esp + 0x54], 0x31a7bf40
mov dword [esp + 0x28], 0x1a6f7b
or dword [esp + 0x28], 0x912f8ab7
add dword [esp + 0x28], 0xffff28a3
add dword [esp + 0x28], 0x4c72
xor dword [esp + 0x28], 0x9135efdb
mov dword [esp + 0x50], 0xcb4199
add dword [esp + 0x50], 0xffff2843
or dword [esp + 0x50], 0x478574b7
xor dword [esp + 0x50], 0x47c22018
mov dword [esp + 0x68], 0x89cd0f
imul eax, dword [esp + 0x68], 0x45
push 0x72
pop esi
mov dword [esp + 0x68], eax
xor dword [esp + 0x68], 0x25249cc1
mov dword [esp + 0x58], 0xbb9162
add dword [esp + 0x58], 0xffff66d1
xor dword [esp + 0x58], 0xb281b6
mov dword [esp + 0x38], 0xc309eb
shl dword [esp + 0x38], 5
shl dword [esp + 0x38], 8
xor dword [esp + 0x38], 0x61322296
mov dword [esp + 0x18], 0xfbd2b9
add dword [esp + 0x18], 0xffff24ae
add dword [esp + 0x18], 0xb364
add dword [esp + 0x18], 0xffff6880
xor dword [esp + 0x18], 0xf287c6
mov dword [esp + 0x14], 0xfa0149
or dword [esp + 0x14], 0x7bf3bfae
add dword [esp + 0x14], 0xcb0c
xor dword [esp + 0x14], 0x7bfc0386
mov dword [esp + 0x44], 0xc3e9b
mov eax, dword [esp + 0x44]
div esi
xor edx, edx
mov dword [esp + 0x44], eax
shl dword [esp + 0x44], 0xa
xor dword [esp + 0x44], 0x6cacbf
mov dword [esp + 0x40], 0x13e4da
shr dword [esp + 0x40], 2
add dword [esp + 0x40], 0xffff1b37
xor dword [esp + 0x40], 0x9c362
mov dword [esp + 0x60], 0x29fc41
mov eax, dword [esp + 0x60]
div esi
mov dword [esp + 0x60], eax
xor dword [esp + 0x60], 0x2086b
mov dword [esp + 0x5c], 0x7a036
imul eax, dword [esp + 0x5c], 0xc
mov dword [esp + 0x5c], eax
xor dword [esp + 0x5c], 0x50267b
mov dword [esp + 0x3c], 0x9e5c54
add dword [esp + 0x3c], 0x1231
add dword [esp + 0x3c], 0x5d81
xor dword [esp + 0x3c], 0x9c24b0
mov dword [esp + 0x20], 0x5aa10
or dword [esp + 0x20], 0x92d905f5
xor dword [esp + 0x20], 0x515114dd
or dword [esp + 0x20], 0xc50af122
xor dword [esp + 0x20], 0xc784c88c
mov dword [esp + 0x1c], 0xaaa937
xor dword [esp + 0x1c], 0x5cd08118
shr dword [esp + 0x1c], 7
or dword [esp + 0x1c], 0xcbc2bf7f
xor dword [esp + 0x1c], 0xcbfc53b4
mov dword [esp + 0x24], 0xd32fdc
add dword [esp + 0x24], 0xffffbd56
add dword [esp + 0x24], 0xffffad25
xor edx, edx
shr dword [esp + 0x24], 0x10
xor dword [esp + 0x24], 0xabe11
mov dword [esp + 0x4c], 0x2bff19
xor dword [esp + 0x4c], 0x61705eef
or dword [esp + 0x4c], 0xa0547479
xor dword [esp + 0x4c], 0xe1507f2c
mov dword [esp + 0x48], 0x29648f
imul eax, dword [esp + 0x48], 0x5f
push 0x15
pop esi
push 0xd
mov edi, dword [esp + 0x80]
mov dword [esp + 0x4c], eax
shl dword [esp + 0x4c], 0xb
xor dword [esp + 0x4c], 0xe280b12d
mov dword [esp + 0x68], 0x89a95a
mov eax, dword [esp + 0x68]
div esi
xor edx, edx
mov ebp, dword [esp + 0x80]
mov dword [esp + 0x68], eax
xor dword [esp + 0x68], 0x66692
mov dword [esp + 0x38], 0x1b6dae
xor dword [esp + 0x38], 0x6236228a
add dword [esp + 0x38], 0x132
or dword [esp + 0x38], 0x5a877b21
xor dword [esp + 0x38], 0x7aa04c3c
mov dword [esp + 0x34], 0xf663a2
mov eax, dword [esp + 0x34]
pop esi
div esi
mov dword [esp + 0x30], eax
shl dword [esp + 0x30], 3
add dword [esp + 0x30], 0xfffff913
xor dword [esp + 0x30], 0x9f5819
mov dword [esp + 0x74], 0xa9eb02
shl dword [esp + 0x74], 7
xor dword [esp + 0x74], 0x54fcc615
mov dword [esp + 0x2c], 0xc9de61
xor dword [esp + 0x2c], 0xaef5c2be
shl dword [esp + 0x2c], 0xd
shr dword [esp + 0x2c], 0xe
xor dword [esp + 0x2c], 0x9de9d
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
cmp ecx, 0x3075125
je 0x24ef90
cmp ecx, 0x3a8cad5
je 0x24ef6e
cmp ecx, 0x3ff3dd3
je 0x24ef59
cmp ecx, 0x46daa4c
je 0x24ef42
cmp ecx, 0x5f27679
je 0x24ee78
cmp ecx, 0x87d8180
je 0x24efcf
cmp ecx, 0xbd04cca
jne 0x24efbe
mov eax, dword [0x255224]
mov ecx, 0x3ff3dd3
mov dword [edx], ebp
lea edx, [ebp + 0x34]
mov dword [esp + 0x70], edx
inc dword [eax + 0x10]
jmp 0x24ee0c
push dword [esp + 0x14]
mov al, byte [edi]
push dword [esp + 0x1c]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x60]
mov bl, byte [edi + 1]
mov bh, byte [edi + 2]
mov byte [esp + 0x1b], al
mov al, byte [edi + 3]
push 0x231864
mov byte [esp + 0x1e], al
call fcn.002338fd
mov esi, eax
movzx edx, byte [esp + 0x1f]
movzx eax, bl
push eax
push esi
movzx eax, bh
push eax
push dword [esp + 0x34]
lea eax, [ebp + 0x10]
push dword [esp + 0x3c]
push dword [esp + 0x5c]
push eax
push dword [esp + 0x84]
movzx eax, byte [esp + 0x3e]
push dword [esp + 0x8c]
push eax
push dword [esp + 0x74]
push dword [esp + 0x7c]
push 0x10
pop ecx
call fcn.00239497
push dword [esp + 0xa0]
push esi
push dword [esp + 0x8c]
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x6c]
call fcn.0024d172
movzx edx, byte [edi + 4]
add esp, 0x48
movzx eax, byte [edi + 5]
shl dx, 8
or dx, ax
mov word [ebp + 0x38], dx
mov al, byte [edi + 6]
mov cl, byte [edi + 7]
add edi, 8
movzx edx, al
movzx eax, cl
mov ecx, 0xbd04cca
shl dx, 8
or dx, ax
mov word [ebp + 4], dx
jmp 0x24ee08
mov edx, dword [0x255224]
mov ecx, 0x3075125
add edx, 4
mov dword [esp + 0x70], edx
jmp 0x24ee0c
cmp edi, eax
sbb ecx, ecx
and ecx, 0xfb2b4955
add ecx, 0x87d8180
jmp 0x24ee10
mov eax, dword [esp + 0x68]
mov eax, dword [esp + 0x50]
push ecx
push 0x3c
pop ecx
call fcn.0024bbc9
mov ebp, eax
pop ecx
test ebp, ebp
je 0x24efee
mov ecx, 0x5f27679
jmp 0x24ee08
push dword [esp + 0x28]
mov edx, section..data
lea ecx, [esp + 0x7c]
push dword [esp + 0x58]
call fcn.00244525
pop ecx
mov dword [esp + 0x80], eax
mov edi, eax
add eax, dword [esp + 0x7c]
pop ecx
mov dword [esp + 0x6c], eax
mov ecx, 0x3a8cad5
cmp ecx, 0xc3b242d
je 0x24efee
mov edx, dword [esp + 0x70]
jmp 0x24ee10
push dword [esp + 0x2c]
push dword [esp + 0x78]
mov edx, dword [esp + 0x38]
push dword [esp + 0x84]
mov ecx, dword [esp + 0x40]
call fcn.00252f07
add esp, 0xc
mov ecx, dword [0x255224]
pop edi
pop esi
pop ebp
mov eax, dword [ecx + 4]
and dword [ecx + 0x1c], 0
mov dword [ecx + 0x28], eax
xor eax, eax
inc eax
pop ebx
add esp, 0x7c
ret