Function at 0x4224b0
Capabilities:
Encode data using xor
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xe4
mov eax, dword [0x44ad3c]
mov dword [esp + 0x10], 0xc482c6ec
mov dword [esp + 0x14], 0xc859ca5b
mov dword [esp + 0x18], 0xccaace8b
mov dword [esp + 0x1c], 0xf096f267
mov dword [esp + 0x20], 0xf4f5f6dc
mov dword [esp + 0x24], 0
mov dword [esp + 0x58], 0
mov ecx, dword [esp + 0x58]
cmp ecx, 0x17
ja 0x42253b
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x58]
movzx edx, byte [esp + edx + 0x10]
add ecx, 0x99cb6154
xor ecx, edx
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0xb8]
add cl, 0x6d
mov edx, dword [esp + 0x58]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 0x58]
mov ecx, dword [esp + 0x58]
cmp ecx, 0x18
jb 0x422500
lea edi, [esp + 0x88]
lea esi, [esp + 0x10]
push edi
push 0
push 0
push 9
push esi
push 0
call eax
mov ebx, dword [esp + 0x88]
test ebx, ebx
jns 0x422564
mov eax, 0xffffffff
jmp 0x422567
lea eax, [ebx + ebx]
push eax
call fcn.00409d90
add esp, 4
mov dword [esp + 0x50], eax
mov eax, dword [0x44ad3c]
mov dword [esp + 0x10], 0x9d5de33f
mov dword [esp + 0x14], 0x99089f0e
mov dword [esp + 0x18], 0x95759b66
mov dword [esp + 0x1c], 0x9171971a
mov dword [esp + 0x20], 0x8d8c934f
mov dword [esp + 0x24], 0
mov dword [esp + 0x58], 0
mov ecx, dword [esp + 0x58]
cmp ecx, 0x17
ja 0x4225fb
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x58]
movzx edx, byte [esp + edx + 0x10]
add ecx, 0xe5b21a3e
xor ecx, edx
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0xb8]
add cl, 0x24
mov edx, dword [esp + 0x58]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 0x58]
mov ecx, dword [esp + 0x58]
cmp ecx, 0x18
jb 0x4225c0
push edi
push ebx
push dword [esp + 0x58]
push 9
push esi
push 0
call eax
mov dword [esp + 0x10], 0xdf77dd1e
mov dword [esp + 0x14], 0xdb75d963
mov dword [esp + 0x18], 0xa716a56b
mov dword [esp + 0x1c], 0xa3a0a10a
lea edx, [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x58]
cmp eax, 0x13
ja 0x422689
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x58]
movzx ecx, byte [esp + ecx + 0x10]
add eax, 0x28c73b37
xor eax, ecx
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0xb8]
add al, 0x1b
mov ecx, dword [esp + 0x58]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 0x58]
mov eax, dword [esp + 0x58]
cmp eax, 0x14
jb 0x422650
lea edi, [esp + 0xd4]
lea esi, [esp + 0x10]
mov ecx, 4
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
lea edi, [esp + 0xe4]
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov dword [esp + 0x10], 0x573f5510
mov dword [esp + 0x14], 0x5b39592b
mov dword [esp + 0x18], 0x5f2c5d33
mov dword [esp + 0x1c], 0x63216104
mov dword [esp + 0x20], 0x67086505
mov dword [esp + 0x24], 0x6b186909
mov dword [esp + 0x28], 0x6f6e6d15
lea esi, [esp + 0x2c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x58], 0
mov ecx, dword [esp + 0x58]
cmp ecx, 0x1f
ja 0x42274b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x58]
movzx edx, byte [esp + edx + 0x10]
add ecx, 0x401ded4
xor ecx, edx
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0xb8]
add cl, 0x80
mov edx, dword [esp + 0x58]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 0x58]
mov ecx, dword [esp + 0x58]
cmp ecx, 0x20
jb 0x422710
lea edx, [esp + 0xb8]
lea ebx, [esp + 0x10]
mov edi, edx
mov ecx, 7
xchg esi, ebx
rep movsd dword es:[edi], dword [esi]
xchg esi, ebx
lea edi, [esp + 0xd4]
xor ecx, ecx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov dword [esp + 0x10], 0x88628643
mov dword [esp + 0x14], 0x8c688a1e
mov dword [esp + 0x18], 0xb0238e1e
mov dword [esp + 0x1c], 0xb445b257
mov dword [esp + 0x20], 0xb87bb643
lea ebx, [esp + 0x24]
mov word [esp + 0x24], 0xbabb
mov dword [esp + 0x26], 0
mov byte [esp + 0x2a], 0
mov dword [esp + 0x8c], 0
mov ecx, dword [esp + 0x8c]
cmp ecx, 0x1a
ja 0x42281d
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x8c]
mov esi, dword [esp + 0x8c]
movzx esi, byte [esp + esi + 0x10]
lea edi, [ecx + 0x56]
and edi, esi
add ecx, esi
add edi, edi
sub ecx, edi
add ecx, 0x8dd4a756
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x58]
add cl, 0x2f
mov esi, dword [esp + 0x8c]
mov byte [esp + esi + 0x10], cl
inc dword [esp + 0x8c]
mov ecx, dword [esp + 0x8c]
cmp ecx, 0x1b
jb 0x4227d0
lea esi, [esp + 0x58]
lea eax, [esp + 0x10]
mov ebp, eax
mov edi, esi
mov ecx, 5
xchg esi, ebp
rep movsd dword es:[edi], dword [esi]
xchg esi, ebp
lea edi, [esp + 0x6c]
mov ecx, 1
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
mov ebx, eax
lea eax, [esp + 0xd4]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], esi
mov eax, dword [esp + 0x50]
add eax, 2
mov dword [esp + 0x9c], eax
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x78], 0
cmp ecx, 0xc
setne al
xor ecx, ecx
jmp dword [eax*4 + 0x44710c]