Function at 0x445ea0
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 0x445ed3
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 0x445ec0
add ecx, 0xfffffffe
and ecx, 0xfffe
mov word [esp + 0x10], cx
mov edx, eax
test eax, eax
je 0x445ee3
add ecx, 2
mov edx, ecx
mov esi, dword [esp + 0x38]
mov word [esp + 0x12], dx
mov dword [esp + 0x14], eax
mov dword [esp], 0x303f3e3d
mov dword [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x35
xor cl, byte [esp + eax]
add cl, 0xf7
mov byte [esp + eax], cl
inc eax
cmp eax, 8
jne 0x445f10
mov ebx, dword [esp]
mov eax, dword [0x451b4c]
test eax, eax
mov dword [esp + 8], esi
je 0x445f7f
xor ecx, ecx
mov edx, dword [0x451b50]
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xbbe848dd
je 0x445f50
inc ecx
cmp eax, ecx
jne 0x445f40
jmp 0x445f7f
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x445f7f
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 [0x451b54]
push eax
call fcn.00441b10
add esp, 0x24
mov ebx, eax
mov dword [esp], 0x612627f9
mov byte [esp + 4], 0
mov eax, esp
mov ecx, 0x7d9b3986
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebp, byte [eax]
mov edi, ecx
and edi, 0x71933804
lea edx, [ecx - 0x70000000]
and edx, 0xc0801fb
or edx, edi
mov edi, ebp
xor edi, 0x80604604
mov esi, edx
xor esi, 0xe0c81fb
xor ebp, 0xe0c81fb
and ebp, esi
xor edx, 0xf1f37e04
and edx, edi
or edx, ebp
mov esi, edx
and esi, 1
or edx, 1
add edx, esi
add dl, 0xa2
mov byte [eax], dl
inc eax
dec ecx
cmp ecx, 0x7d9b3981
jne 0x445fa0
cmp ebx, dword [esp]
jne 0x44611b
push dword [esp + 0xc]
call fcn.0043f270
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword [esp], 0x303f3e3d
mov dword [esp + 4], 0
xor edx, edx
nop
nop
mov ebx, edx
add bl, 0x35
xor bl, byte [esp + edx]
add bl, 0xf7
mov byte [esp + edx], bl
inc edx
cmp edx, 8
jne 0x446020
mov ebx, dword [esp]
mov edx, dword [0x451b4c]
test edx, edx
je 0x446091
xor ebp, ebp
mov edi, dword [0x451b50]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ebp*8], 0xbbe848dd
je 0x446060
inc ebp
cmp edx, ebp
jne 0x446050
jmp 0x446091
mov edx, dword [edi + ebp*8 + 4]
cmp edx, ebx
je 0x446091
lea esi, [esp + 0xc]
lea edi, [esp + 0x10]
push esi
push ecx
push eax
push 2
push edi
push dword [esp + 0x40]
push 6
push dword [0x451b54]
push edx
mov edi, eax
call fcn.00441b10
add esp, 0x24
mov ebx, eax
mov eax, edi
test ebx, ebx
mov edx, dword [esp + 0x38]
js 0x446112
mov esi, dword [esp + 0x34]
test esi, esi
je 0x4460a6
mov ecx, dword [eax + 4]
mov dword [esi], ecx
cmp dword [esp + 0x3c], 0
je 0x446112
test edx, edx
je 0x446109
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov ecx, dword [eax + 8]
cmp edx, ecx
jb 0x4460c0
mov edx, ecx
lea esi, [eax + 0xc]
mov ecx, edx
shr ecx, 2
mov edi, dword [esp + 0x38]
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov ecx, edx
and ecx, 0xfffffffc
add dword [esp + 8], ecx
lea ebp, [eax + ecx]
add ebp, 0xc
mov ecx, edx
shr ecx, 1
and ecx, 1
mov esi, ebp
mov edi, dword [esp + 8]
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov esi, dword [esp + 8]
test dl, 1
je 0x446109
and edx, 2
movzx ecx, byte [ebp + edx]
mov byte [esi + edx], cl
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x3c]
mov dword [edx], ecx
push eax
call fcn.0043f300
add esp, 4
mov eax, ebx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret