Function at 0x443260
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, dword [esp + 0x30]
mov dword [esp + 4], 0xbcbdbebf
mov word [esp + 8], 0
mov eax, 0xd7bde360
mov ecx, 0x9f
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x28421ca4]
mov esi, ecx
xor esi, eax
and esi, edx
xor esi, eax
add esi, 0xc94a8f1f
mov edx, esi
and edx, 1
xor esi, 1
lea edx, [esi + edx*2]
mov byte [esp + eax + 0x28421ca4], dl
inc eax
dec ecx
cmp eax, 0xd7bde366
jne 0x443290
mov eax, dword [esp + 4]
mov esi, dword [0x44f26c]
test esi, esi
je 0x44331c
xor ecx, ecx
mov edx, dword [0x44f270]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x4f699cd4
je 0x4432f0
inc ecx
cmp esi, ecx
jne 0x4432e0
jmp 0x44331c
mov edx, dword [edx + ecx*8 + 4]
cmp edx, eax
je 0x44331c
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 1
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 0x18
push edx
push dword [0x44f274]
call fcn.0043fac0
add esp, 0x24
cmp eax, 0xc0000023
jne 0x44356f
push dword [esp + 0x10]
call fcn.0043d080
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], 0xbcbdbebf
mov word [esp + 8], 0
mov edx, 0xd7bde360
mov ebx, 0x9f
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + edx + 0x28421ca4]
mov esi, ebx
xor esi, edx
and esi, ecx
xor esi, edx
add esi, 0xc94a8f1f
mov ecx, esi
and ecx, 1
xor esi, 1
lea ecx, [esi + ecx*2]
mov byte [esp + edx + 0x28421ca4], cl
inc edx
dec ebx
cmp edx, 0xd7bde366
jne 0x443360
mov ebp, dword [esp + 4]
mov edx, dword [0x44f26c]
test edx, edx
je 0x4433c0
xor esi, esi
mov ecx, dword [0x44f270]
mov ebx, dword [esp + 0x3c]
nop
nop
nop
nop
cmp dword [ecx + esi*8], 0x4f699cd4
je 0x4433c6
inc esi
cmp edx, esi
jne 0x4433b0
jmp 0x4433fc
mov ebx, dword [esp + 0x3c]
jmp 0x4433fc
mov edx, dword [ecx + esi*8 + 4]
cmp edx, ebp
mov esi, dword [esp]
je 0x4433ff
lea ecx, [esp + 0x10]
push ecx
push dword [esp + 0x10]
push esi
push 1
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 0x18
push edx
push dword [0x44f274]
mov esi, eax
call fcn.0043fac0
add esp, 0x24
mov ebp, eax
mov eax, esi
mov esi, dword [esp]
mov dword [esp + 0xc], ebp
test ebp, ebp
mov ebp, dword [esp + 0x40]
js 0x443562
mov edx, dword [esp + 0x34]
test edx, edx
je 0x4434f9
test edi, edi
je 0x4434f2
mov ecx, dword [esi + 0x10]
shr ecx, 1
mov ebp, dword [edx]
cmp ebp, ecx
jb 0x443430
mov ebp, ecx
test ebp, ebp
je 0x44347c
add eax, 0x14
mov ecx, ebp
and ecx, 3
je 0x443482
mov ebx, ebp
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebp, word [eax]
xor edx, edx
test bp, bp
setne dl
lea eax, [eax + edx*2]
mov word [edi], bp
add edi, 2
inc esi
cmp ecx, esi
jne 0x443450
mov ebp, ebx
mov ecx, ebx
sub ecx, esi
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov esi, dword [esp]
jmp 0x443484
mov ebp, dword [esp + 0x40]
jmp 0x4434ed
mov ecx, ebp
cmp ebp, 4
mov ebp, dword [esp + 0x40]
jb 0x4434ed
nop
nop
nop
movzx edx, word [eax]
xor ebx, ebx
test dx, dx
setne bl
lea esi, [eax + ebx*2]
mov word [edi], dx
movzx eax, word [eax + ebx*2]
xor edx, edx
test ax, ax
setne dl
lea ebx, [esi + edx*2]
mov word [edi + 2], ax
movzx eax, word [esi + edx*2]
xor edx, edx
test ax, ax
setne dl
lea esi, [ebx + edx*2]
mov word [edi + 4], ax
movzx edx, word [ebx + edx*2]
xor eax, eax
test dx, dx
setne al
mov word [edi + 6], dx
add edi, 8
lea eax, [esi + eax*2]
add ecx, 0xfffffffc
jne 0x443490
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov esi, dword [esp]
mov word [edi], 0
mov eax, dword [esi + 0x10]
shr eax, 1
mov dword [edx], eax
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x443506
mov eax, dword [esi + 4]
mov dword [ecx], eax
test ebp, ebp
je 0x443562
test ebx, ebx
je 0x44355c
mov eax, dword [ebp]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jb 0x44351a
mov eax, ecx
mov ecx, dword [esp]
mov esi, dword [ecx + 8]
add esi, dword [esp]
mov ecx, eax
shr ecx, 2
mov edx, eax
and edx, 0xfffffffc
mov edi, ebx
add ebx, edx
add edx, esi
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov ecx, eax
shr ecx, 1
and ecx, 1
mov esi, edx
mov edi, ebx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov esi, dword [esp]
test al, 1
je 0x44355c
and eax, 2
movzx ecx, byte [edx + eax]
mov byte [ebx + eax], cl
mov eax, dword [esi + 0xc]
mov dword [ebp], eax
push esi
call fcn.0043d1b0
add esp, 4
mov eax, dword [esp + 0xc]
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret