Function at 0x446480
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], 0x1c1d1a1b
mov dword [esp + 4], 0
mov eax, 0x5df8893a
nop
movzx ecx, byte [esp + eax - 0x5df8893a]
xor ecx, eax
mov edx, ecx
and edx, 0x5d
xor ecx, 0xdd
lea ecx, [ecx + edx*2]
inc cl
mov byte [esp + eax - 0x5df8893a], cl
inc eax
cmp eax, 0x5df88942
jne 0x4464a0
mov esi, dword [esp]
mov eax, dword [0x451f80]
test eax, eax
je 0x44651e
xor ecx, ecx
mov edx, dword [0x451f84]
nop
nop
nop
cmp dword [edx + ecx*8], 0x8784ccde
je 0x4464f0
inc ecx
cmp eax, ecx
jne 0x4464e0
jmp 0x44651e
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x44651e
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 6
push dword [0x451f88]
push eax
call fcn.00442960
add esp, 0x24
mov esi, eax
mov dword [esp], 0x73323113
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov eax, 0x74
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x74]
lea edx, [eax - 0x756a6d00]
mov edi, eax
and edi, ecx
or edx, ecx
xor edx, edi
lea ecx, [edx + 0x4b141ebb]
mov edi, ecx
and edi, 1
mov ebp, 0x44
sub ebp, edx
and ebp, 0x80
and ecx, 0x7f
or ecx, ebp
xor ecx, 0x81
lea ecx, [ecx + edi*2]
mov byte [esp + eax - 0x74], cl
inc eax
cmp eax, 0x7b
jne 0x446540
cmp esi, dword [esp]
jne 0x44674f
push dword [esp + 0xc]
call fcn.0043ffa0
add esp, 4
mov ebp, eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 8], ecx
mov dword [esp], 0x1c1d1a1b
mov dword [esp + 4], 0
mov edx, 0x5df8893a
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + edx - 0x5df8893a]
xor esi, edx
mov edi, esi
and edi, 0x5d
xor esi, 0xdd
lea ecx, [esi + edi*2]
inc cl
mov byte [esp + edx - 0x5df8893a], cl
inc edx
cmp edx, 0x5df88942
jne 0x4465c0
mov esi, dword [esp]
mov edx, dword [0x451f80]
test edx, edx
je 0x446658
mov ecx, ebp
xor edi, edi
mov ebp, dword [0x451f84]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + edi*8], 0x8784ccde
je 0x446623
inc edi
cmp edx, edi
jne 0x446610
mov ebp, ecx
jmp 0x446658
mov edx, dword [ebp + edi*8 + 4]
cmp edx, esi
mov ebp, ecx
je 0x446658
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 [0x451f88]
push edx
mov edi, eax
call fcn.00442960
add esp, 0x24
mov esi, eax
mov eax, edi
mov edx, dword [esp + 0x34]
test edx, edx
je 0x446746
test esi, esi
js 0x446746
test ebx, ebx
je 0x44673f
mov ecx, dword [ebp + 0xc]
shr ecx, 1
mov edi, dword [edx]
cmp edi, ecx
jb 0x446681
mov edi, ecx
test edi, edi
mov dword [esp + 0x10], ebp
je 0x446736
add eax, 0x10
mov ecx, edi
and ecx, 3
je 0x4466ce
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 0x4466a0
mov ecx, dword [esp + 8]
mov ebp, ecx
sub ebp, edi
mov edi, ecx
mov edx, dword [esp + 0x34]
cmp edi, 4
jae 0x4466e0
jmp 0x446736
mov ebp, edi
cmp edi, 4
jb 0x446736
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 0x4466e0
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.00440000
add esp, 4
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret