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

Disassembly:
sub esp, 0x470
mov dword [esp + 0x50], 0x3aa749
xor edx, edx
mov dword [esp + 0x54], 0x3e045c
mov ecx, 0x2d5092a3
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x2c], 0x24eb
xor dword [esp + 0x2c], 0x880205dd
mov eax, dword [esp + 0x2c]
push 0x68
pop esi
div esi
push 0x5b
mov dword [esp + 0x30], eax
xor edx, edx
xor dword [esp + 0x30], 0x14ee8fa
mov dword [esp + 0x4c], 0xd9f8
mov eax, dword [esp + 0x4c]
pop esi
div esi
push 0x4e
mov dword [esp + 0x4c], eax
xor edx, edx
add dword [esp + 0x4c], 0xe75d
xor dword [esp + 0x4c], 0xf4cb
mov dword [esp + 0x14], 0x8a4e
imul eax, dword [esp + 0x14], 5
pop esi
mov dword [esp + 0x10], eax
xor dword [esp + 0x10], 0xe4b6be19
xor dword [esp + 0x10], 0x306a3ed1
xor dword [esp + 0x10], 0xd4de6244
mov dword [esp + 0x50], 0x7fe3
imul eax, dword [esp + 0x50], 0xe
mov dword [esp + 0x50], eax
xor dword [esp + 0x50], 0x6a5c6
mov dword [esp + 0x40], 0x62aa
xor dword [esp + 0x40], 0x4b3731fa
imul eax, dword [esp + 0x40], 0x15
mov dword [esp + 0x40], eax
xor dword [esp + 0x40], 0x2b89a81c
mov dword [esp + 0x58], 0x2593
shr dword [esp + 0x58], 0xf
xor dword [esp + 0x58], 0x7e53
mov dword [esp + 0x34], 0x1fe9
add dword [esp + 0x34], 0xc590
add dword [esp + 0x34], 0xffff907e
xor dword [esp + 0x34], 0x4a08
mov dword [esp + 0x24], 0xddb8
add dword [esp + 0x24], 0xffff2505
shl dword [esp + 0x24], 7
mov eax, dword [esp + 0x24]
div esi
mov dword [esp + 0x24], eax
xor dword [esp + 0x24], 0x7645
mov dword [esp + 0x14], 0x1c72
shr dword [esp + 0x14], 0xa
imul eax, dword [esp + 0x14], 0x36
mov dword [esp + 0x14], eax
imul eax, dword [esp + 0x14], 0x2c
mov dword [esp + 0x14], eax
xor dword [esp + 0x14], 0x731f
mov dword [esp + 0x5c], 0x7b7c
add dword [esp + 0x5c], 0xffffb628
xor dword [esp + 0x5c], 0x26c3
mov dword [esp + 0x1c], 0x698e
shr dword [esp + 0x1c], 3
shl dword [esp + 0x1c], 0xb
add dword [esp + 0x1c], 0xffffd2b0
xor dword [esp + 0x1c], 0x693db1
mov dword [esp + 0x4c], 0x2113
add dword [esp + 0x4c], 0x16cd
shl dword [esp + 0x4c], 0xd
xor dword [esp + 0x4c], 0x6fc56cf
mov dword [esp + 0x20], 0x614e
shr dword [esp + 0x20], 7
shr dword [esp + 0x20], 1
xor edx, edx
imul eax, dword [esp + 0x20], 0xa
mov ebx, 0x26510862
push 0x42
pop esi
mov ebp, 0x35d0faf9
mov dword [esp + 0x20], eax
xor dword [esp + 0x20], 0x7116
mov dword [esp + 0x18], 0x3e20
shl dword [esp + 0x18], 7
shl dword [esp + 0x18], 7
shl dword [esp + 0x18], 0xd
xor dword [esp + 0x18], 0x5bb7
mov dword [esp + 0x3c], 0x3059
or dword [esp + 0x3c], 0x4caf1f8
add dword [esp + 0x3c], 0xffff8f3c
xor dword [esp + 0x3c], 0x4cac452
mov dword [esp + 0x38], 0xad6b
shr dword [esp + 0x38], 6
xor dword [esp + 0x38], 0xe1f8f75
xor dword [esp + 0x38], 0xe1f99e7
mov dword [esp + 0x30], 0x4ae7
mov eax, dword [esp + 0x30]
div esi
mov dword [esp + 0x30], eax
add dword [esp + 0x30], 0xfffffdfb
xor dword [esp + 0x30], 0xfffff8ac
mov dword [esp + 0x28], 0x301a
shl dword [esp + 0x28], 5
shl dword [esp + 0x28], 8
or dword [esp + 0x28], 0xeeaf03bf
xor dword [esp + 0x28], 0xeeaf7ab2
mov dword [esp + 0x54], 0x6ce7
xor dword [esp + 0x54], 0x5b01ea5a
xor dword [esp + 0x54], 0x5b0183cf
mov dword [esp + 0x44], 0x17fe
or dword [esp + 0x44], 0xe619166e
imul eax, dword [esp + 0x44], 0x1c
mov dword [esp + 0x44], eax
xor dword [esp + 0x44], 0x2abe8c92
cmp ecx, 0xd45a7fe
je 0x1237b1
cmp ecx, 0x25f94602
je 0x1237f0
cmp ecx, ebx
je 0x12378e
cmp ecx, 0x2d5092a3
je 0x123787
cmp ecx, ebp
jne 0x1237e2
push dword [esp + 0x40]
mov ecx, dword [esp + 0x54]
mov edx, 0x1001f640
call fcn.0011672d
pop ecx
push dword [esp + 0x5c]
mov esi, eax
mov eax, dword [0x1001fa14]
add eax, 0x218
mov edx, esi
push eax
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x20]
push dword [esp + 0x34]
mov eax, dword [0x1001fa14]
add eax, 0xc
push eax
push dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x78]
call fcn.0012c31c
push dword [esp + 0x6c]
mov edx, dword [esp + 0x40]
mov ecx, esi
call fcn.0011708f
add esp, 0x24
mov ecx, 0xd45a7fe
jmp 0x1236f5
mov ecx, ebx
jmp 0x1236f5
push dword [esp + 0x10]
push ecx
push dword [esp + 0x50]
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x284]
call fcn.0011ca7e
add esp, 0xc
mov ecx, ebp
jmp 0x1236f5
push dword [esp + 0x38]
lea eax, [esp + 0x74]
push eax
push dword [esp + 0x44]
lea edx, [esp + 0x284]
push dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
call fcn.0011c15c
xor ecx, ecx
add esp, 0x10
inc ecx
test eax, eax
cmovne edi, ecx
mov ecx, 0x25f94602
cmp ecx, 0x9cac259
jne 0x1236f5
jmp 0x12380d
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x48]
push dword [esp + 0x5c]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
call fcn.0011a750
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x470
ret