Function at 0x4459b0
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 0x4459e3
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 0x4459d0
add ecx, 0xfffffffe
and ecx, 0xfffe
mov word [esp + 0x10], cx
mov edx, eax
test eax, eax
je 0x4459f3
add ecx, 2
mov edx, ecx
mov word [esp + 0x12], dx
mov dword [esp + 0x14], eax
mov dword [esp], 0xd8dbdac5
mov byte [esp + 4], 0
mov eax, esp
mov ecx, 0xd0
nop
movzx edx, byte [eax]
mov edi, ecx
and edi, edx
lea ebx, [ecx - 0x9ca4800]
or ebx, edx
not ebx
or ebx, edi
mov edx, ebx
and edx, 1
xor ebx, 1
lea edx, [ebx + edx*2]
add dl, 0x14
mov byte [eax], dl
inc eax
dec ecx
cmp ecx, 0xcb
jne 0x445a10
mov ebx, dword [esp]
mov eax, dword [0x450b18]
test eax, eax
je 0x445a9f
xor ecx, ecx
mov edx, dword [0x450b1c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xbbe848dd
je 0x445a70
inc ecx
cmp eax, ecx
jne 0x445a60
jmp 0x445a9f
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x445a9f
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 [0x450b20]
push eax
call fcn.00441600
add esp, 0x24
mov ebx, eax
mov dword [esp], 0x894a4b11
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov eax, esp
mov ecx, 0x4948704d
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [eax]
mov edi, ecx
and edi, 0x4800200f
mov ebp, 0x30940780
sub ebp, edi
xor ebp, edx
mov edx, 0x3f
sub edx, ebp
or edx, 1
add edx, ebp
xor ebp, 1
lea edx, [edx*2]
add edx, ebp
add dl, 0x42
mov byte [eax], dl
inc eax
dec ecx
cmp ecx, 0x49487046
jne 0x445ac0
cmp ebx, dword [esp]
jne 0x445c50
push dword [esp + 0xc]
call fcn.0043e630
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword [esp + 8], ecx
mov dword [esp], 0xd8dbdac5
mov byte [esp + 4], 0
mov edx, esp
mov ebx, 0xd0
nop
nop
nop
nop
nop
movzx edi, byte [edx]
mov ebp, ebx
and ebp, edi
lea esi, [ebx - 0x9ca4800]
or esi, edi
not esi
or esi, ebp
mov edi, esi
and edi, 1
xor esi, 1
lea ecx, [esi + edi*2]
add cl, 0x14
mov byte [edx], cl
inc edx
dec ebx
cmp ebx, 0xcb
jne 0x445b30
mov ebx, dword [esp]
mov edx, dword [0x450b18]
test edx, edx
je 0x445b90
xor ebp, ebp
mov edi, dword [0x450b1c]
mov esi, dword [esp + 0x3c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ebp*8], 0xbbe848dd
je 0x445b96
inc ebp
cmp edx, ebp
jne 0x445b80
jmp 0x445bce
mov esi, dword [esp + 0x3c]
jmp 0x445bce
mov edx, dword [edi + ebp*8 + 4]
cmp edx, ebx
je 0x445bce
lea ecx, [esp + 0xc]
lea esi, [esp + 0x10]
push ecx
push dword [esp + 0xc]
push eax
push 2
push esi
mov esi, dword [esp + 0x50]
push dword [esp + 0x40]
push 6
push dword [0x450b20]
push edx
mov edi, eax
call fcn.00441600
add esp, 0x24
mov ebx, eax
mov eax, edi
test ebx, ebx
js 0x445c47
mov edx, dword [esp + 0x34]
test edx, edx
je 0x445bdf
mov ecx, dword [eax + 4]
mov dword [edx], ecx
test esi, esi
je 0x445c47
cmp dword [esp + 0x38], 0
je 0x445c42
mov edx, dword [esi]
mov ecx, dword [eax + 8]
cmp edx, ecx
jb 0x445bf5
mov edx, ecx
lea esi, [eax + 0xc]
mov ecx, edx
shr ecx, 2
mov ebp, dword [esp + 0x38]
mov edi, ebp
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov ecx, edx
and ecx, 0xfffffffc
add ebp, ecx
lea esi, [eax + ecx]
add esi, 0xc
mov ecx, edx
shr ecx, 1
and ecx, 1
mov dword [esp + 8], esi
mov edi, ebp
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
test dl, 1
mov esi, dword [esp + 0x3c]
je 0x445c42
and edx, 2
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + edx]
mov byte [ebp + edx], cl
mov ecx, dword [eax + 8]
mov dword [esi], ecx
push eax
call fcn.0043e6b0
add esp, 4
mov eax, ebx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret