Function at 0x447910
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10c
mov eax, dword [0x526b24]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x12c]
xorps xmm0, xmm0
push ebx
mov ebx, dword [esp + 0x114]
mov ecx, ebx
push ebp
mov ebp, dword [esp + 0x11c]
mov edx, ebp
push esi
mov esi, dword [esp + 0x134]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x13c]
push edi
mov edi, dword [esp + 0x134]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x144]
mov dword [esp + 0x50], edi
mov dword [esp + 0x3c], eax
movups xmmword [esp + 0x5c], xmm0
mov dword [esp + 0x94], 0
movups xmmword [esp + 0x6c], xmm0
mov dword [esp + 0x98], 0
movups xmmword [esp + 0x7c], xmm0
movq qword [esp + 0x8c], xmm0
nop
mov eax, dword [ecx]
lea ecx, [ecx + 4]
inc dword [esp + eax*4 + 0x5c]
sub edx, 1
jne 0x4479a0
cmp dword [esp + 0x5c], ebp
jne 0x4479bf
mov dword [edi], edx
mov dword [esi], edx
xor eax, eax
jmp 0x447d7a
mov edx, dword [esi]
mov ecx, 1
cmp dword [esp + ecx*4 + 0x5c], 0
jne 0x4479d3
inc ecx
cmp ecx, 0xf
jbe 0x4479c6
cmp edx, ecx
mov dword [esp + 0x14], ecx
mov eax, ecx
cmovae eax, edx
mov edx, 0xf
cmp dword [esp + edx*4 + 0x5c], 0
jne 0x4479ef
sub edx, 1
jne 0x4479e3
cmp eax, edx
mov dword [esp + 0x2c], edx
mov edi, edx
cmovbe edi, eax
mov dword [esi], edi
mov esi, 1
shl esi, cl
mov dword [esp + 0x20], edi
cmp ecx, edx
jae 0x447a21
nop dword [eax + eax]
sub esi, dword [esp + ecx*4 + 0x5c]
js 0x447d75
inc ecx
add esi, esi
cmp ecx, edx
jb 0x447a10
lea ecx, [edx*4]
mov eax, dword [esp + ecx + 0x5c]
sub esi, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x58], esi
js 0x447d75
add eax, esi
lea edi, [esp + 0xa4]
mov dword [esp + ecx + 0x5c], eax
lea esi, [esp + 0x60]
xor ecx, ecx
mov dword [esp + 0xa0], ecx
sub edx, 1
je 0x447a72
nop dword [eax + eax]
mov eax, dword [esi]
lea esi, [esi + 4]
add ecx, eax
lea edi, [edi + 4]
mov dword [edi - 4], ecx
sub edx, 1
jne 0x447a60
xor ecx, ecx
mov edx, dword [ebx]
lea ebx, [ebx + 4]
mov esi, dword [esp + 0x3c]
test edx, edx
je 0x447a93
mov eax, dword [esp + edx*4 + 0x9c]
mov dword [esi + eax*4], ecx
inc eax
mov dword [esp + edx*4 + 0x9c], eax
inc ecx
cmp ecx, ebp
jb 0x447a74
mov eax, dword [esp + 0x30]
xor ebp, ebp
mov edx, dword [esp + 0x20]
or ecx, 0xffffffff
mov ebx, edx
mov dword [esp + 0x18], esi
neg ebx
mov dword [esp + 0x30], ebp
mov eax, dword [esp + eax + 0x9c]
xor esi, esi
mov dword [esp + 0x54], eax
xor edi, edi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0xdc], ebp
cmp eax, dword [esp + 0x2c]
jg 0x447d58
lea eax, [esp + eax*4 + 0x5c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx]
test ecx, ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x10]
je 0x447d44
mov eax, dword [esp + 0x24]
mov dword [esp + 0x48], eax
dec eax
mov dword [esp + 0x24], eax
lea eax, [edx + ebx]
cmp dword [esp + 0x14], eax
jle 0x447c20
mov edi, dword [esp + 0x2c]
mov ebx, eax
inc ecx
mov dword [esp + 0x40], ebx
sub edi, ebx
mov dword [esp + 0x10], ecx
cmp edi, edx
mov eax, 1
cmova edi, edx
mov edx, dword [esp + 0x14]
sub edx, ebx
mov ecx, edx
shl eax, cl
cmp eax, dword [esp + 0x48]
jbe 0x447b83
mov esi, dword [esp + 0x28]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x24]
add eax, ecx
cmp edx, edi
jae 0x447b83
inc edx
cmp edx, edi
jae 0x447b83
nop dword [eax]
mov ecx, dword [esi + 4]
lea esi, [esi + 4]
add eax, eax
cmp eax, ecx
jbe 0x447b83
inc edx
sub eax, ecx
cmp edx, edi
jb 0x447b70
mov eax, dword [esp + 0x44]
mov ecx, edx
mov edi, 1
shl edi, cl
mov eax, dword [eax]
lea ecx, [eax + edi]
cmp ecx, 0x5a0
ja 0x447d75
mov esi, dword [esp + 0x4c]
lea esi, [esi + eax*8]
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0xdc], esi
mov eax, dword [esp + 0x44]
mov dword [eax], ecx
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x447c09
mov eax, dword [esp + 0x20]
mov dword [esp + ecx*4 + 0x9c], ebp
mov ecx, ebx
sub ecx, eax
mov byte [esp + 0x35], al
mov eax, dword [esp + 0x10]
mov byte [esp + 0x34], dl
mov edx, ebp
shr edx, cl
mov ecx, dword [esp + eax*4 + 0xd8]
mov eax, esi
sub eax, ecx
sar eax, 3
sub eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + edx*8], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + edx*8 + 4], eax
mov ecx, dword [esp + 0x10]
jmp 0x447c0f
mov eax, dword [esp + 0x50]
mov dword [eax], esi
mov edx, dword [esp + 0x20]
lea eax, [edx + ebx]
cmp dword [esp + 0x14], eax
jg 0x447b28
mov edx, dword [esp + 0x14]
mov al, dl
mov ecx, dword [esp + 0x54]
sub al, bl
mov byte [esp + 0x35], al
mov eax, dword [esp + 0x3c]
lea eax, [eax + ecx*4]
cmp dword [esp + 0x18], eax
jb 0x447c44
mov byte [esp + 0x34], 0xc0
jmp 0x447c9a
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x128]
mov dword [esp + 0x1c], ecx
cmp ecx, eax
jae 0x447c72
cmp ecx, 0x100
sbb al, al
and al, 0xa0
add al, 0x60
mov byte [esp + 0x34], al
jmp 0x447c9a
sub ecx, eax
mov eax, dword [esp + 0x130]
mov al, byte [eax + ecx*4]
add al, 0x50
mov byte [esp + 0x34], al
mov eax, dword [esp + 0x12c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
mov ecx, edx
mov eax, ebp
sub ecx, ebx
mov edx, 1
shl edx, cl
mov ecx, ebx
shr eax, cl
cmp eax, edi
jae 0x447ccc
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x1c]
mov dword [esi + eax*8], ecx
mov dword [esi + eax*8 + 4], ebx
add eax, edx
cmp eax, edi
jb 0x447cb7
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
mov eax, 1
lea ecx, [ecx - 1]
shl eax, cl
test ebp, eax
je 0x447ce8
nop
xor ebp, eax
shr eax, 1
test ebp, eax
jne 0x447ce0
mov edx, dword [esp + 0x20]
xor ebp, eax
mov ecx, ebx
mov dword [esp + 0x30], ebp
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x10]
dec eax
and eax, ebp
cmp eax, dword [esp + ecx*4 + 0x9c]
je 0x447d34
nop dword [eax + eax]
dec ecx
sub ebx, edx
mov dword [esp + 0x10], ecx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
dec eax
and eax, ebp
cmp eax, dword [esp + ecx*4 + 0x9c]
jne 0x447d10
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x447b12
mov eax, dword [esp + 0x14]
add dword [esp + 0x28], 4
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x2c]
jle 0x447af8
cmp dword [esp + 0x58], 0
je 0x4479b8
cmp dword [esp + 0x2c], 1
je 0x4479b8
mov eax, 0xfffffffb
jmp 0x447d7a
mov eax, 0xfffffffd
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004ebadf
add esp, 0x10c
ret