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

Disassembly:
sub esp, 0x4a0
push ebx
push ebp
push esi
push edi
mov ebp, edx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x18], 0xb119
or dword [esp + 0x18], 0x282611cb
shl dword [esp + 0x18], 0xf
or dword [esp + 0x18], 0x1aaab520
xor dword [esp + 0x18], 0x5aefb522
mov dword [esp + 0x20], 0xb49d
shr dword [esp + 0x20], 6
or dword [esp + 0x20], 0x9231d4ab
add dword [esp + 0x20], 0xffff4d7a
xor dword [esp + 0x20], 0x92312465
mov dword [esp + 0x6c], 0x9d42
add dword [esp + 0x6c], 0xffffec0f
xor dword [esp + 0x6c], 0x40008951
mov dword [esp + 0x7c], 0x6a9e
imul eax, dword [esp + 0x7c], 0x2e
mov dword [esp + 0x7c], eax
xor dword [esp + 0x7c], 0x132c87
xor edx, edx
mov dword [esp + 0x30], 0x292
xor edi, edi
add dword [esp + 0x30], 0xe589
mov esi, 0x1be0e254
shl dword [esp + 0x30], 7
add dword [esp + 0x30], 0x88a9
xor dword [esp + 0x30], 0x74d2c4
mov dword [esp + 0x5c], 0x7a97
shl dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x5c]
push 0x6d
pop ecx
div ecx
push 5
mov dword [esp + 0x60], eax
xor edx, edx
xor dword [esp + 0x60], 0x11fd7cf
mov dword [esp + 0x58], 0x77f4
shl dword [esp + 0x58], 0xd
imul eax, dword [esp + 0x58], 0x51
pop ecx
push 0x32
mov dword [esp + 0x58], eax
xor dword [esp + 0x58], 0xbe8695b5
mov dword [esp + 0x3c], 0xcf56
add dword [esp + 0x3c], 0xcb21
shl dword [esp + 0x3c], 0xc
shl dword [esp + 0x3c], 9
xor dword [esp + 0x3c], 0x4ee063e0
mov dword [esp + 0x9c], 0x4b86
xor dword [esp + 0x9c], 0xa0404d55
xor dword [esp + 0x9c], 0xa04020c9
mov dword [esp + 0x84], 0xefdb
xor dword [esp + 0x84], 0x4376186c
xor dword [esp + 0x84], 0x4376fc56
mov dword [esp + 0x94], 0xc14
shl dword [esp + 0x94], 0xa
xor dword [esp + 0x94], 0x305455
mov dword [esp + 0x98], 0xa63f
add dword [esp + 0x98], 0xd66d
xor dword [esp + 0x98], 0x1668d
mov dword [esp + 0x30], 0x7f1b
add dword [esp + 0x30], 0xaf3a
or dword [esp + 0x30], 0xe0b0e9be
mov eax, dword [esp + 0x30]
div ecx
xor edx, edx
mov dword [esp + 0x30], eax
xor dword [esp + 0x30], 0x2cf0728e
mov dword [esp + 0x18], 0xd193
shl dword [esp + 0x18], 0xa
mov eax, dword [esp + 0x18]
pop ecx
div ecx
mov dword [esp + 0x14], eax
imul eax, dword [esp + 0x14], 0x6b
mov dword [esp + 0x14], eax
xor dword [esp + 0x14], 0x701cb9b
xor edx, edx
mov dword [esp + 0x68], 0xf1b5
mov ebx, 0x75a4
shl dword [esp + 0x68], 0x10
xor dword [esp + 0x68], 0xf1b54821
mov dword [esp + 0x24], 0x63ae
add dword [esp + 0x24], 0xffffdbc2
shl dword [esp + 0x24], 0xc
or dword [esp + 0x24], 0x8fee5023
xor dword [esp + 0x24], 0x8fff575c
mov dword [esp + 0x3c], 0x750b
add dword [esp + 0x3c], 0xffffe264
shl dword [esp + 0x3c], 0xd
shl dword [esp + 0x3c], 0xb
xor dword [esp + 0x3c], 0x6f0023d3
mov dword [esp + 0x50], 0x4046
xor dword [esp + 0x50], 0xe6b80043
mov eax, dword [esp + 0x50]
push 0x1f
pop ecx
div ecx
push 0xf
mov dword [esp + 0x54], eax
xor edx, edx
xor dword [esp + 0x54], 0x77131d2
mov dword [esp + 0x20], 0xadcf
shr dword [esp + 0x20], 0xd
add dword [esp + 0x20], 0xffff4bc1
mov eax, dword [esp + 0x20]
pop ecx
div ecx
push 0x2b
mov dword [esp + 0x20], eax
xor edx, edx
xor dword [esp + 0x20], 0x11112225
mov dword [esp + 0x14], 0xe974
mov eax, dword [esp + 0x14]
pop ecx
div ecx
push 0x74
mov dword [esp + 0x14], eax
xor edx, edx
add dword [esp + 0x14], 0xffff9c3b
xor dword [esp + 0x14], 0x9bf17787
xor dword [esp + 0x14], 0x640ee8da
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x38]
pop ecx
div ecx
push 0x23
mov dword [esp + 0x38], eax
xor edx, edx
imul eax, dword [esp + 0x38], 0x7b
pop ecx
mov dword [esp + 0x34], eax
add dword [esp + 0x34], 0x6173
xor dword [esp + 0x34], 0xeebd
mov dword [esp + 0x28], 0xb658
or dword [esp + 0x28], 0xe46c918e
shr dword [esp + 0x28], 6
shl dword [esp + 0x28], 6
xor dword [esp + 0x28], 0xe46cbe25
mov dword [esp + 0x74], 0xd635
xor dword [esp + 0x74], 0xf01deb08
xor dword [esp + 0x74], 0xf01d654f
mov dword [esp + 0x44], 0x2ea3
shr dword [esp + 0x44], 0xf
shl dword [esp + 0x44], 4
xor dword [esp + 0x44], 0x7e2c
mov dword [esp + 0x48], 0xa615
imul eax, dword [esp + 0x48], 0x6b
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x48]
div ecx
mov dword [esp + 0x48], eax
xor dword [esp + 0x48], 0x1a730
mov dword [esp + 0x88], 0x2e2b
add dword [esp + 0x88], 0xaa28
xor dword [esp + 0x88], 0xc51c
mov dword [esp + 0x60], 0xd113
shr dword [esp + 0x60], 5
xor edx, edx
xor dword [esp + 0x60], 0x4aff7ef2
xor dword [esp + 0x60], 0x4aff53fa
mov dword [esp + 0x70], 0xe9e5
add dword [esp + 0x70], 0x5dcb
xor dword [esp + 0x70], 0x17b9a
mov dword [esp + 0x58], 0x99f3
imul eax, dword [esp + 0x58], 0x11
push 0x7b
pop ecx
mov dword [esp + 0x58], eax
xor dword [esp + 0x58], 0xa459b2f4
xor dword [esp + 0x58], 0xa453c400
mov dword [esp + 0x78], 0x3d9
xor dword [esp + 0x78], 0x4f838a5
xor dword [esp + 0x78], 0x4f87dfc
mov dword [esp + 0x4c], ebx
add dword [esp + 0x4c], 0xffff7e38
mov eax, dword [esp + 0x4c]
div ecx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0x4c], eax
xor dword [esp + 0x4c], 0x214b033
mov dword [esp + 0x8c], 0xe43d
add dword [esp + 0x8c], 0xffff5ebc
xor dword [esp + 0x8c], 0xf9b
mov dword [esp + 0x84], 0x712b
shr dword [esp + 0x84], 5
xor dword [esp + 0x84], 0x7e9a
mov dword [esp + 0x40], 0x7f18
add dword [esp + 0x40], 0xffff69a8
add dword [esp + 0x40], 0xeeb5
shl dword [esp + 0x40], 5
xor dword [esp + 0x40], 0x1aaed1
mov dword [esp + 0x64], 0xcc1
add dword [esp + 0x64], 0xfccd
shl dword [esp + 0x64], 8
xor dword [esp + 0x64], 0x109e5cf
cmp esi, 0x3155e7c
je 0x1001bb88
cmp esi, 0x61f71c9
je 0x1001bb3b
cmp esi, 0xb8ad78a
je 0x1001bbd3
cmp esi, 0x1bb32e4f
je 0x1001bb0e
cmp esi, 0x1be0e254
je 0x1001bb04
cmp esi, 0x1ccf4d6f
je 0x1001ba8c
cmp esi, 0x27f47b2f
jne 0x1001bbc5
push ebx
push dword [ebp]
lea edx, [ebp + 4]
push dword [esp + 0x54]
push dword [esp + 0x84]
push dword [esp + 0x68]
push dword [esp + 0x84]
push edx
mov edx, dword [edx]
call fcn.100110d3
xor ecx, ecx
add esp, 0x1c
inc ecx
mov esi, 0xb8ad78a
test eax, eax
cmovne edi, ecx
jmp 0x1001ba02
push dword [esp + 0x4b4]
push dword [esp + 0x18]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x9c]
call fcn.1000b86a
mov ecx, dword [esp + 0x4c0]
mov esi, eax
lea eax, [esp + 0x2b0]
push eax
lea eax, [esp + 0xac]
push eax
push dword [esp + 0x2c]
push dword [esp + 0x64]
push 0x104
push dword [esp + 0x58]
push esi
push dword [esp + 0x48]
mov edx, dword [esp + 0x90]
push dword [esp + 0xc4]
call fcn.100177d0
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x3c]
push esi
call fcn.10002ab3
add esp, 0x30
mov esi, 0x61f71c9
jmp 0x1001ba02
mov esi, 0x3155e7c
jmp 0x1001ba02
push dword [esp + 0x90]
lea edx, [esp + 0x2ac]
push dword [esp + 0x84]
mov ecx, dword [esp + 0xa0]
call 0x1001ddff
pop ecx
pop ecx
mov esi, 0x1ccf4d6f
jmp 0x1001ba02
push dword [esp + 0x60]
push dword [esp + 0x1c]
push dword [esp + 0x90]
push dword [esp + 0x78]
push dword [esp + 0x58]
push dword [esp + 0x34]
push dword [esp + 0x4d0]
push dword [esp + 0x60]
push ecx
push dword [esp + 0x98]
xor ecx, ecx
push dword [esp + 0x50]
call fcn.100132de
mov ebx, eax
add esp, 0x2c
cmp ebx, 0xffffffff
je 0x1001bbf2
mov esi, 0x27f47b2f
jmp 0x1001ba02
push dword [esp + 0x30]
lea edx, [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x84]
call fcn.1000bfd7
push dword [esp + 0x40]
lea edx, [esp + 0xac]
push dword [esp + 0x60]
mov ecx, dword [esp + 0x6c]
call fcn.1001cb7d
add esp, 0x10
mov esi, 0x1bb32e4f
xor ecx, ecx
mov word [eax], cx
cmp esi, 0x1e3a7b43
jne 0x1001ba02
jmp 0x1001bbf2
push dword [esp + 0x64]
push ebx
push dword [esp + 0x48]
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x98]
call fcn.1001b412
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4a0
ret