Function at 0x447430
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
mov dword [esp + 4], 0x3c3d3a3b
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov ebp, dword [esp + 0x2c]
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x4a
xor cl, byte [esp + eax + 4]
add cl, 0x8e
mov byte [esp + eax + 4], cl
inc eax
cmp eax, 7
jne 0x447460
mov esi, dword [esp + 4]
mov eax, dword [0x452e1c]
test eax, eax
je 0x4474ca
xor ecx, ecx
mov edx, dword [0x452e20]
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xffff4170
je 0x4474a0
inc ecx
cmp eax, ecx
jne 0x447490
jmp 0x4474ca
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x4474ca
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 2
push dword [esp + 0x38]
push 5
push dword [0x452e24]
push eax
call fcn.00443a10
add esp, 0x20
mov esi, eax
cmp esi, 0xc0000023
jne 0x4476f9
push dword [esp + 0x10]
call fcn.00440940
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], 0x3c3d3a3b
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, edx
add cl, 0x4a
xor cl, byte [esp + edx + 4]
add cl, 0x8e
mov byte [esp + edx + 4], cl
inc edx
cmp edx, 7
jne 0x447510
mov esi, dword [esp + 4]
mov edx, dword [0x452e1c]
test edx, edx
je 0x44758a
xor edi, edi
mov ecx, dword [0x452e20]
nop
nop
nop
nop
cmp dword [ecx + edi*8], 0xffff4170
je 0x447550
inc edi
cmp edx, edi
jne 0x447540
jmp 0x447586
mov edx, dword [ecx + edi*8 + 4]
cmp edx, esi
mov edi, dword [esp + 0x44]
je 0x44758a
lea ecx, [esp + 0x10]
push ecx
push dword [esp + 0x10]
push dword [esp + 8]
push 2
push dword [esp + 0x38]
push 5
push dword [0x452e24]
push edx
mov edi, eax
call fcn.00443a10
add esp, 0x20
mov esi, eax
mov eax, edi
mov edi, dword [esp + 0x44]
test esi, esi
js 0x4476ee
cmp dword [esp + 0x30], 0
je 0x44768f
test ebp, ebp
je 0x447681
mov ecx, dword [esp]
mov ecx, dword [ecx + 0x10]
shr ecx, 1
mov edx, dword [esp + 0x30]
mov edx, dword [edx]
cmp edx, ecx
jb 0x4475b9
mov edx, ecx
test edx, edx
je 0x44767b
add eax, 0x2c
mov ecx, edx
and ecx, 3
je 0x447611
mov dword [esp + 0xc], edx
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [eax]
xor ebx, ebx
test dx, dx
setne bl
lea eax, [eax + ebx*2]
mov word [ebp], dx
add ebp, 2
inc edi
cmp ecx, edi
jne 0x4475e0
mov edx, dword [esp + 0xc]
mov ecx, edx
sub ecx, edi
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
cmp edx, 4
jae 0x447620
jmp 0x44767b
mov ecx, edx
cmp edx, 4
jb 0x44767b
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [eax]
xor ebx, ebx
test dx, dx
setne bl
lea edi, [eax + ebx*2]
mov word [ebp], dx
movzx eax, word [eax + ebx*2]
xor edx, edx
test ax, ax
setne dl
lea ebx, [edi + edx*2]
mov word [ebp + 2], ax
movzx eax, word [edi + edx*2]
xor edx, edx
test ax, ax
setne dl
lea edi, [ebx + edx*2]
mov word [ebp + 4], ax
movzx edx, word [ebx + edx*2]
xor eax, eax
test dx, dx
setne al
mov word [ebp + 6], dx
add ebp, 8
lea eax, [edi + eax*2]
add ecx, 0xfffffffc
jne 0x447620
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
mov word [ebp], 0
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
shr eax, 1
mov ecx, dword [esp + 0x30]
mov dword [ecx], eax
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x44769f
mov eax, dword [esp]
mov eax, dword [eax + 0x14]
mov dword [ecx], eax
mov ebp, dword [esp + 0x38]
test ebp, ebp
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
je 0x4476ba
mov eax, dword [esp]
mov eax, dword [eax + 0x18]
shr eax, 1
mov dword [ebp], eax
test edx, edx
je 0x4476c8
mov eax, dword [esp]
mov eax, dword [eax + 0x1c]
shr eax, 1
mov dword [edx], eax
test ecx, ecx
je 0x4476d4
mov eax, dword [esp]
mov eax, dword [eax + 0x20]
mov dword [ecx], eax
test edi, edi
je 0x4476e2
mov eax, dword [esp]
mov eax, dword [eax + 0x24]
shr eax, 1
mov dword [edi], eax
test ebx, ebx
je 0x4476ee
mov eax, dword [esp]
mov eax, dword [eax + 0x28]
mov dword [ebx], eax
push dword [esp]
call fcn.004409c0
add esp, 4
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret