Function at 0x41a020
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x1a0
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x18], 0x18e31827
mov dword [esp + 0x1c], 0x18e418f9
mov dword [esp + 0x20], 0x180d18e2
mov eax, 0x4a48
mov ecx, 0xab1cb5b7
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, word [esp + eax*2 - 0x9478]
mov edx, eax
xor edx, ecx
and edx, esi
xor edx, ecx
lea esi, [edx + edx]
not esi
add esi, edx
add esi, 0x58e5adbf
mov edi, esi
and edi, 1
and esi, 0xfffe
and edx, 1
or edx, esi
xor edx, 1
lea edx, [edx + edi*2]
mov word [esp + eax*2 - 0x9478], dx
inc eax
dec ecx
cmp eax, 0x4a4e
jne 0x41a060
mov dword [esp + 0x30], 0xf8cdf8d0
mov dword [esp + 0x34], 0xf8cbf8ce
mov dword [esp + 0x38], 0xf712f706
mov dword [esp + 0x3c], 0xf8d3f711
mov dword [esp + 0x40], 0xf922f92f
mov dword [esp + 0x44], 0xf92ff923
mov dword [esp + 0x48], 0xf92af92c
mov dword [esp + 0x4c], 0xf933f935
mov dword [esp + 0x50], 0xf6c9f6f2
xor eax, eax
nop
nop
lea ecx, [eax + 0x70f8]
xor cx, word [esp + eax*2 + 0x30]
add ecx, 0x7840
mov word [esp + eax*2 + 0x30], cx
inc eax
cmp eax, 0x12
jne 0x41a0f0
movzx ecx, word [esp + 0x30]
lea eax, [esp + 0x15c]
test cx, cx
je 0x41a143
lea edx, [esp + 0x32]
mov esi, dword [ebp + 0x10]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41a130
jmp 0x41a146
mov esi, dword [ebp + 0x10]
mov word [eax], 0
movzx ecx, word [esi]
test cx, cx
je 0x41a171
lea edx, [esi + 2]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41a160
mov word [eax], 0
movzx ecx, word [esp + 0x18]
test cx, cx
je 0x41a1a1
lea edx, [esp + 0x1a]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41a190
mov word [eax], 0
mov edi, dword [ebx]
mov dword [esp + 0x30], 0x5cd0520
mov word [esp + 0x34], 0x7e2c
mov eax, 0xf1fa
mov ecx, 0xe05
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [esp + eax*2 - 0x1e3c4]
mov esi, edx
not esi
or esi, ecx
or edx, eax
and edx, esi
add edx, 0x7030
mov word [esp + eax*2 - 0x1e3c4], dx
inc eax
dec ecx
cmp eax, 0xf1fd
jne 0x41a1d0
movzx eax, byte [esp + 0x30]
test al, al
je 0x41a21b
lea ecx, [esp + 0x31]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edi], al
inc edi
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x41a210
mov dword [esp + 0x10], edi
mov byte [edi], 0
lea eax, [esp + 0x140]
lea ecx, [esp + 0x150]
lea edx, [esp + 0x2c]
lea esi, [esp + 0x15c]
push eax
push ecx
push edx
push esi
call fcn.0040ad10
add esp, 0x10
movzx eax, al
mov eax, dword [eax*4 + 0x442580]
mov ecx, 0xf7d41967
xor ecx, dword [0x442588]
add eax, ecx
inc eax
jmp eax
add byte [ecx + 3], dl
and byte [esi + ecx - 9], dl
push eax
add byte [ebp + 0x270078a2], ch
and al, 0xef
jo 0x5f52d0
add byte [ebx - 0x4e98749a], bh
cmpsb byte [esi], byte es:[edi]
push cs
cdq
add byte [esi], bh
cwd
add byte [eax], bh
test dword [eax + ecx + 0x2b], edx
invalid
pop es
jmp 0xcaadf28e
dec edx
jo 0x5f5284
adc al, 0x76
wait
std
mov eax, dword [0x4a680521]
xor eax, 0x8ba5d7d8
xlatb
movsd dword es:[edi], dword [esi]
mov ebx, ecx
inc ebp
adc al, 0xde
invalid
aad 0x45
jl 0x5f52e5
xlatb
movsd dword es:[edi], dword [esi]
mov ebx, ecx
inc ebp
adc al, 0xde
invalid
adc al, 0x36
add byte [eax], cl
add byte ss:[eax], cl
add byte ss:[eax + 0x100078d5], bl
push cs
adc dword [edi], esi
movsb byte es:[edi], byte [esi]
sar dword [esi + 0x60bddde0], 0x99
pushal
cdq
add ch, al
and eax, 0x2a7d98b
dec esp
dec ebp
xchg esi, eax
and eax, 0x50bc34
cmp al, byte [eax]
mov esp, 0x3a0050
dec eax
add byte [edi + 0x7007860], cl
jge 0x5f52ae
int1
cdq
add byte [esi], dh
add byte [esi], dh
add al, dh
cwde
daa
and eax, 0x4b3dcbce
dec eax
add cl, al
js 0x5f5316
cmp al, byte [eax]
js 0x5f531a
sbb esp, dword [ebp + 0x7bc47668]
push eax
add byte [eax], cl
test al, 0
jbe 0x5f52b7
js 0x5f532a
in al, 0x3c
test al, 0xda
in eax, 0x5c
xor eax, 0x200099e0
iretd
xor ebx, dword [ecx - 0x6607c300]
add byte [eax], bh
test al, 0
add byte [eax], al
cdq
add byte [edx + edx*8], bh
js 0x5f5354
dec eax
add ch, dh
jbe 0x5f52f3
cwde
js 0x5f535c
cdq
add byte [edx], bh
add byte [eax], cl
js 0x5f5364
xchg byte [eax], al
call 0x78eecfe6
add byte [ecx - 0x79ffb000], bl
add byte [eax], bh
dec eax
add byte [eax], dl
js 0x5f537a
int 0xbb
cdq
add byte [ebx], bl
scasd eax, dword es:[edi]
pop ebp
mov eax, 0xcf200099
js 0x5f5388
push eax
add byte [esi], dh
add byte [0xe300360e], dl
adc al, 0x99
add byte [esi - 0x29ff6700], al
fbstp tbyte [edx + 0x7e]
xchg byte [eax], al
push eax
add dh, cl
insd dword es:[edi], dx
cmp al, byte [eax]
add byte ss:[edx], bh
add byte [esi - 0x57ffb800], al
add byte [eax], cl
push eax
add byte [esi], dh
add byte [eax - 0x39810800], ch
bound ebx, qword [edi]
add byte [eax], ah
add byte [eax - 0x79fc9d00], ch
add byte [esi - 0x66fd8700], al
add byte [edi], dh
and cl, dh
push ss
jno 0x5f53ea
mov ax, word [0x3d1065d2]
push eax
add byte [esi], dh
add byte [esi], dh
add bh, cl
mov eax, 0x780078
add byte ss:[ecx*2 - 0x2c170b2], bl
xor byte [esi + 0x30ec6440], 0xd8
or al, 0x8c
jns 0x5f5468
sbb al, byte [0x86003a]
add byte ss:[edx + 0x3adaf958], ah
add byte [eax + 0x78005000], ch
add byte [eax - 0x630f1074], bh
jae 0x5f53f6
popfd
dec eax
add byte [esi], dh
add ah, bl
sub dh, byte [esi - 0x18ff8724]
pop ebp
retf
sbb ah, byte [eax - 0x13feae6a]
scasb al, byte es:[edi]
pop es
adc eax, 0xa84c0ac0
add byte [edx], bl
mov al, pe_nt_image_headers32
add byte [eax], dl
js 0x5f547e
xchg byte [eax], al
add byte ss:[ebx + 0x28], ah
mov byte [esi], cl
js 0x5f5488
rol byte [edi], cl
sti
mov eax, dword [0x3a0078]
test al, 0
test al, 0
xor edx, dword [ecx + 0x42]
fld qword [esi - 0x79ffca00]
add byte [eax], bh
scasb al, byte es:[edi]
mov ebx, 0xd98b8379
inc eax
into
daa
invalid