Function at 0x4020ac
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x84
mov edx, dword [esp + 0x88]
push esi
mov esi, dword [esp + 0x94]
mov dword [esp + 0x3c], esi
push edi
mov edi, dword [esp + 0x94]
mov dword [esp + 0x34], edi
test edx, edx
je 0x4024d4
push ebx
lea eax, [esi + 0x3c]
push ebp
mov dword [esp + 0x4c], eax
movups xmm0, xmmword [esi]
mov dword [esp + 0x40], 0xa
movups xmmword [esp + 0x50], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [esp + 0x60], xmm0
movups xmm0, xmmword [esi + 0x20]
movups xmmword [esp + 0x70], xmm0
mov eax, dword [esp + 0x78]
movups xmm0, xmmword [esi + 0x30]
mov edx, dword [esp + 0x7c]
mov esi, dword [esp + 0x60]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x54]
movups xmmword [esp + 0x80], xmm0
mov ecx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x84]
mov edi, dword [esp + 0x80]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x28], eax
jmp 0x40218a
mov esi, dword [esp + 0x38]
add eax, edi
rol eax, 7
xor esi, eax
mov eax, dword [esp + 0x28]
add eax, esi
mov dword [esp + 0x38], esi
rol eax, 9
xor dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
add eax, esi
mov esi, dword [esp + 0x34]
rol eax, 0xd
xor edi, eax
mov eax, dword [esp + 0x20]
add eax, edi
mov dword [esp + 0x44], edi
ror eax, 0xe
xor dword [esp + 0x28], eax
mov edi, dword [esp + 0x2c]
lea eax, [esi + edi]
rol eax, 7
xor dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
add eax, edi
rol eax, 9
xor ebp, eax
mov eax, dword [esp + 0x1c]
add eax, ebp
rol eax, 0xd
xor esi, eax
mov dword [esp + 0x34], esi
lea eax, [esi + ebp]
mov esi, dword [esp + 0x30]
ror eax, 0xe
xor edi, eax
mov eax, dword [esp + 0x14]
add eax, esi
mov dword [esp + 0x2c], edi
rol eax, 7
xor ebx, eax
mov edi, dword [esp + 0x34]
lea eax, [ebx + esi]
rol eax, 9
xor dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
add eax, ebx
rol eax, 0xd
xor dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x24]
ror eax, 0xe
xor esi, eax
lea eax, [edx + ecx]
rol eax, 7
xor dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add eax, ecx
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x28]
rol eax, 9
xor dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x10]
rol eax, 0xd
xor edx, eax
mov eax, dword [esp + 0x18]
add eax, edx
ror eax, 0xe
xor ecx, eax
mov eax, dword [esp + 0x10]
add eax, esi
rol eax, 7
xor edi, eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x54], edi
lea eax, [edi + esi]
mov esi, dword [esp + 0x24]
rol eax, 9
xor esi, eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x58], esi
lea eax, [esi + edi]
mov edi, dword [esp + 0x38]
rol eax, 0xd
xor dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], eax
add eax, esi
ror eax, 0xe
mov esi, dword [esp + 0x28]
xor esi, eax
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0x2c]
rol eax, 7
xor dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x68], eax
add eax, dword [esp + 0x2c]
rol eax, 9
xor dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x6c], eax
add eax, dword [esp + 0x14]
rol eax, 0xd
xor edi, eax
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x18]
add eax, edi
mov dword [esp + 0x38], edi
ror eax, 0xe
mov dword [esp + 0x60], edi
mov edi, dword [esp + 0x2c]
xor edi, eax
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
add eax, esi
mov dword [esp + 0x2c], edi
rol eax, 7
xor edx, eax
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x44]
lea eax, [edx + esi]
rol eax, 9
xor dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x70], eax
add eax, edx
rol eax, 0xd
xor dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x74], eax
add eax, dword [esp + 0x20]
ror eax, 0xe
xor esi, eax
lea eax, [ebx + ecx]
rol eax, 7
xor edi, eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x80], edi
lea eax, [edi + ecx]
rol eax, 9
xor ebp, eax
lea eax, [edi + ebp]
rol eax, 0xd
xor ebx, eax
lea eax, [ebx + ebp]
ror eax, 0xe
xor ecx, eax
sub dword [esp + 0x40], 1
mov eax, dword [esp + 0x28]
jne 0x402186
mov esi, dword [esp + 0x48]
xor eax, eax
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x8c], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], ebp
cmp ecx, dword [esp + 0x4c]
ja 0x4023d1
lea ecx, [esp + 0x8c]
cmp ecx, esi
jb 0x4023d1
mov ecx, dword [esi + eax*4]
add dword [esp + eax*4 + 0x50], ecx
inc eax
cmp eax, 0x10
jl 0x4023c2
jmp 0x4023fe
movups xmm1, xmmword [esp + eax*4 + 0x50]
movups xmm0, xmmword [esi + eax*4]
paddd xmm1, xmm0
movups xmmword [esp + eax*4 + 0x50], xmm1
movups xmm0, xmmword [esp + eax*4 + 0x60]
movups xmm1, xmmword [esi + eax*4 + 0x10]
paddd xmm1, xmm0
movups xmmword [esp + eax*4 + 0x60], xmm1
add eax, 8
cmp eax, 0x10
jl 0x4023d1
add dword [esi + 0x20], 1
mov ebx, edx
mov eax, 0x40
adc dword [esi + 0x24], 0
cmp edx, 0x40
cmova ebx, eax
xor edx, edx
test ebx, ebx
je 0x4024b4
cmp ebx, 0x20
jb 0x402491
lea ecx, [edi - 1]
lea eax, [esp + ebx + 0x4f]
add ecx, ebx
cmp edi, eax
ja 0x402437
lea eax, [esp + 0x50]
cmp ecx, eax
jae 0x402491
mov eax, edi
lea esi, [esp + 0x60]
mov ecx, edi
neg eax
mov ebp, ebx
lea edi, [esp + 0x50]
add edi, eax
and ebp, 0xffffffe0
add eax, esi
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
movups xmm0, xmmword [ecx]
add edx, 0x20
lea ecx, [ecx + 0x20]
movups xmm1, xmmword [eax + ecx - 0x20]
pxor xmm1, xmm0
movups xmmword [ecx - 0x20], xmm1
movups xmm0, xmmword [ecx - 0x10]
movups xmm1, xmmword [esi + ecx - 0x20]
pxor xmm1, xmm0
movups xmmword [ecx - 0x10], xmm1
cmp edx, ebp
jb 0x402462
mov esi, dword [esp + 0x48]
cmp edx, ebx
jae 0x4024b4
lea ebp, [esp + 0x50]
lea ecx, [edx + edi]
sub ebp, edi
mov edi, ebx
sub edi, edx
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edi, 1
jne 0x4024a2
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x98]
add edi, ebx
sub edx, ebx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x98], edx
test edx, edx
jne 0x4020e2
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x84
ret