Function at 0x441980
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, ecx
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
mov dword [esp], 0
mov dword [esp + 0x14], eax
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
mov dword [esp + 4], 0xe8ebeae5
mov byte [esp + 8], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 4]
mov ebx, eax
and ebx, 1
xor ebx, 0xfdd18721
mov ebp, eax
and ebp, 6
sub ebp, ebx
lea ebx, [edx + edx]
not ebx
add ebx, edx
mov esi, 0x73fca807
sub esi, ebp
or esi, ebx
add esi, ebp
add esi, 0x8c0357f9
mov ebx, 7
sub ebx, ebp
and ebx, edx
or ebx, esi
mov edx, ebx
and edx, 0x4c
xor ebx, 0xcc
lea edx, [ebx + edx*2]
inc dl
mov byte [esp + eax + 4], dl
inc eax
cmp eax, 5
jne 0x4419c0
mov eax, dword [esp + 4]
mov edx, dword [0x4528cc]
test edx, edx
je 0x441a70
xor ebp, ebp
mov ebx, dword [0x4528d0]
nop
nop
nop
nop
nop
nop
cmp dword [ebx + ebp*8], 0xf3285e74
je 0x441a40
inc ebp
cmp edx, ebp
jne 0x441a30
jmp 0x441a70
mov edx, dword [ebx + ebp*8 + 4]
cmp edx, eax
je 0x441a70
lea eax, [esp + 0x1c]
mov esi, esp
push 4
push 0x3000
push eax
push 0
push esi
push 0xffffffffffffffff
push 6
push dword [0x4528d4]
push edx
mov ebx, ecx
call fcn.004428e0
mov ecx, ebx
add esp, 0x24
test eax, eax
js 0x441ad1
push 0
push 0
mov esi, dword [esp + 0x1c]
push dword [esi + 8]
push dword [esp + 0xc]
push dword [esi + 4]
push dword [esi]
call fcn.00440a70
test eax, eax
mov ebx, dword [esp + 0x3c]
jns 0x441aaa
mov ecx, eax
xor eax, eax
mov edx, 0
cmp ecx, 0x8000000d
jne 0x441b56
mov ecx, dword [esp]
mov ebp, dword [esi + 8]
add ebp, ecx
sub ebp, ebx
xor eax, eax
mov edx, 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
cmp ebp, ecx
jbe 0x441b56
mov ecx, dword [esp + 0xc]
jmp 0x441aeb
xor eax, eax
xor edx, edx
jmp 0x441c30
add ecx, eax
dec ecx
inc ecx
xor eax, eax
mov edx, 0
cmp ecx, dword [esp + 0x10]
jae 0x441b56
test edi, edi
je 0x441af4
cmp byte [edi], 0x3f
je 0x441aff
movzx eax, byte [ecx]
mov edx, dword [esp + 0x38]
cmp al, byte [edx]
jne 0x441add
cmp ebx, 2
jb 0x441b3c
mov eax, 1
jmp 0x441b30
movzx edx, byte [ecx + eax]
mov ebp, edi
mov edi, dword [esp + 0x38]
cmp dl, byte [edi + eax]
mov edi, ebp
jne 0x441ada
mov edx, eax
and edx, 1
xor eax, 1
lea eax, [eax + edx*2]
cmp eax, ebx
jae 0x441b3c
test edi, edi
je 0x441b10
cmp byte [edi + eax], 0x3f
jne 0x441b10
jmp 0x441b21
test ecx, ecx
je 0x441b52
sub ecx, dword [esp + 0xc]
mov edx, ecx
sar edx, 0x1f
add ecx, dword [esi]
adc edx, dword [esi + 4]
mov eax, ecx
jmp 0x441b56
xor eax, eax
xor edx, edx
mov dword [esp + 0x18], 0
mov dword [esp + 4], 0xe8ebeae5
mov byte [esp + 8], 0
xor ecx, ecx
nop
nop
nop
movzx esi, byte [esp + ecx + 4]
mov ebx, ecx
and ebx, 1
xor ebx, 0xfdd18721
mov edi, ecx
and edi, 6
sub edi, ebx
lea ebx, [esi + esi]
not ebx
add ebx, esi
mov ebp, 0x73fca807
sub ebp, edi
or ebp, ebx
lea ebx, [edi + ebp]
add ebx, 0x8c0357f9
mov ebp, 7
sub ebp, edi
and ebp, esi
or ebp, ebx
mov esi, ebp
and esi, 0x4c
xor ebp, 0xcc
lea ebx, [esi*2]
add ebx, ebp
inc bl
mov byte [esp + ecx + 4], bl
inc ecx
cmp ecx, 5
jne 0x441b70
mov ecx, dword [0x4528cc]
test ecx, ecx
je 0x441c30
mov esi, dword [esp + 4]
xor edi, edi
mov ebx, dword [0x4528d0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x731cdbf3
je 0x441c00
inc edi
cmp ecx, edi
jne 0x441bf0
jmp 0x441c30
mov ecx, dword [ebx + edi*8 + 4]
cmp ecx, esi
je 0x441c30
lea esi, [esp + 0x18]
mov edi, esp
push 0x8000
push esi
push edi
push 0xffffffffffffffff
push 4
push dword [0x4528d4]
push ecx
mov esi, eax
mov edi, edx
call fcn.004428e0
mov edx, edi
mov eax, esi
add esp, 0x1c
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 0x10