Function at 0x446ee0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [esp + 0x30]
xor ecx, ecx
test eax, eax
je 0x446f13
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + ecx], 0
lea ecx, [ecx + 2]
jne 0x446f00
add ecx, 0xfffffffe
and ecx, 0xfffe
mov word [esp + 0x10], cx
mov edx, eax
test eax, eax
je 0x446f23
add ecx, 2
mov edx, ecx
mov word [esp + 0x12], dx
mov dword [esp + 0x14], eax
mov dword [esp], 0xf0fffefd
mov dword [esp + 4], 0
mov eax, esp
mov ecx, 0xe89182a
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [eax]
mov edi, ecx
or edi, edx
lea ebx, [ecx - 0xe891800]
and ebx, edx
not edi
or edi, ebx
mov edx, edi
and edx, 0x56
xor edi, 0xd6
lea edx, [edi + edx*2]
inc dl
mov byte [eax], dl
inc eax
dec ecx
cmp ecx, 0xe891822
jne 0x446f50
mov esi, dword [esp]
mov eax, dword [0x452df4]
test eax, eax
je 0x446fdf
xor ecx, ecx
mov edx, dword [0x452df8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xbbe848dd
je 0x446fb0
inc ecx
cmp eax, ecx
jne 0x446fa0
jmp 0x446fdf
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x446fdf
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push 0
push 0
push 2
push edx
push dword [esp + 0x40]
push 6
push dword [0x452dfc]
push eax
call fcn.00442cc0
add esp, 0x24
mov esi, eax
mov dword [esp], 0x9cacb91
mov dword [esp + 4], 0
mov eax, 0x53
mov ecx, 0xac
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + eax - 0x53]
mov edx, eax
xor edx, ecx
and edx, edi
xor edx, ecx
mov bl, 0x60
sub bl, dl
mov byte [esp + eax - 0x53], bl
inc eax
dec ecx
cmp eax, 0x5b
jne 0x447000
cmp esi, dword [esp]
jne 0x44716e
push dword [esp + 0xc]
call fcn.0043fba0
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword [esp + 8], ecx
mov dword [esp], 0xf0fffefd
mov dword [esp + 4], 0
mov edx, esp
mov ebx, 0xe89182a
nop
movzx esi, byte [edx]
mov edi, ebx
or edi, esi
lea ebp, [ebx - 0xe891800]
and ebp, esi
not edi
or edi, ebp
mov esi, edi
and esi, 0x56
xor edi, 0xd6
lea ecx, [edi + esi*2]
inc cl
mov byte [edx], cl
inc edx
dec ebx
cmp ebx, 0xe891822
jne 0x447050
mov esi, dword [esp]
mov edx, dword [0x452df4]
test edx, edx
je 0x4470e4
xor ebp, ebp
mov edi, dword [0x452df8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ebp*8], 0xbbe848dd
je 0x4470b0
inc ebp
cmp edx, ebp
jne 0x4470a0
jmp 0x4470e4
mov edx, dword [edi + ebp*8 + 4]
cmp edx, esi
je 0x4470e4
lea ecx, [esp + 0xc]
lea esi, [esp + 0x10]
push ecx
push dword [esp + 0xc]
push eax
push 2
push esi
push dword [esp + 0x40]
push 6
push dword [0x452dfc]
push edx
mov edi, eax
call fcn.00442cc0
add esp, 0x24
mov esi, eax
mov eax, edi
test esi, esi
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
js 0x447165
test edi, edi
je 0x4470f9
mov ecx, dword [eax + 4]
mov dword [edi], ecx
cmp dword [esp + 0x3c], 0
je 0x447165
test edx, edx
je 0x44715c
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov ecx, dword [eax + 8]
cmp edx, ecx
jb 0x447113
mov edx, ecx
lea ebx, [eax + 0xc]
mov ecx, edx
shr ecx, 2
mov ebp, dword [esp + 0x38]
mov edi, ebp
xchg esi, ebx
rep movsd dword es:[edi], dword [esi]
xchg esi, ebx
mov ecx, edx
and ecx, 0xfffffffc
add ebp, ecx
lea ebx, [eax + ecx]
add ebx, 0xc
mov ecx, edx
shr ecx, 1
and ecx, 1
mov dword [esp + 8], ebx
mov edi, ebp
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
test dl, 1
je 0x44715c
and edx, 2
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + edx]
mov byte [ebp + edx], cl
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x3c]
mov dword [edx], ecx
push eax
call fcn.0043fc00
add esp, 4
mov eax, esi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret