Function at 0x447a30
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [esp + 0x34]
test eax, eax
je 0x447a7a
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x447a50
sar ecx, 1
mov edx, ecx
and edx, 2
mov esi, ecx
or ecx, 2
imul ecx, edx
xor edx, 2
and esi, 0xfffd
imul esi, edx
add ecx, esi
jmp 0x447a7c
xor ecx, ecx
mov word [esp + 0x10], cx
mov edx, eax
test eax, eax
je 0x447a8c
add ecx, 2
mov edx, ecx
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
mov word [esp + 0x12], dx
mov dword [esp + 0x14], eax
mov dword [esp], 0x3c3d3a3b
mov word [esp + 4], 0
mov byte [esp + 6], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x4a
xor cl, byte [esp + eax]
add cl, 0x8e
mov byte [esp + eax], cl
inc eax
cmp eax, 7
jne 0x447ac0
mov ebx, dword [esp]
mov eax, dword [0x452e1c]
test eax, eax
je 0x447b2c
xor ecx, ecx
mov edx, dword [0x452e20]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xbbe848dd
je 0x447b00
inc ecx
cmp eax, ecx
jne 0x447af0
jmp 0x447b2c
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x447b2c
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push 0
push 0
push 2
push edx
push esi
push 6
push dword [0x452e24]
push eax
call fcn.00443a10
add esp, 0x24
mov ebx, eax
mov dword [esp], 0x539291f3
mov eax, 0xa4
mov ecx, 0x5b
nop
nop
nop
movzx edi, byte [esp + eax - 0xa4]
mov edx, ecx
xor edx, eax
and edx, edi
xor edx, eax
add dl, 0xcc
mov byte [esp + eax - 0xa4], dl
inc eax
dec ecx
cmp eax, 0xa8
jne 0x447b40
cmp ebx, dword [esp]
jne 0x447cd3
push dword [esp + 0xc]
call fcn.00440940
add esp, 4
mov dword [esp + 8], eax
mov ecx, dword [esp + 0xc]
mov dword [esp], 0x3c3d3a3b
mov word [esp + 4], 0
mov byte [esp + 6], 0
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, edx
add bl, 0x4a
xor bl, byte [esp + edx]
add bl, 0x8e
mov byte [esp + edx], bl
inc edx
cmp edx, 7
jne 0x447ba0
mov ebx, dword [esp]
mov edx, dword [0x452e1c]
test edx, edx
je 0x447c12
mov eax, ebp
xor ebp, ebp
mov edi, dword [0x452e20]
nop
nop
nop
nop
nop
cmp dword [edi + ebp*8], 0xbbe848dd
je 0x447be2
inc ebp
cmp edx, ebp
jne 0x447bd0
mov ebp, eax
jmp 0x447c12
mov edx, dword [edi + ebp*8 + 4]
cmp edx, ebx
mov ebp, eax
je 0x447c12
lea edi, [esp + 0xc]
lea ebx, [esp + 0x10]
push edi
push ecx
mov eax, dword [esp + 0x10]
push eax
push 2
push ebx
push esi
push 6
push dword [0x452e24]
push edx
call fcn.00443a10
add esp, 0x24
mov ebx, eax
test ebx, ebx
js 0x447cc7
test ebp, ebp
je 0x447c28
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp], ecx
cmp dword [esp + 0x40], 0
je 0x447cc7
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x447cba
mov eax, esi
mov ecx, dword [esp + 0x40]
mov esi, dword [ecx]
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + 8]
cmp esi, ecx
jb 0x447c50
mov esi, ecx
mov edx, dword [esp + 8]
lea ebp, [edx + 0xc]
mov ecx, esi
shr ecx, 2
mov edi, eax
xchg esi, ebp
rep movsd dword es:[edi], dword [esi]
xchg esi, ebp
mov ecx, esi
and ecx, 0xfffffffc
add eax, ecx
lea ebp, [edx + ecx]
add ebp, 0xc
mov dword [esp + 0x18], ebp
mov edx, esi
and edx, 3
mov ecx, edx
shr ecx, 1
mov edi, eax
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
mov edi, dword [esp + 0x18]
mov ecx, esi
xor ecx, 2
and ecx, edx
je 0x447cba
and esi, 2
movzx edx, byte [edi + esi]
mov byte [eax + esi], dl
cmp ecx, 1
je 0x447cba
movzx edx, byte [edi + esi + 1]
mov byte [eax + esi + 1], dl
cmp ecx, 2
je 0x447cba
movzx ecx, byte [edi + esi + 2]
mov byte [eax + esi + 2], cl
mov eax, dword [esp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x40]
mov dword [edx], ecx
push dword [esp + 8]
call fcn.004409c0
add esp, 4
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret