Function at 0x4408e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [esp], 0xf8fbfa05
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov ebx, dword [esp + 0x30]
mov eax, 0x5492bfff
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax - 0x5492bfff]
mov esi, eax
or esi, edx
not edx
or edx, ecx
and edx, esi
mov esi, 1
sub esi, edx
mov edi, esi
not edi
and edi, 1
mov ebp, 0xfb
sub ebp, edx
and ebp, 0xfe
or esi, 0xfe
xor esi, ebp
lea edx, [esi + edi*2]
mov byte [esp + eax - 0x5492bfff], dl
inc eax
dec ecx
cmp eax, 0x5492c006
jne 0x440910
mov esi, dword [esp]
mov eax, dword [0x44ce64]
test eax, eax
je 0x4409aa
xor ecx, ecx
mov edx, dword [0x44ce68]
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x484ce391
je 0x440980
inc ecx
cmp eax, ecx
jne 0x440970
jmp 0x4409aa
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x4409aa
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 2
push dword [esp + 0x3c]
push 0x14
push eax
push dword [0x44ce6c]
call fcn.0043d480
add esp, 0x20
mov esi, eax
cmp esi, 0xc0000023
jne 0x440c1b
mov dword [esp + 8], ebx
push dword [esp + 0x14]
call fcn.0043a6f0
add esp, 4
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc], ecx
mov dword [esp], 0xf8fbfa05
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov edx, 0x5492bfff
xor ebx, ebx
nop
nop
nop
nop
movzx edi, byte [esp + edx - 0x5492bfff]
mov ecx, edx
or ecx, edi
not edi
or edi, ebx
and edi, ecx
mov ecx, 1
sub ecx, edi
mov ebp, ecx
not ebp
and ebp, 1
mov esi, 0xfb
sub esi, edi
and esi, 0xfe
or ecx, 0xfe
xor ecx, esi
lea ecx, [ecx + ebp*2]
mov byte [esp + edx - 0x5492bfff], cl
inc edx
dec ebx
cmp edx, 0x5492c006
jne 0x4409f0
mov esi, dword [esp]
mov edx, dword [0x44ce64]
test edx, edx
je 0x440a70
xor edi, edi
mov ecx, dword [0x44ce68]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x10]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + edi*8], 0x484ce391
je 0x440a7a
inc edi
cmp edx, edi
jne 0x440a60
jmp 0x440aa9
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x10]
jmp 0x440aa9
mov edx, dword [ecx + edi*8 + 4]
cmp edx, esi
je 0x440aa9
lea ecx, [esp + 0x14]
push ecx
push dword [esp + 0x10]
push ebp
push 2
push dword [esp + 0x3c]
push 0x14
push edx
push dword [0x44ce6c]
mov edi, eax
call fcn.0043d480
add esp, 0x20
mov esi, eax
mov eax, edi
test esi, esi
js 0x440c12
mov edx, dword [esp + 0x34]
test edx, edx
je 0x440bc2
cmp dword [esp + 0x30], 0
je 0x440bbb
mov ecx, dword [ebp + 0x10]
shr ecx, 1
mov edi, dword [edx]
cmp edi, ecx
jb 0x440ad5
mov edi, ecx
test edi, edi
je 0x440bae
add eax, 0x2c
mov ecx, edi
and ecx, 3
je 0x440b37
mov dword [esp + 0xc], edi
xor edi, edi
mov ebp, dword [esp + 0x30]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, word [eax]
xor edx, edx
test bx, bx
setne dl
lea eax, [eax + edx*2]
mov word [ebp], bx
add ebp, 2
inc edi
cmp ecx, edi
jne 0x440b00
mov dword [esp + 8], ebp
mov ecx, dword [esp + 0xc]
mov ebp, ecx
sub ebp, edi
mov edi, ecx
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
cmp edi, 4
jae 0x440b3e
jmp 0x440bae
mov ebp, edi
cmp edi, 4
jb 0x440bae
mov ebx, dword [esp + 8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [eax]
xor ecx, ecx
test dx, dx
setne cl
lea edi, [eax + ecx*2]
mov word [ebx], dx
movzx eax, word [eax + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edx, [edi + ecx*2]
mov word [ebx + 2], ax
movzx eax, word [edi + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edi, [edx + ecx*2]
mov word [ebx + 4], ax
movzx ecx, word [edx + ecx*2]
xor eax, eax
test cx, cx
setne al
mov word [ebx + 6], cx
add ebx, 8
lea eax, [edi + eax*2]
add ebp, 0xfffffffc
jne 0x440b50
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 8]
mov word [eax], 0
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp + 0x10]
shr eax, 1
mov dword [edx], eax
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x440bcf
mov eax, dword [ebp + 0x14]
mov dword [ecx], eax
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x440bde
mov eax, dword [ebp + 0x18]
shr eax, 1
mov dword [ecx], eax
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x440bed
mov eax, dword [ebp + 0x1c]
shr eax, 1
mov dword [ecx], eax
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x440bfa
mov eax, dword [ebp + 0x20]
mov dword [ecx], eax
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x440c09
mov eax, dword [ebp + 0x24]
shr eax, 1
mov dword [ecx], eax
test ebx, ebx
je 0x440c12
mov eax, dword [ebp + 0x28]
mov dword [ebx], eax
push ebp
call fcn.0043a760
add esp, 4
mov eax, esi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret