Function at 0x420ac0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x160
movaps xmm0, xmmword [str.1mk]
movups xmmword [esp + 0x20], xmm0
mov dword [esp + 0x30], 0x5b5a5d01
lea eax, [esp + 0x34]
mov dword [esp + 0x34], 0
mov dword [esp + 0x37], 0
mov dword [esp + 0x60], 0
mov ecx, dword [esp + 0x60]
cmp ecx, 0x1a
ja 0x420b63
nop dword [eax + eax]
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x60]
movzx ecx, byte [esp + ecx + 0x20]
add edx, 0x2d71a8d2
mov esi, edx
and esi, ecx
mov edi, edx
xor edi, ecx
or edx, ecx
xor edx, edi
lea ecx, [edi + esi*2]
add edx, edx
sub ecx, edx
mov edx, 0xa1e00eff
sub edx, ecx
add ecx, 0x5e1ff180
and edx, 0xbe
and ecx, 0x41
sub ecx, edx
mov edx, dword [esp + 0x60]
mov byte [esp + edx + 0x20], cl
inc dword [esp + 0x60]
mov ecx, dword [esp + 0x60]
cmp ecx, 0x1b
jb 0x420b10
lea esi, [esp + 0x132]
lea edx, [esp + 0x20]
mov ecx, 5
mov edi, esi
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x146]
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
lea edi, [esp + 0xac]
push edi
push 0
push 0
push 9
push esi
push 0
call dword [0x446390]
mov ebx, dword [esp + 0xac]
lea eax, [ebx + ebx]
test ebx, ebx
mov ecx, 0xffffffff
cmovns ecx, eax
push ecx
call fcn.004088f0
add esp, 4
push edi
push ebx
mov edi, eax
push eax
push 9
push esi
push 0
call dword [0x446390]
movaps xmm0, xmmword [0x43bbc0]
movups xmmword [esp + 0x20], xmm0
lea edx, [esp + 0x30]
mov dword [esp + 0x30], 0
mov dword [esp + 0x33], 0
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x60]
cmp eax, 0x16
ja 0x420c33
nop
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x60]
movzx esi, byte [esp + eax + 0x20]
lea eax, [ecx + esi]
add eax, 0x65
add ecx, 0x65
and ecx, esi
add ecx, ecx
sub eax, ecx
add al, 0x3d
mov ecx, dword [esp + 0x60]
mov byte [esp + ecx + 0x20], al
inc dword [esp + 0x60]
mov eax, dword [esp + 0x60]
cmp eax, 0x17
jb 0x420c00
mov dword [esp + 0x5c], edi
lea edi, [esp + 0xec]
lea eax, [esp + 0x20]
mov ecx, 4
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea edi, [esp + 0xfc]
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
movaps xmm0, xmmword [0x43bbd0]
movups xmmword [esp + 0x20], xmm0
movsd xmm0, qword [0x43bbe0]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 0x38], 0x5b5c5dd9
lea esi, [esp + 0x3c]
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov word [esp + 0x44], 0
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x60]
cmp eax, 0x25
ja 0x420ce3
nop dword [eax]
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x60]
movzx edx, byte [esp + eax + 0x20]
lea eax, [ecx + edx]
add eax, 0x11
add ecx, 0x11
and ecx, edx
add ecx, ecx
sub eax, ecx
add al, 0x89
mov ecx, dword [esp + 0x60]
mov byte [esp + ecx + 0x20], al
inc dword [esp + 0x60]
mov eax, dword [esp + 0x60]
cmp eax, 0x26
jb 0x420cb0
lea edi, [esp + 0x116]
lea eax, [esp + 0x20]
mov ecx, 7
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea edi, [esp + 0x132]
xor ecx, ecx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
movaps xmm0, xmmword [0x43bbf0]
movups xmmword [esp + 0x20], xmm0
mov dword [esp + 0x30], 0x4b8849b4
lea ebx, [esp + 0x34]
mov word [esp + 0x34], 0x7574
mov dword [esp + 0x36], 0
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x60]
cmp eax, 0x19
ja 0x420d91
nop
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x60]
movzx esi, byte [esp + ecx + 0x20]
lea edi, [eax + 0x7238ef8c]
lea ecx, [eax + esi]
add ecx, 0x7238ef8c
add eax, 0x8c
mov edx, eax
and edx, edi
and edx, esi
xor eax, edi
and eax, esi
lea eax, [eax + edx*2]
mov edx, ecx
not edx
and edx, eax
not eax
and eax, ecx
sub eax, edx
add al, 0x2c
mov ecx, dword [esp + 0x60]
mov byte [esp + ecx + 0x20], al
inc dword [esp + 0x60]
mov eax, dword [esp + 0x60]
cmp eax, 0x1a
jb 0x420d40
lea esi, [esp + 0x146]
lea eax, [esp + 0x20]
mov ecx, 5
mov edi, esi
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea edi, [esp + 0x15a]
mov ecx, 1
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
lea eax, [esp + 0xec]
mov dword [esp + 0xe0], eax
lea eax, [esp + 0x116]
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], esi
mov ebx, dword [esp + 0x5c]
mov eax, ebx
add eax, 2
mov dword [esp + 0xc8], eax
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x9c], 0
cmp ecx, 3
setne al
mov eax, dword [eax*4 + 0x44176c]
mov ecx, 0x9764817
xor ecx, dword [0x441774]
add eax, ecx
inc eax
xor edx, edx
jmp eax
insb byte es:[edi], dx
mov esp, eax
push eax
sub esp, 0x14
mov eax, esp
and eax, 0xfffffff8
mov dword [esi + 0x94], eax
mov esp, eax
push eax
mov dword [esi + 0x174], esp
push eax
mov dword [esi + 0x68], esp
push eax
mov dword [esi + 0x64], esp
push eax
mov dword [esi + 0xf0], esp
sub esp, 0x10
mov eax, esp
and eax, 0xfffffff8
mov dword [esi + 0xec], eax
mov esp, eax
push eax
mov dword [esi + 0xe8], esp
sub esp, 0x10
mov eax, esp
and eax, 0xfffffff8
mov dword [esi + 0xc], eax
mov esp, eax
push eax
sub esp, 0x24
mov eax, esp
and eax, 0xfffffff8
mov dword [esi + 0x70], eax
mov esp, eax
push eax
mov dword [esi + 0x194], esp
push eax
mov dword [esi + 0x74], esp
push eax
mov dword [esi + 0xf8], esp
push eax
mov dword [esi + 8], esp
push eax
mov dword [esi + 0xf4], esp
sub esp, 0x10
mov eax, esp
and eax, 0xfffffff8
mov dword [esi + 0x44], eax
mov esp, eax
push eax
sub esp, 0x24
mov eax, esp
and eax, 0xfffffff8
mov dword [esi + 0x50], eax
mov esp, eax
push eax
mov dword [esi + 0xfc], esp
sub esp, 0x10
mov eax, esp
and eax, 0xfffffff8
mov dword [esi + 0x54], eax
mov esp, eax
push eax
sub esp, 0x1c
mov eax, esp
and eax, 0xfffffff8
mov dword [esi + 0x98], eax
mov esp, eax
push eax
mov dword [esi + 0x1a4], esp
push eax
mov dword [esi + 0x100], esp
push eax
mov dword [esi + 0x1b4], esp
push eax
mov dword [esi + 0x9c], esp
push eax
mov dword [esi + 0x1bc], esp
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov dword [ebx], 0x7ffe0000
mov eax, dword [ebx]
mov eax, dword [eax + 0x26c]
mov ecx, dword [edi]
mov dword [ecx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x270]
mov ecx, dword [edi]
mov dword [ecx + 4], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x260]
mov ecx, dword [edi]
mov dword [ecx + 8], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x264]
sub eax, 2
mov eax, dword [edi]
sete byte [eax + 0xc]
mov eax, dword [edi]
add eax, 0x10
mov dword [esi + 0x3fc], 0
mov ecx, dword [esi + 0x400]
mov edx, dword [esi + 0x3fc]
mov ecx, dword [ecx + edx*4]
mov edx, dword [0x4425c4]
xor edx, 0x71b15b6e
sub ecx, edx
jmp ecx
add edx, 0xffffffff
add ecx, 0xffffffff
mov bl, byte [ebx]
add edi, 0xffffffff
mov byte [eax], bl
cmp edx, 0
mov eax, edi
mov ebx, ecx
jne case.0x420e19.0
jmp 0x42820c
mov dword [esi + 0x33c], 1
mov eax, dword [esi + 0x340]
mov ecx, dword [esi + 0x33c]
mov eax, dword [eax + ecx*4]
mov ecx, dword [0x4426f0]
xor ecx, 0x8caf1ee7
sub eax, ecx
mov edi, dword [esi + 0x6c]
jmp eax