Function at 0x4471f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [esp + 0x30]
test eax, eax
je 0x44723a
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 0x447210
sar ecx, 1
mov edx, ecx
and edx, 0xfffd
mov esi, ecx
and esi, 2
or ecx, 2
imul ecx, esi
xor esi, 2
imul esi, edx
add ecx, esi
jmp 0x44723c
xor ecx, ecx
mov word [esp + 0xc], cx
mov edx, eax
test eax, eax
je 0x44724c
add ecx, 2
mov edx, ecx
mov esi, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov word [esp + 0xe], dx
mov dword [esp + 0x10], eax
mov dword [esp], 0x2c2d2e2f
mov word [esp + 4], 0
xor eax, eax
nop
nop
nop
mov ecx, eax
add cl, 0x38
xor cl, byte [esp + eax]
add cl, 0xe8
mov byte [esp + eax], cl
inc eax
cmp eax, 6
jne 0x447270
mov ebx, dword [esp]
mov eax, dword [0x453040]
test eax, eax
je 0x4472df
xor ecx, ecx
mov edx, dword [0x453044]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xbbe848dd
je 0x4472b0
inc ecx
cmp eax, ecx
jne 0x4472a0
jmp 0x4472df
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x4472df
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push 0
push 0
push 2
push edx
push dword [esp + 0x40]
push 6
push dword [0x453048]
push eax
call fcn.00443090
add esp, 0x24
mov ebx, eax
mov dword [esp], 0xbffef9df
mov byte [esp + 4], 0
mov eax, 0xc2c50f2a
movzx ecx, byte [esp + eax + 0x3d3af0d6]
xor ecx, eax
mov edx, ecx
xor edx, 0x2c
and ecx, 0x2c
lea ecx, [edx + ecx*2]
add cl, 2
mov byte [esp + eax + 0x3d3af0d6], cl
inc eax
cmp eax, 0xc2c50f2f
jne 0x4472f0
cmp ebx, dword [esp]
jne 0x447442
push dword [esp + 8]
call fcn.004402e0
add esp, 4
mov ecx, dword [esp + 8]
mov dword [esp], 0x2c2d2e2f
mov word [esp + 4], 0
xor edx, edx
mov ebx, edx
add bl, 0x38
xor bl, byte [esp + edx]
add bl, 0xe8
mov byte [esp + edx], bl
inc edx
cmp edx, 6
jne 0x447340
mov ebx, dword [esp]
mov edx, dword [0x453040]
test edx, edx
je 0x4473bd
mov esi, ebp
xor ebp, ebp
mov edi, dword [0x453044]
nop
nop
nop
nop
nop
cmp dword [edi + ebp*8], 0xbbe848dd
je 0x447386
inc ebp
cmp edx, ebp
jne 0x447370
mov ebp, esi
mov esi, dword [esp + 0x38]
jmp 0x4473bd
mov edx, dword [edi + ebp*8 + 4]
cmp edx, ebx
mov ebp, esi
mov esi, dword [esp + 0x38]
je 0x4473bd
lea edi, [esp + 8]
lea ebx, [esp + 0xc]
push edi
push ecx
push eax
push 2
push ebx
push dword [esp + 0x40]
push 6
push dword [0x453048]
push edx
mov edi, eax
call fcn.00443090
add esp, 0x24
mov ebx, eax
mov eax, edi
test ebx, ebx
js 0x447439
test ebp, ebp
je 0x4473cb
mov ecx, dword [eax + 4]
mov dword [ebp], ecx
cmp dword [esp + 0x3c], 0
je 0x447439
test esi, esi
je 0x447430
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov ecx, dword [eax + 8]
cmp edx, ecx
jb 0x4473e5
mov edx, ecx
lea ebp, [eax + 0xc]
mov ecx, edx
shr ecx, 2
mov edi, esi
xchg esi, ebp
rep movsd dword es:[edi], dword [esi]
xchg esi, ebp
mov ecx, edx
and ecx, 0xfffffffc
add esi, ecx
lea ebp, [eax + ecx]
add ebp, 0xc
mov ecx, edx
not ecx
or ecx, 3
add edx, ecx
inc edx
mov ecx, edx
shr ecx, 1
mov dword [esp + 0x14], ebp
mov edi, esi
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
test dl, 1
je 0x447430
and edx, 0xfffffffe
mov ecx, dword [esp + 0x14]
movzx ecx, byte [ecx + edx]
mov byte [esi + edx], cl
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x3c]
mov dword [edx], ecx
push eax
call fcn.00440350
add esp, 4
mov eax, ebx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret