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

Disassembly:
sub esp, 0x6ec
push ebx
push ebp
push esi
push edi
mov dword [esp + 0xe0], 0xa43e
xor edx, edx
xor dword [esp + 0xe0], 0x45b26b29
mov ecx, 0x29fd4c8c
xor dword [esp + 0xe0], 0x45b2cf3e
mov dword [esp + 0xb8], 0xd832
shl dword [esp + 0xb8], 7
xor dword [esp + 0xb8], 0x6c754a
mov dword [esp + 0x70], 0xea82
or dword [esp + 0x70], 0xeffbbfdd
xor dword [esp + 0x70], 0xeffbe896
mov dword [esp + 0x2c], 0x2481
shl dword [esp + 0x2c], 6
add dword [esp + 0x2c], 0x9ec7
add dword [esp + 0x2c], 0x8a8
xor dword [esp + 0x2c], 0x9f1d1
mov dword [esp + 0xd0], 0x9f5
or dword [esp + 0xd0], 0x253f9e02
xor dword [esp + 0xd0], 0x253fa85d
mov dword [esp + 0xb0], 0xe62c
xor dword [esp + 0xb0], 0xf7e1e6dc
xor dword [esp + 0xb0], 0xf7e121db
mov dword [esp + 0x90], 0xa597
shl dword [esp + 0x90], 3
xor dword [esp + 0x90], 0x57224
mov dword [esp + 0x98], 0x74cb
or dword [esp + 0x98], 0x8dfb5c1d
xor dword [esp + 0x98], 0x8dfb1908
mov dword [esp + 0x74], 0xf927
mov eax, dword [esp + 0x74]
push 0x47
pop edi
div edi
push 0x4b
mov dword [esp + 0x78], eax
xor edx, edx
shl dword [esp + 0x78], 8
xor esi, esi
xor dword [esp + 0x78], 0x3eef2
mov dword [esp + 0x6c], 0xe8df
xor dword [esp + 0x6c], 0xe48f8edf
imul eax, dword [esp + 0x6c], 0xe
pop edi
mov dword [esp + 0xd4], esi
mov dword [esp + 0x68], eax
xor dword [esp + 0x68], 0x7fd7efbf
mov dword [esp + 0xd8], 0xd38b
or dword [esp + 0xd8], 0x212f5c39
xor dword [esp + 0xd8], 0x212fa689
mov dword [esp + 0x88], 0x1200
mov eax, dword [esp + 0x88]
div edi
mov dword [esp + 0x88], eax
xor dword [esp + 0x88], 0xa2b
mov dword [esp + 0xc0], 0x13dd
or dword [esp + 0xc0], 0xceb868f3
xor dword [esp + 0xc0], 0xceb84d66
mov dword [esp + 0x14], 0x3bb1
add dword [esp + 0x14], 0xffff0d17
shr dword [esp + 0x14], 7
shr dword [esp + 0x14], 6
xor dword [esp + 0x14], 0x7e300
mov dword [esp + 0x48], 0xf0d2
add dword [esp + 0x48], 0xe075
xor dword [esp + 0x48], 0x9b47385c
xor dword [esp + 0x48], 0x9b46cdd4
mov dword [esp + 0x80], 0x69dd
or dword [esp + 0x80], 0x8bdea621
shl dword [esp + 0x80], 0x10
xor dword [esp + 0x80], 0xeffd1439
mov dword [esp + 0x1c], 0x4063
shl dword [esp + 0x1c], 6
imul eax, dword [esp + 0x1c], 0x7c
mov dword [esp + 0x1c], eax
xor dword [esp + 0x1c], 0xd256c198
xor dword [esp + 0x1c], 0xd59d1bc0
mov dword [esp + 0xa0], 0x90dd
add dword [esp + 0xa0], 0xffff497e
xor edx, edx
xor dword [esp + 0xa0], 0xffffd705
mov dword [esp + 0x34], 0xfcae
mov eax, dword [esp + 0x34]
push 0x46
pop edi
div edi
push 0xd
mov dword [esp + 0x38], eax
xor edx, edx
add dword [esp + 0x38], 0xcadb
xor dword [esp + 0x38], 0x517b85fd
xor dword [esp + 0x38], 0x517b3d77
mov dword [esp + 0x54], 0xaa4c
imul eax, dword [esp + 0x54], 0x56
pop edi
push 0x7e
mov dword [esp + 0x54], eax
or dword [esp + 0x54], 0x843164d5
xor dword [esp + 0x54], 0x84391434
mov dword [esp + 0x68], 0x7b92
add dword [esp + 0x68], 0x23d3
or dword [esp + 0x68], 0xa0cceb2c
xor dword [esp + 0x68], 0xa0ccf5a5
mov dword [esp + 0x60], 0x2f42
add dword [esp + 0x60], 0xffffada6
add dword [esp + 0x60], 0xffffd11c
xor dword [esp + 0x60], 0xffff8010
mov dword [esp + 0x58], 0x664
shl dword [esp + 0x58], 6
shl dword [esp + 0x58], 4
xor dword [esp + 0x58], 0x1991ab
mov dword [esp + 0xc0], 0x17c3
imul eax, dword [esp + 0xc0], 0x6e
mov dword [esp + 0xc0], eax
xor dword [esp + 0xc0], 0xa4796
mov dword [esp + 0x24], 0x876e
xor dword [esp + 0x24], 0xccadfb01
mov eax, dword [esp + 0x24]
div edi
xor edx, edx
mov dword [esp + 0x24], eax
or dword [esp + 0x24], 0x71b05a4c
xor dword [esp + 0x24], 0x7fbe83ae
mov dword [esp + 0xb8], 0xc50f
mov eax, dword [esp + 0xb8]
pop edi
div edi
mov dword [esp + 0xb4], eax
xor dword [esp + 0xb4], 0xe7d
mov dword [esp + 0x4c], 0xe559
or dword [esp + 0x4c], 0xff7f7fff
xor dword [esp + 0x4c], 0xff7fd517
mov dword [esp + 0x44], 0x1170
imul eax, dword [esp + 0x44], 0x2e
mov dword [esp + 0x44], eax
or dword [esp + 0x44], 0xa70aa585
xor dword [esp + 0x44], 0xa70bab82
mov dword [esp + 0x40], 0x666c
or dword [esp + 0x40], 0x8fee4b7f
xor dword [esp + 0x40], 0x8fee281e
mov dword [esp + 0x10], 0xf606
xor dword [esp + 0x10], 0x11a63a32
shr dword [esp + 0x10], 1
or dword [esp + 0x10], 0xbd41a285
xor dword [esp + 0x10], 0xbdd3c841
mov dword [esp + 0xa4], 0xc87
shl dword [esp + 0xa4], 8
xor dword [esp + 0xa4], 0xcb845
mov dword [esp + 0x9c], 0xcf71
add dword [esp + 0x9c], 0x859a
xor dword [esp + 0x9c], 0x172a0
mov dword [esp + 0x94], 0x9b4e
add dword [esp + 0x94], 0xfffffeb0
xor dword [esp + 0x94], 0xb068
mov dword [esp + 0x24], 0x51f0
shl dword [esp + 0x24], 0xd
imul eax, dword [esp + 0x24], 9
mov dword [esp + 0x24], eax
xor dword [esp + 0x24], 0xa73676e0
xor dword [esp + 0x24], 0xfb182fbc
xor edx, edx
mov dword [esp + 0xdc], 0x8b8
or dword [esp + 0xdc], 0x4447cdf9
xor dword [esp + 0xdc], 0x4447aa39
mov dword [esp + 0x38], 0xaa2a
mov eax, dword [esp + 0x38]
push 0x4c
pop edi
div edi
push 0x78
mov dword [esp + 0x3c], eax
xor edx, edx
shr dword [esp + 0x3c], 7
or dword [esp + 0x3c], 0x5d199c15
xor dword [esp + 0x3c], 0x5d19ea5e
mov dword [esp + 0x34], 0x9be5
xor dword [esp + 0x34], 0x27ebeb7e
shr dword [esp + 0x34], 6
shl dword [esp + 0x34], 0xc
xor dword [esp + 0x34], 0xfadc41bb
mov dword [esp + 0x2c], 0xab1f
shr dword [esp + 0x2c], 0xd
or dword [esp + 0x2c], 0x2e03c9c9
imul eax, dword [esp + 0x2c], 0x61
pop edi
push 0x2b
mov dword [esp + 0x2c], eax
xor dword [esp + 0x2c], 0x6f6f6458
mov dword [esp + 0x70], 0x432d
shl dword [esp + 0x70], 9
add dword [esp + 0x70], 0xaa9a
xor dword [esp + 0x70], 0x8720ae
mov dword [esp + 0xac], 0xb695
or dword [esp + 0xac], 0x9c0d8b30
xor dword [esp + 0xac], 0x9c0dd91b
mov dword [esp + 0x5c], 0x7cda
mov eax, dword [esp + 0x5c]
div edi
xor edx, edx
mov dword [esp + 0x5c], eax
shl dword [esp + 0x5c], 5
xor dword [esp + 0x5c], 0x4203
mov dword [esp + 0x7c], 0xca1
shl dword [esp + 0x7c], 6
add dword [esp + 0x7c], 0xfb4a
xor dword [esp + 0x7c], 0x41992
mov dword [esp + 0xcc], 0x2832
add dword [esp + 0xcc], 0xffff4b77
xor dword [esp + 0xcc], 0xffff7d0e
mov dword [esp + 0xd0], 0xd717
add dword [esp + 0xd0], 0x8534
xor dword [esp + 0xd0], 0x11bb2
mov dword [esp + 0x88], 0x6f3e
shr dword [esp + 0x88], 0xc
mov eax, dword [esp + 0x88]
pop edi
div edi
push 0x2a
mov dword [esp + 0x88], eax
xor edx, edx
xor dword [esp + 0x88], 0x3e2a
mov dword [esp + 0x80], 0x8f26
shr dword [esp + 0x80], 6
shl dword [esp + 0x80], 2
xor dword [esp + 0x80], 0x651c
mov dword [esp + 0x40], 0xe7d3
shl dword [esp + 0x40], 0xd
mov eax, dword [esp + 0x40]
pop edi
div edi
push 0x52
mov dword [esp + 0x40], eax
xor edx, edx
xor dword [esp + 0x40], 0xb0dbe1
mov dword [esp + 0xc8], 0xd2ea
mov eax, dword [esp + 0xc8]
pop edi
div edi
mov dword [esp + 0xc4], eax
xor dword [esp + 0xc4], 0xf02ad
mov dword [esp + 0x60], 0x3985
imul eax, dword [esp + 0x60], 0x1b
mov ebp, dword [esp + 0xd4]
mov ebx, dword [esp + 0xd4]
mov edi, dword [esp + 0xd4]
mov dword [esp + 0x60], eax
xor dword [esp + 0x60], 0xe34e665
xor dword [esp + 0x60], 0xe32f760
mov dword [esp + 0xac], 0x5c84
shr dword [esp + 0xac], 0xd
mov eax, dword [esp + 0xac]
mov dword [esp + 0xac], eax
mov dword [esp + 0x18], 0x6db6
shl dword [esp + 0x18], 9
add dword [esp + 0x18], 0xffff9705
or dword [esp + 0x18], 0x2711d9d9
xor dword [esp + 0x18], 0x27dbdbdd
mov dword [esp + 0x8c], 0x109c
add dword [esp + 0x8c], 0x526d
xor dword [esp + 0x8c], 0x6319
push 0x5c
pop edx
cmp ecx, 0x29fd4c8c
jg 0x10010cd6
je 0x10010c93
cmp ecx, 0x2d4cd3b
je 0x10010c73
cmp ecx, 0x10ed6b66
je 0x10010dec
cmp ecx, 0x140b5383
je 0x10010c49
cmp ecx, 0x1e06f250
jne 0x10010dde
push 0x10001020
push dword [esp + 0x78]
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0x98]
call fcn.1001cb25
lea ecx, [esp + 0xec]
mov esi, eax
call fcn.10017fc0
push dword [esp + 0x88]
push dword [esp + 0x54]
push dword [esp + 0x24]
mov ecx, dword [0x100221b0]
push esi
lea eax, [ecx + 0x10]
push eax
push 0x104
lea eax, [ecx + 0x234]
push eax
lea eax, [esp + 0x108]
push eax
push dword [esp + 0xe8]
lea eax, [esp + 0x520]
push dword [esp + 0xb4]
mov edx, dword [esp + 0x108]
mov ecx, dword [esp + 0x98]
push eax
lea eax, [esp + 0x320]
push eax
call fcn.10004082
push esi
push dword [esp + 0x8c]
push dword [esp + 0x74]
mov edx, dword [esp + 0xe4]
mov ecx, dword [esp + 0x60]
call fcn.1001d1f7
mov esi, dword [esp + 0x118]
add esp, 0x44
mov ecx, 0x2d4cd3b
jmp 0x10010b4b
push dword [esp + 0xc8]
mov edx, ebp
push dword [esp + 0x7c]
push dword [esp + 0x60]
mov ecx, dword [esp + 0xb4]
call 0x1001fe3c
add esp, 0xc
mov ecx, 0x10ed6b66
jmp 0x10010b4b
mov edi, dword [0x100221b0]
add edi, 0x10
jmp 0x10010c81
add edi, 2
cmp word [edi], dx
jne 0x10010c7e
add edi, 2
mov ecx, 0x2f9aa500
jmp 0x10010b4e
push ecx
push dword [esp + 0xe4]
lea eax, [esp + 0x2f4]
push dword [esp + 0xb8]
push eax
push dword [esp + 0xe0]
push dword [esp + 0x40]
push dword [esp + 0x88]
mov edx, dword [esp + 0xd4]
push ecx
call fcn.10002954
add esp, 0x20
mov ecx, 0x1e06f250
jmp 0x10010b4b
cmp ecx, 0x2a58a6fb
je 0x10010dbc
cmp ecx, 0x2f9aa500
je 0x10010d94
cmp ecx, 0x38e9bb98
jne 0x10010dde
push dword [esp + 0xdc]
lea eax, [esp + 0x4f8]
push dword [esp + 0x28]
push dword [esp + 0x94]
push dword [esp + 0xa0]
push edi
push eax
push dword [esp + 0x78]
push dword [esp + 0xb8]
push ecx
push dword [esp + 0xc8]
push ecx
push ecx
push dword [esp + 0x40]
push ecx
push dword [esp + 0x78]
push edi
push dword [esp + 0x58]
push dword [esp + 0xf0]
push dword [esp + 0x8c]
push ebx
push dword [esp + 0x9c]
push dword [esp + 0x108]
push dword [esp + 0x78]
push dword [esp + 0x118]
mov ecx, dword [esp + 0xb4]
call fcn.1000ca98
mov ebp, eax
add esp, 0x60
test ebp, ebp
je 0x10010c69
xor esi, esi
mov ecx, 0x2a58a6fb
inc esi
mov dword [esp + 0xd4], esi
jmp 0x10010b4b
push dword [esp + 0x5c]
push ecx
push dword [esp + 0x6c]
mov ecx, dword [esp + 0xd0]
call fcn.1000e666
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x10010e0f
mov ecx, 0x38e9bb98
jmp 0x10010b4b
push ebp
push ebx
push dword [esp + 0x74]
push dword [esp + 0x34]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
call fcn.10006e0a
add esp, 0x10
mov ecx, 0x140b5383
push 0x5c
pop edx
cmp ecx, 0x19ee210
jne 0x10010b4e
jmp 0x10010e0f
push dword [esp + 0x3c]
mov edx, ebx
push dword [esp + 0x80]
push dword [esp + 0x8c]
mov ecx, dword [esp + 0xd8]
call 0x1001fe3c
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x6ec
ret