Function at 0x4401a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], 0
mov dword [esp + 0x18], eax
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 8], 0x2c2d2e2f
mov word [esp + 0xc], 0
lea eax, [esp + 8]
xor edx, edx
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [eax]
mov ebx, edx
and ebx, 0xeb4a490
mov ebp, edi
xor ebp, 0xf8a5adb7
sub ebp, ebx
mov ebx, 0xfe
sub ebx, ebp
inc ebp
xor ebx, ebp
and ebx, esi
xor ebx, ebp
add ebx, 0x24c39b67
mov esi, ebx
and esi, 1
xor ebx, 1
lea ebx, [ebx + esi*2]
mov byte [eax], bl
inc eax
dec edi
add edx, 0xfffffffe
cmp edi, 0xfffffffa
jne 0x4401e0
mov eax, dword [esp + 8]
mov edx, dword [0x451440]
test edx, edx
je 0x440283
xor ebx, ebx
mov ebp, dword [0x451444]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + ebx*8], 0x3e416e49
je 0x440251
inc ebx
cmp edx, ebx
jne 0x440240
jmp 0x440283
mov edx, dword [ebp + ebx*8 + 4]
cmp edx, eax
je 0x440283
lea eax, [esp + 0x20]
lea esi, [esp + 4]
push 4
push 0x3000
push eax
push 0
push esi
push 0xffffffffffffffff
push 6
push edx
push dword [0x451448]
mov ebx, ecx
call fcn.004417a0
mov ecx, ebx
add esp, 0x24
test eax, eax
js 0x4402ee
push 0
push 0
mov esi, dword [esp + 0x20]
push dword [esi + 8]
push dword [esp + 0x10]
push dword [esi + 4]
push dword [esi]
call fcn.0043f520
test eax, eax
mov ebx, dword [esp + 0x40]
jns 0x4402c1
mov ecx, eax
mov dword [esp], 0
mov edx, 0
cmp eax, 0x8000000d
jne 0x4403ae
mov eax, dword [esp + 4]
mov ecx, dword [esi + 8]
add ecx, eax
sub ecx, ebx
mov dword [esp], 0
mov edx, 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
cmp ecx, eax
jbe 0x4403ae
mov ecx, dword [esp + 0x10]
jmp 0x440321
mov dword [esp], 0
xor edx, edx
jmp 0x44046e
mov edx, eax
xor edx, 1
and eax, 0xfffffffe
add eax, eax
sub eax, edx
add ecx, eax
inc ecx
mov dword [esp], 0
mov edx, 0
cmp ecx, dword [esp + 0x14]
jae 0x4403ae
mov edi, dword [esp + 0x44]
test edi, edi
je 0x44032e
cmp byte [edi], 0x3f
je 0x440339
movzx eax, byte [ecx]
mov edx, dword [esp + 0x3c]
cmp al, byte [edx]
jne 0x44030a
cmp ebx, 2
jb 0x44038e
mov eax, 1
jmp 0x440382
movzx edx, byte [ecx + eax]
mov ebp, dword [esp + 0x3c]
cmp dl, byte [ebp + eax]
jne 0x4402fc
mov edx, 0x1b5932ab
sub edx, eax
or edx, 0xdb5932ad
add edx, eax
add eax, 0x24a6cd54
or eax, 0xdb5932ad
add eax, edx
add eax, 0x24a6cd55
cmp eax, ebx
jae 0x44038e
test edi, edi
je 0x440350
cmp byte [edi + eax], 0x3f
jne 0x440350
jmp 0x44035e
test ecx, ecx
je 0x4403a5
sub ecx, dword [esp + 0x10]
mov edx, ecx
sar edx, 0x1f
add ecx, dword [esi]
adc edx, dword [esi + 4]
mov dword [esp], ecx
jmp 0x4403ae
mov dword [esp], 0
xor edx, edx
mov dword [esp + 0x1c], 0
mov dword [esp + 8], 0x2c2d2e2f
mov word [esp + 0xc], 0
lea ecx, [esp + 8]
xor esi, esi
xor ebp, ebp
nop
nop
nop
movzx eax, byte [ecx]
mov ebx, esi
and ebx, 0xeb4a490
mov edi, ebp
xor edi, 0xf8a5adb7
sub edi, ebx
mov ebx, 0xfe
sub ebx, edi
inc edi
xor ebx, edi
and ebx, eax
xor ebx, edi
add ebx, 0x24c39b67
mov eax, ebx
and eax, 1
xor ebx, 1
lea eax, [ebx + eax*2]
mov byte [ecx], al
inc ecx
dec ebp
add esi, 0xfffffffe
cmp ebp, 0xfffffffa
jne 0x4403d0
mov ecx, dword [0x451440]
test ecx, ecx
je 0x44046e
mov esi, dword [esp + 8]
xor edi, edi
mov ebx, dword [0x451444]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x16194952
je 0x440440
inc edi
cmp ecx, edi
jne 0x440430
jmp 0x44046e
mov ecx, dword [ebx + edi*8 + 4]
cmp ecx, esi
je 0x44046e
lea eax, [esp + 0x1c]
lea esi, [esp + 4]
push 0x8000
push eax
push esi
push 0xffffffffffffffff
push 4
push ecx
push dword [0x451448]
mov edi, edx
call fcn.004417a0
mov edx, edi
add esp, 0x1c
mov eax, dword [esp]
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 0x10