Function at 0x443580
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4435ca
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x4435a0
sar ecx, 1
mov edx, ecx
or edx, 2
mov esi, ecx
and esi, 2
imul edx, esi
xor esi, 2
and ecx, 0xfffd
imul ecx, esi
add ecx, edx
jmp 0x4435cc
xor ecx, ecx
mov word [esp + 0x14], cx
mov edx, eax
test eax, eax
je 0x4435e2
mov edx, ecx
and edx, 2
xor ecx, 2
lea edx, [ecx + edx*2]
mov esi, dword [esp + 0x38]
mov word [esp + 0x16], dx
mov dword [esp + 0x18], eax
mov dword [esp], 0xbcbdbebf
mov word [esp + 4], 0
mov eax, 0xd7bde360
mov ecx, 0x9f
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x28421ca0]
mov edi, ecx
xor edi, eax
and edi, edx
xor edi, eax
add edi, 0xc94a8f1f
mov edx, edi
and edx, 1
xor edi, 1
lea edx, [edi + edx*2]
mov byte [esp + eax + 0x28421ca0], dl
inc eax
dec ecx
cmp eax, 0xd7bde366
jne 0x443610
mov ebx, dword [esp]
mov eax, dword [0x44f26c]
test eax, eax
je 0x44369f
xor ecx, ecx
mov edx, dword [0x44f270]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x877f203a
je 0x443670
inc ecx
cmp eax, ecx
jne 0x443660
jmp 0x44369f
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x44369f
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push 0
push 0
push 2
push edx
push dword [esp + 0x44]
push 0x18
push eax
push dword [0x44f274]
call fcn.0043fac0
add esp, 0x24
mov ebx, eax
mov dword [esp], 0x83424123
mov byte [esp + 4], 0
mov eax, 0x129959f0
movzx ecx, byte [esp + eax - 0x129959f0]
xor ecx, eax
mov edx, ecx
xor edx, 0x8e
and ecx, 0x71
add ecx, ecx
sub ecx, edx
add cl, 0xde
mov byte [esp + eax - 0x129959f0], cl
inc eax
cmp eax, 0x129959f5
jne 0x4436b0
cmp ebx, dword [esp]
jne 0x443864
push dword [esp + 0x10]
call fcn.0043d080
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0xc1c6c7c6
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, edx
add cl, 0x31
xor cl, byte [esp + edx + 0xc]
add cl, 0xb
mov byte [esp + edx + 0xc], cl
inc edx
cmp edx, 4
jne 0x443710
mov edx, dword [esp + 0xc]
mov dword [esp], 0xbcbdbebf
mov word [esp + 4], 0
mov ebx, 0xd7bde360
mov ebp, 0x9f
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + ebx + 0x28421ca0]
mov edi, ebp
xor edi, ebx
and edi, ecx
xor edi, ebx
add edi, 0xc94a8f1f
mov ecx, edi
and ecx, 1
xor edi, 1
lea ecx, [edi + ecx*2]
mov byte [esp + ebx + 0x28421ca0], cl
inc ebx
dec ebp
cmp ebx, 0xd7bde366
jne 0x443750
mov ebx, dword [esp]
mov ebp, dword [0x44f26c]
test ebp, ebp
je 0x4437e3
xor edi, edi
mov ecx, dword [0x44f270]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + edi*8], 0x877f203a
je 0x4437b0
inc edi
cmp ebp, edi
jne 0x4437a0
jmp 0x4437e3
mov ebp, dword [ecx + edi*8 + 4]
cmp ebp, ebx
je 0x4437e3
lea ecx, [esp + 0x10]
lea edi, [esp + 0x14]
push ecx
push dword [esp + 0xc]
push eax
push edx
push edi
push dword [esp + 0x44]
push 0x18
push ebp
push dword [0x44f274]
mov edi, eax
call fcn.0043fac0
add esp, 0x24
mov ebx, eax
mov eax, edi
test ebx, ebx
js 0x44385b
test esi, esi
je 0x4437f0
mov ecx, dword [eax + 4]
mov dword [esi], ecx
cmp dword [esp + 0x40], 0
je 0x44385b
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x443852
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
mov ecx, dword [eax + 8]
cmp edx, ecx
jb 0x44380e
mov edx, ecx
lea ebp, [eax + 0xc]
mov ecx, edx
shr ecx, 2
mov edi, esi
xchg esi, ebp
rep movsd dword es:[edi], dword [esi]
xchg esi, ebp
mov ecx, edx
and ecx, 0xfffffffc
add esi, ecx
lea ebp, [eax + ecx]
add ebp, 0xc
mov ecx, edx
shr ecx, 1
and ecx, 1
mov dword [esp + 8], ebp
mov edi, esi
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
test dl, 1
je 0x443852
and edx, 2
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + edx]
mov byte [esi + edx], cl
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x40]
mov dword [edx], ecx
push eax
call fcn.0043d1b0
add esp, 4
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret