Function at 0x440010
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov esi, ecx
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], 0
mov eax, dword [esi + 8]
mov dword [esp + 0x18], eax
mov dword [esp], 0x60676665
mov eax, 0xc11c8ee9
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x3ee37117]
xor edx, eax
add edx, 0x3a713572
mov ebx, edx
xor ebx, 0xf3
and edx, 0xc
add edx, edx
sub edx, ebx
add dl, 0xf4
mov byte [esp + eax + 0x3ee37117], dl
inc eax
cmp eax, 0xc11c8eed
jne 0x440040
mov eax, dword [esp]
mov edx, dword [0x451e48]
test edx, edx
je 0x4400d2
xor ebp, ebp
mov ebx, dword [0x451e4c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + ebp*8], 0x3e416e49
je 0x4400a0
inc ebp
cmp edx, ebp
jne 0x440090
jmp 0x4400d2
mov edx, dword [ebx + ebp*8 + 4]
cmp edx, eax
je 0x4400d2
lea eax, [esp + 0x18]
lea ebx, [esp + 4]
push 4
push 0x3000
push eax
push 0
push ebx
push 0xffffffffffffffff
push 6
push edx
push dword [0x451e50]
mov ebx, ecx
call fcn.00441a80
mov ecx, ebx
add esp, 0x24
test eax, eax
js 0x440130
push 0
push 0
push dword [esi + 8]
push dword [esp + 0x10]
push dword [esi + 4]
push dword [esi]
call fcn.0043f390
test eax, eax
mov ebx, dword [esp + 0x38]
jns 0x440108
mov ecx, eax
xor eax, eax
mov edx, 0
cmp ecx, 0x8000000d
jne 0x4401ed
mov ecx, dword [esp + 4]
mov ebp, dword [esi + 8]
add ebp, ecx
sub ebp, ebx
xor eax, eax
mov edx, 0
mov dword [esp + 8], ecx
mov dword [esp + 0x10], ebp
cmp ebp, ecx
jbe 0x4401ed
mov ecx, dword [esp + 8]
jmp 0x440175
xor eax, eax
xor edx, edx
jmp 0x4402a2
mov ebx, eax
xor ebx, 0xfffffffe
mov edx, eax
and edx, 0xfffffffc
and eax, 2
mov dword [esp + 0xc], esi
mov esi, eax
xor esi, 2
imul esi, edx
add esi, ebx
mov ebx, dword [esp + 0x38]
or edx, 2
imul edx, eax
add edx, esi
mov esi, dword [esp + 0xc]
add ecx, edx
inc ecx
inc ecx
xor eax, eax
mov edx, 0
cmp ecx, dword [esp + 0x10]
jae 0x4401ed
test edi, edi
je 0x44017e
cmp byte [edi], 0x3f
je 0x440189
movzx eax, byte [ecx]
mov edx, dword [esp + 0x34]
cmp al, byte [edx]
jne 0x440167
cmp ebx, 2
jb 0x4401d3
mov eax, 1
jmp 0x4401c7
movzx edx, byte [ecx + eax]
mov ebp, dword [esp + 0x34]
cmp dl, byte [ebp + eax]
jne 0x440139
add eax, 0x26a42e3f
mov edx, eax
and edx, 1
xor eax, 1
lea eax, [eax + edx*2]
add eax, 0xd95bd1c1
cmp eax, ebx
jae 0x4401d3
test edi, edi
je 0x4401a0
cmp byte [edi + eax], 0x3f
jne 0x4401a0
jmp 0x4401ae
test ecx, ecx
je 0x4401e9
sub ecx, dword [esp + 8]
mov edx, ecx
sar edx, 0x1f
add ecx, dword [esi]
adc edx, dword [esi + 4]
mov eax, ecx
jmp 0x4401ed
xor eax, eax
xor edx, edx
mov dword [esp + 0x14], 0
mov dword [esp], 0x60676665
mov ecx, 0xc11c8ee9
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + ecx + 0x3ee37117]
xor ebx, ecx
add ebx, 0x3a713572
mov esi, ebx
xor esi, 0xf3
and ebx, 0xc
add ebx, ebx
sub ebx, esi
add bl, 0xf4
mov byte [esp + ecx + 0x3ee37117], bl
inc ecx
cmp ecx, 0xc11c8eed
jne 0x440210
mov ecx, dword [0x451e48]
test ecx, ecx
je 0x4402a2
mov esi, dword [esp]
xor edi, edi
mov ebx, dword [0x451e4c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x16194952
je 0x440270
inc edi
cmp ecx, edi
jne 0x440260
jmp 0x4402a2
mov ecx, dword [ebx + edi*8 + 4]
cmp ecx, esi
je 0x4402a2
lea esi, [esp + 0x14]
lea edi, [esp + 4]
push 0x8000
push esi
push edi
push 0xffffffffffffffff
push 4
push ecx
push dword [0x451e50]
mov esi, eax
mov edi, edx
call fcn.00441a80
mov edx, edi
mov eax, esi
add esp, 0x1c
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 0x10