Function at 0x4461b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [esp + 0x38]
xor ecx, ecx
test eax, eax
je 0x4461e3
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + ecx], 0
lea ecx, [ecx + 2]
jne 0x4461d0
add ecx, 0xfffffffe
and ecx, 0xfffe
mov word [esp + 0x14], cx
mov edx, eax
test eax, eax
je 0x4461f3
add ecx, 2
mov edx, ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xc], ecx
mov word [esp + 0x16], dx
mov dword [esp + 0x18], eax
mov dword [esp + 4], 0xb08f8e8d
mov byte [esp + 8], 0
xor eax, eax
mov ecx, 0x32fa4ae2
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 4]
lea esi, [eax - 0x32fa4ae3]
mov ebx, esi
and ebx, edx
add ebx, ebx
sub ebx, edx
add ebx, ecx
and ebx, esi
mov esi, ebx
and esi, 0xcd05b53d
mov edi, ebx
and edi, 2
mov ebp, ebx
or ebp, 0xfffffffd
inc ebp
imul ebp, esi
or ebx, 2
imul ebx, edi
sub ebp, ebx
lea esi, [eax + edx]
lea edi, [eax + edx]
dec edi
lea edx, [esi + ebp]
add edx, 0x65da60bb
and edi, 1
or edx, 1
add edx, edi
add dl, 0xd0
mov byte [esp + eax + 4], dl
inc eax
dec ecx
cmp eax, 5
jne 0x446220
mov ebx, dword [esp + 4]
mov eax, dword [0x451cfc]
test eax, eax
je 0x4462cf
xor ecx, ecx
mov edx, dword [0x451d00]
cmp dword [edx + ecx*8], 0xbbe848dd
je 0x4462a0
inc ecx
cmp eax, ecx
jne 0x446290
jmp 0x4462cf
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x4462cf
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push 0
push 0
push 2
push edx
push dword [esp + 0x48]
push 6
push dword [0x451d04]
push eax
call fcn.00441c30
add esp, 0x24
mov ebx, eax
mov dword [esp + 4], 0xe1262779
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0xb9
xor cl, byte [esp + eax + 4]
add cl, 0x63
mov byte [esp + eax + 4], cl
inc eax
cmp eax, 4
jne 0x4462e0
cmp ebx, dword [esp + 4]
jne 0x44647f
push dword [esp + 0x10]
call fcn.0043f150
add esp, 4
mov dword [esp], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp + 4], 0xb08f8e8d
mov byte [esp + 8], 0
xor edx, edx
mov eax, 0x32fa4ae2
nop
nop
nop
nop
nop
movzx ebp, byte [esp + edx + 4]
lea ecx, [edx - 0x32fa4ae3]
mov edi, ecx
and edi, ebp
add edi, edi
sub edi, ebp
add edi, eax
and edi, ecx
mov ecx, edi
and ecx, 0xcd05b53d
mov esi, edi
and esi, 2
mov ebx, edi
or ebx, 0xfffffffd
inc ebx
imul ebx, ecx
or edi, 2
imul edi, esi
sub ebx, edi
lea ecx, [edx + ebp]
lea esi, [edx + ebp]
dec esi
add ecx, ebx
add ecx, 0x65da60bb
and esi, 1
or ecx, 1
add ecx, esi
add cl, 0xd0
mov byte [esp + edx + 4], cl
inc edx
dec eax
cmp edx, 5
jne 0x446330
mov ebx, dword [esp + 4]
mov edx, dword [0x451cfc]
test edx, edx
je 0x4463e5
xor edi, edi
mov ebp, dword [0x451d00]
cmp dword [ebp + edi*8], 0xbbe848dd
je 0x4463b1
inc edi
cmp edx, edi
jne 0x4463a0
jmp 0x4463e5
mov edx, dword [ebp + edi*8 + 4]
cmp edx, ebx
je 0x4463e5
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push dword [esp + 0x20]
mov eax, dword [esp + 8]
push eax
push 2
push ecx
push dword [esp + 0x48]
push 6
push dword [0x451d04]
push edx
call fcn.00441c30
add esp, 0x24
mov ebx, eax
test ebx, ebx
mov ecx, dword [esp + 0x40]
js 0x446474
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x446401
mov eax, dword [esp]
mov eax, dword [eax + 4]
mov dword [edx], eax
cmp dword [esp + 0x44], 0
je 0x446474
test ecx, ecx
je 0x446468
mov eax, dword [esp + 0x44]
mov edx, dword [eax]
mov eax, dword [esp]
mov ecx, dword [eax + 8]
cmp edx, ecx
jb 0x44641e
mov edx, ecx
mov eax, dword [esp]
lea esi, [eax + 0xc]
mov ecx, edx
shr ecx, 2
mov edi, dword [esp + 0x40]
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov ecx, edx
and ecx, 0xfffffffc
add dword [esp + 0xc], ecx
lea ebp, [eax + ecx]
add ebp, 0xc
mov ecx, edx
shr ecx, 1
and ecx, 1
mov eax, ebp
mov edi, dword [esp + 0xc]
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov ecx, dword [esp + 0xc]
test dl, 1
je 0x446468
and edx, 2
movzx eax, byte [ebp + edx]
mov byte [ecx + edx], al
mov eax, dword [esp]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x44]
mov dword [ecx], eax
push dword [esp]
call fcn.0043f1f0
add esp, 4
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret