Function at 0x4407c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov edi, ecx
mov dword [esp + 4], 0
mov eax, dword [ecx + 8]
mov dword [esp + 0x24], eax
mov dword [esp + 8], 0x303f3e86
mov dword [esp + 0xc], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 7
ja 0x440846
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
mov edx, eax
xor edx, 0x810b4ff5
and eax, 0x10b4ff5
lea eax, [edx + eax*2]
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, eax
not ecx
and ecx, 0xc9
and eax, 0x36
sub eax, ecx
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 8
jb 0x440800
mov eax, dword [esp + 8]
mov ecx, dword [0x451454]
test ecx, ecx
je 0x44089e
xor edx, edx
mov esi, dword [0x451458]
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x633c81d
je 0x440870
inc edx
cmp ecx, edx
jne 0x440860
jmp 0x44089e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x44089e
lea eax, [esp + 0x24]
lea edx, [esp + 4]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x45145c]
push ecx
call fcn.00441840
add esp, 0x24
test eax, eax
js 0x440903
mov ecx, dword [esp + 0x3c]
push 0
push 0
push dword [edi + 8]
push dword [esp + 0x10]
push dword [edi + 4]
mov dword [esp + 0x2c], edi
push dword [edi]
call fcn.0043fb10
mov ecx, eax
xor eax, eax
mov edx, 0
cmp ecx, 0xbfffffff
ja 0x440990
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 8]
add esi, ecx
sub esi, edi
xor eax, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], esi
cmp esi, ecx
jbe 0x440990
mov ecx, dword [esp + 0x48]
mov ebp, dword [esp + 0x14]
jmp 0x440924
xor eax, eax
xor edx, edx
jmp 0x440a62
xor edx, 1
and eax, 0xfffffffc
sub eax, edx
add ebp, eax
inc ebp
xor eax, eax
mov edx, 0
cmp ebp, dword [esp + 0x1c]
jae 0x440990
test ecx, ecx
je 0x44092d
cmp byte [ecx], 0x3f
je 0x440939
movzx eax, byte [ebp]
mov edx, dword [esp + 0x40]
cmp al, byte [edx]
jne 0x440916
cmp edi, 2
jb 0x440972
mov edx, 1
mov eax, 2
jmp 0x440966
movzx ebx, byte [ebp + edx]
mov esi, dword [esp + 0x40]
cmp bl, byte [esi + edx]
jne 0x44090c
inc edx
add eax, 2
cmp edi, edx
je 0x440972
test ecx, ecx
je 0x440950
cmp byte [ecx + edx], 0x3f
jne 0x440950
jmp 0x44095e
test ebp, ebp
je 0x44098c
sub ebp, dword [esp + 0x14]
mov edx, ebp
sar edx, 0x1f
mov eax, dword [esp + 0x18]
add ebp, dword [eax]
adc edx, dword [eax + 4]
mov eax, ebp
jmp 0x440990
xor eax, eax
xor edx, edx
mov dword [esp + 0x20], 0
mov dword [esp + 8], 0x303f3e86
mov dword [esp + 0xc], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 7
ja 0x440a07
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov esi, dword [esp]
movzx esi, byte [esp + esi + 8]
mov edi, ecx
xor edi, 0x810b4ff5
and ecx, 0x10b4ff5
lea ecx, [edi + ecx*2]
xor ecx, esi
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
mov esi, ecx
not esi
and esi, 0xc9
and ecx, 0x36
sub ecx, esi
mov esi, dword [esp]
mov byte [esp + esi + 8], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 8
jb 0x4409c0
mov ecx, dword [0x451454]
test ecx, ecx
je 0x440a62
mov esi, dword [esp + 8]
xor edi, edi
mov ebx, dword [0x451458]
nop
nop
nop
cmp dword [ebx + edi*8], 0x44caaeb6
je 0x440a30
inc edi
cmp ecx, edi
jne 0x440a20
jmp 0x440a62
mov ecx, dword [ebx + edi*8 + 4]
cmp ecx, esi
je 0x440a62
lea esi, [esp + 0x20]
lea edi, [esp + 4]
push 0x8000
push esi
push edi
push 0xffffffffffffffff
push 4
push dword [0x45145c]
push ecx
mov esi, eax
mov edi, edx
call fcn.00441840
mov edx, edi
mov eax, esi
add esp, 0x1c
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret 0x10