Function at 0x446990
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebx, dword [esp + 0x30]
mov dword [esp], 0x2c2d2e2f
mov word [esp + 4], 0
xor eax, eax
nop
nop
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 0x4469b0
mov esi, dword [esp]
mov eax, dword [0x453040]
test eax, eax
je 0x446a1e
xor ecx, ecx
mov edx, dword [0x453044]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x8784ccde
je 0x4469f0
inc ecx
cmp eax, ecx
jne 0x4469e0
jmp 0x446a1e
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x446a1e
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 6
push dword [0x453048]
push eax
call fcn.00443090
add esp, 0x24
mov esi, eax
mov dword [esp], 0x632221c3
mov dword [esp + 4], 0
mov eax, esp
mov ecx, 0x1ffb76b7
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [eax]
mov edx, ecx
or edx, edi
lea ebp, [ecx - 0x1ffb7600]
and ebp, edi
not edx
or edx, ebp
lea edi, [edx + edx]
mov ebp, edi
not ebp
and edi, 0x3fd2a32e
xor edx, 0x9fe95197
add edx, edi
and ebp, 2
sub edx, ebp
inc edx
mov edi, edx
and edi, ebp
xor edx, ebp
lea edx, [edx + edi*2]
mov byte [eax], dl
inc eax
dec ecx
cmp ecx, 0x1ffb76af
jne 0x446a40
cmp esi, dword [esp]
jne 0x446c1f
push dword [esp + 0xc]
call fcn.004402e0
add esp, 4
mov ebp, eax
mov edi, dword [esp + 0xc]
mov dword [esp], 0x2c2d2e2f
mov word [esp + 4], 0
xor edx, edx
nop
nop
mov ecx, edx
add cl, 0x38
xor cl, byte [esp + edx]
add cl, 0xe8
mov byte [esp + edx], cl
inc edx
cmp edx, 6
jne 0x446ab0
mov esi, dword [esp]
mov edx, dword [0x453040]
test edx, edx
je 0x446b28
mov dword [esp + 8], edi
mov ecx, ebp
xor edi, edi
mov ebp, dword [0x453044]
nop
cmp dword [ebp + edi*8], 0x8784ccde
je 0x446af3
inc edi
cmp edx, edi
jne 0x446ae0
mov ebp, ecx
jmp 0x446b28
mov edx, dword [ebp + edi*8 + 4]
cmp edx, esi
mov ebp, ecx
je 0x446b28
lea ecx, [esp + 0xc]
push ecx
push dword [esp + 0xc]
push ebp
push 0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 6
push dword [0x453048]
push edx
mov edi, eax
call fcn.00443090
add esp, 0x24
mov esi, eax
mov eax, edi
mov edx, dword [esp + 0x34]
test edx, edx
je 0x446c16
test esi, esi
js 0x446c16
test ebx, ebx
je 0x446c0f
mov ecx, dword [ebp + 0xc]
shr ecx, 1
mov edi, dword [edx]
cmp edi, ecx
jb 0x446b51
mov edi, ecx
test edi, edi
mov dword [esp + 0x10], ebp
je 0x446c06
add eax, 0x10
mov ecx, edi
and ecx, 3
je 0x446b9e
mov dword [esp + 8], edi
xor edi, edi
nop
nop
nop
movzx ebp, word [eax]
xor edx, edx
test bp, bp
setne dl
lea eax, [eax + edx*2]
mov word [ebx], bp
add ebx, 2
inc edi
cmp ecx, edi
jne 0x446b70
mov ecx, dword [esp + 8]
mov ebp, ecx
sub ebp, edi
mov edi, ecx
mov edx, dword [esp + 0x34]
cmp edi, 4
jae 0x446bb0
jmp 0x446c06
mov ebp, edi
cmp edi, 4
jb 0x446c06
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [eax]
xor ecx, ecx
test dx, dx
setne cl
lea edi, [eax + ecx*2]
mov word [ebx], dx
movzx eax, word [eax + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edx, [edi + ecx*2]
mov word [ebx + 2], ax
movzx eax, word [edi + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edi, [edx + ecx*2]
mov word [ebx + 4], ax
movzx ecx, word [edx + ecx*2]
xor eax, eax
test cx, cx
setne al
mov word [ebx + 6], cx
add ebx, 8
lea eax, [edi + eax*2]
add ebp, 0xfffffffc
jne 0x446bb0
mov edx, dword [esp + 0x34]
mov word [ebx], 0
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp + 0xc]
shr eax, 1
mov dword [edx], eax
push ebp
call fcn.00440350
add esp, 4
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret