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

Disassembly:
sub esp, 0x4c8
push ebx
push ebp
push esi
push edi
mov dword [esp + 0xbc], 0x4ab2f7
xor ecx, ecx
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], ecx
mov dword [esp + 0x98], 0x976a
shr dword [esp + 0x98], 5
xor dword [esp + 0x98], 0x492
mov dword [esp + 0x44], 0xb871
or dword [esp + 0x44], 0x8d1fdd2d
add dword [esp + 0x44], 0xffff4164
xor dword [esp + 0x44], 0xd1f3ee0
mov dword [esp + 0x14], 0x587a
or dword [esp + 0x14], 0xea8be762
shr dword [esp + 0x14], 5
shl dword [esp + 0x14], 0xc
xor dword [esp + 0x14], 0x45ffb002
mov dword [esp + 0x5c], 0x7615
or dword [esp + 0x5c], 0xa73b427c
xor dword [esp + 0x5c], 0xf8c210e0
xor dword [esp + 0x5c], 0x5ff97907
mov dword [esp + 0xa4], 0x1290
add dword [esp + 0xa4], 0xffff5d3a
xor dword [esp + 0xa4], 0xffff6b7f
mov dword [esp + 0x24], 0x3ea2
shl dword [esp + 0x24], 4
or dword [esp + 0x24], 0xd1dd4b04
shl dword [esp + 0x24], 9
xor dword [esp + 0x24], 0xbfd61ba5
mov dword [esp + 0xa8], 0x3a69
xor dword [esp + 0xa8], 0x2a1eaf7d
xor dword [esp + 0xa8], 0x2a1ed059
mov dword [esp + 0x48], 0xf234
xor dword [esp + 0x48], 0x96e22451
or dword [esp + 0x48], 0xcc3c8946
xor dword [esp + 0x48], 0xdefee574
mov dword [esp + 0x54], 0x5b2e
xor dword [esp + 0x54], 0x8929e1be
shr dword [esp + 0x54], 0x10
xor dword [esp + 0x54], 0xf080
mov dword [esp + 0x68], 0x351b
or dword [esp + 0x68], 0x84586f1f
shl dword [esp + 0x68], 3
xor dword [esp + 0x68], 0x22c3fe71
mov dword [esp + 0x18], 0x3846
or dword [esp + 0x18], 0x17aa506a
add dword [esp + 0x18], 0x344f
add dword [esp + 0x18], 0xffff3c72
xor dword [esp + 0x18], 0x17a9f04f
mov dword [esp + 0x50], 0x7b8e
shl dword [esp + 0x50], 4
xor dword [esp + 0x50], 0xdeedcf49
xor dword [esp + 0x50], 0xdeea00c5
mov dword [esp + 0x28], 0xbf58
shl dword [esp + 0x28], 9
shl dword [esp + 0x28], 0xa
shl dword [esp + 0x28], 7
xor dword [esp + 0x28], 0x60001cca
mov dword [esp + 0x70], 0x593c
imul eax, dword [esp + 0x70], 0x6a
mov dword [esp + 0x70], eax
mov edi, 0x2879cd6e
shl dword [esp + 0x70], 8
xor dword [esp + 0x70], 0x24f2a198
mov dword [esp + 0x58], 0xe741
or dword [esp + 0x58], 0xb0359160
shl dword [esp + 0x58], 5
xor dword [esp + 0x58], 0x6bee368
mov dword [esp + 0x88], 0xdfb5
add dword [esp + 0x88], 0xe00f
xor dword [esp + 0x88], 0x18c0c
mov dword [esp + 0x60], 0x246e
shr dword [esp + 0x60], 4
or dword [esp + 0x60], 0x7bebc72a
xor dword [esp + 0x60], 0x7bebd696
mov dword [esp + 0x78], 0x77fb
imul eax, dword [esp + 0x78], 0x27
mov dword [esp + 0xb4], ecx
mov dword [esp + 0x78], eax
xor edx, edx
xor dword [esp + 0x78], 0x9d20b2a2
xor dword [esp + 0x78], 0x9d32fbab
mov dword [esp + 0x1c], 0xc6dd
or dword [esp + 0x1c], 0x81d4f15c
shl dword [esp + 0x1c], 9
shl dword [esp + 0x1c], 9
xor dword [esp + 0x1c], 0xdf746e88
mov dword [esp + 0x40], 0xbf44
or dword [esp + 0x40], 0xdffe7f5a
xor dword [esp + 0x40], 0xdffe844d
mov dword [esp + 0x10], 0xce93
add dword [esp + 0x10], 0x162b
add dword [esp + 0x10], 0xcff5
mov eax, dword [esp + 0x10]
push 0x52
pop ecx
div ecx
push 0x41
mov dword [esp + 0x14], eax
xor edx, edx
xor dword [esp + 0x14], 0x4cf5
mov dword [esp + 0x34], 0x9931
shl dword [esp + 0x34], 0xd
or dword [esp + 0x34], 0x7fffd11a
shr dword [esp + 0x34], 0x10
xor dword [esp + 0x34], 0x29c1
mov dword [esp + 0x50], 0xde6
add dword [esp + 0x50], 0xa04a
add dword [esp + 0x50], 0x4e56
xor dword [esp + 0x50], 0xcd8e
mov dword [esp + 0x24], 0x8423
add dword [esp + 0x24], 0xffffd145
add dword [esp + 0x24], 0xffff3d47
add dword [esp + 0x24], 0xa87a
xor dword [esp + 0x24], 0x663f
mov dword [esp + 0x84], 0xdaab
shr dword [esp + 0x84], 3
xor dword [esp + 0x84], 0x2b24
mov dword [esp + 0x3c], 0xbda
shl dword [esp + 0x3c], 0xb
mov eax, dword [esp + 0x3c]
pop ecx
div ecx
mov dword [esp + 0x38], eax
shr dword [esp + 0x38], 0xe
xor dword [esp + 0x38], 0x4640
mov dword [esp + 0x90], 0x6c44
imul eax, dword [esp + 0x90], 0x37
mov dword [esp + 0x90], eax
xor dword [esp + 0x90], 0x173148
mov dword [esp + 0xac], 0xfba0
or dword [esp + 0xac], 0xdc437c9e
xor dword [esp + 0xac], 0xdc43f200
mov dword [esp + 0x34], 0x2735
or dword [esp + 0x34], 0xd846ef69
add dword [esp + 0x34], 0xf9ca
imul eax, dword [esp + 0x34], 0x37
mov dword [esp + 0x34], eax
xor dword [esp + 0x34], 0x77732cb8
mov dword [esp + 0x2c], 0xd991
shl dword [esp + 0x2c], 0xb
add dword [esp + 0x2c], 0x251d
add dword [esp + 0x2c], 0xf974
xor dword [esp + 0x2c], 0x6cde066
mov dword [esp + 0x64], 0x900b
imul eax, dword [esp + 0x64], 0x39
mov dword [esp + 0x64], eax
add dword [esp + 0x64], 0xffff3511
xor dword [esp + 0x64], 0x1f4a53
mov dword [esp + 0x3c], 0xa283
imul eax, dword [esp + 0x3c], 0x24
mov dword [esp + 0x3c], eax
imul eax, dword [esp + 0x3c], 0x31
mov dword [esp + 0x3c], eax
add dword [esp + 0x3c], 0xffffc51b
xor dword [esp + 0x3c], 0x45fdd31
mov dword [esp + 0x8c], 0x900c
shl dword [esp + 0x8c], 2
xor dword [esp + 0x8c], 0x24a3d
mov dword [esp + 0x84], 0x16c6
xor edx, edx
mov eax, dword [esp + 0x84]
mov ebp, 0x352cabb7
push 0x19
pop ecx
div ecx
push 0x46
mov dword [esp + 0x88], eax
xor edx, edx
xor dword [esp + 0x88], 0x4913
mov dword [esp + 0x78], 0x1ff9
imul eax, dword [esp + 0x78], 0x49
pop ecx
push 0x1a
mov ebx, dword [esp + 0xb8]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x78]
div ecx
xor edx, edx
mov dword [esp + 0x78], eax
xor dword [esp + 0x78], 0x78ca
mov dword [esp + 0x70], 0x2084
add dword [esp + 0x70], 0xbfbf
shr dword [esp + 0x70], 4
xor dword [esp + 0x70], 0x1307
mov dword [esp + 0xa4], 0xf195
shr dword [esp + 0xa4], 5
xor dword [esp + 0xa4], 0x46da
mov dword [esp + 0xa0], 0xa9f2
add dword [esp + 0xa0], 0xffff68f3
xor dword [esp + 0xa0], 0x6560
mov dword [esp + 0x80], 0x6315
mov eax, dword [esp + 0x80]
pop ecx
div ecx
push 0x74
mov dword [esp + 0x80], eax
xor edx, edx
add dword [esp + 0x80], 0xffff73cf
xor dword [esp + 0x80], 0xffff654e
mov dword [esp + 0x98], 0x410
xor dword [esp + 0x98], 0x67ed60ff
xor dword [esp + 0x98], 0x67ed4fb5
mov dword [esp + 0xb4], 0xca54
mov eax, dword [esp + 0xb4]
pop ecx
div ecx
mov dword [esp + 0xb0], eax
xor dword [esp + 0xb0], 0x1bf
push 0x5c
pop ecx
mov eax, 0x7c48e4f
cmp edi, eax
je 0x1252e8
cmp edi, 0xb0c6618
je 0x125378
cmp edi, 0x1b2d4f16
je 0x1252cb
cmp edi, 0x2879cd6e
je 0x125292
cmp edi, ebp
je 0x125213
cmp edi, 0x38a8c19c
jne 0x12536a
push dword [esp + 0x54]
mov ecx, dword [esp + 0x4c]
mov edx, 0x1001f5c0
call fcn.0011672d
mov ecx, dword [0x1001fa14]
lea edx, [esp + 0x2d4]
mov esi, eax
lea eax, [ecx + 0x218]
push eax
lea eax, [ecx + 0xc]
push eax
push dword [esp + 0x7c]
lea eax, [esp + 0xd8]
push esi
push eax
push dword [esp + 0x40]
push 0x104
push dword [esp + 0x70]
push dword [esp + 0x3c]
mov ecx, dword [esp + 0x90]
call fcn.00122f36
push dword [esp + 0xb0]
mov edx, dword [esp + 0x84]
mov ecx, esi
call fcn.0011708f
add esp, 0x2c
mov edi, 0x1b2d4f16
jmp 0x125153
push dword [esp + 0x78]
mov ecx, dword [esp + 0x64]
mov edx, 0x1001f580
call fcn.0011672d
pop ecx
push dword [esp + 0x38]
mov esi, eax
lea eax, [esp + 0xbc]
push eax
push dword [esp + 0x88]
push dword [esp + 0x50]
push ecx
push dword [esp + 0x34]
push ecx
push dword [esp + 0x68]
push ecx
push dword [esp + 0x54]
push ecx
push dword [esp + 0x3c]
push dword [esp + 0x44]
mov edx, dword [esp + 0x74]
push esi
push ecx
mov ecx, dword [esp + 0x58]
call fcn.0012c366
push dword [esp + 0xe8]
mov edx, dword [esp + 0xd0]
test eax, eax
mov eax, 0x7c48e4f
mov edi, 0x379722a
mov ecx, esi
cmove edi, eax
call fcn.0011708f
add esp, 0x40
jmp 0x125362
push ecx
push ecx
push dword [esp + 0xb0]
lea edx, [esp + 0x2dc]
push ecx
push dword [esp + 0x34]
push dword [esp + 0xac]
push dword [esp + 0xbc]
mov ecx, dword [esp + 0x78]
call fcn.001239b5
add esp, 0x1c
mov edi, 0x38a8c19c
jmp 0x125153
mov ebx, dword [0x1001fa14]
add ebx, 0xc
jmp 0x1252d9
add ebx, 2
cmp word [ebx], cx
jne 0x1252d6
add ebx, 2
mov edi, ebp
jmp 0x125156
push dword [esp + 0x64]
mov edx, dword [esp + 0x30]
lea eax, [esp + 0xcc]
mov ecx, dword [esp + 0x38]
push eax
call fcn.0011d2ad
pop ecx
pop ecx
push ebx
push dword [esp + 0xbc]
lea eax, [eax*2 + 2]
push dword [esp + 0xa8]
push dword [esp + 0x78]
push dword [esp + 0x84]
push dword [esp + 0xc4]
push dword [esp + 0x9c]
mov edx, dword [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0x5c]
push eax
lea eax, [esp + 0xec]
push eax
call fcn.001213e5
xor ecx, ecx
add esp, 0x28
test eax, eax
mov edi, 0xb0c6618
sete cl
mov dword [esp + 0xb4], ecx
push 0x5c
mov eax, 0x7c48e4f
pop ecx
cmp edi, 0x379722a
jne 0x12515b
jmp 0x12539b
push dword [esp + 0x94]
push dword [esp + 0x80]
mov edx, dword [esp + 0xc0]
mov ecx, dword [esp + 0xa4]
call fcn.00119fa1
pop ecx
pop ecx
mov eax, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c8
ret