Function at 0x442d30
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov edi, dword [esp + 0x34]
mov dword [esp + 4], 0xfcfdfeff
mov byte [esp + 8], 0
xor eax, eax
mov ecx, 0xffffffff
nop
movzx edx, byte [esp + eax + 4]
mov ebx, ecx
xor ebx, eax
and ebx, edx
xor ebx, eax
mov byte [esp + eax + 4], bl
inc eax
dec ecx
cmp eax, 5
jne 0x442d50
mov eax, dword [esp + 4]
mov esi, dword [0x44e804]
test esi, esi
je 0x442dbc
xor ecx, ecx
mov edx, dword [0x44e808]
nop
nop
cmp dword [edx + ecx*8], 0x3602324e
je 0x442d90
inc ecx
cmp esi, ecx
jne 0x442d80
jmp 0x442dbc
mov edx, dword [edx + ecx*8 + 4]
cmp edx, eax
je 0x442dbc
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 1
push dword [esp + 0x40]
push dword [esp + 0x40]
push 6
push edx
push dword [0x44e80c]
call fcn.0043eb30
add esp, 0x24
cmp eax, 0xc0000023
jne 0x442ff1
push dword [esp + 0x14]
call fcn.0043ba50
add esp, 4
mov dword [esp], eax
mov ebp, dword [esp + 0x14]
mov dword [esp + 4], 0xfcfdfeff
mov byte [esp + 8], 0
xor edx, edx
mov esi, 0xffffffff
nop
nop
movzx ebx, byte [esp + edx + 4]
mov ecx, esi
xor ecx, edx
and ecx, ebx
xor ecx, edx
mov byte [esp + edx + 4], cl
inc edx
dec esi
cmp edx, 5
jne 0x442df0
mov ecx, dword [esp + 4]
mov edx, dword [0x44e804]
test edx, edx
je 0x442e41
mov dword [esp + 0x10], ebp
xor esi, esi
mov ebp, dword [0x44e808]
mov ebx, dword [esp]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + esi*8], 0x3602324e
je 0x442e46
inc esi
cmp edx, esi
jne 0x442e30
jmp 0x442e79
mov ebx, dword [esp]
jmp 0x442e79
mov edx, dword [ebp + esi*8 + 4]
cmp edx, ecx
je 0x442e79
lea ecx, [esp + 0x14]
push ecx
push dword [esp + 0x14]
push ebx
push 1
push dword [esp + 0x40]
push dword [esp + 0x40]
push 6
push edx
push dword [0x44e80c]
mov esi, eax
call fcn.0043eb30
add esp, 0x24
mov ecx, eax
mov eax, esi
mov dword [esp + 0x10], ecx
test ecx, ecx
mov ebp, dword [esp + 0x44]
js 0x442fe4
mov esi, dword [esp + 0x38]
test esi, esi
mov edx, dword [esp + 0x3c]
je 0x442f79
test edi, edi
je 0x442f72
mov ebp, dword [ebx + 0x10]
shr ebp, 1
mov ecx, dword [esi]
cmp ecx, ebp
jb 0x442eae
mov ecx, ebp
test ecx, ecx
mov ebp, dword [esp + 0x44]
je 0x442f6d
add eax, 0x14
mov dword [esp + 0xc], ecx
and ecx, 3
je 0x442f04
xor esi, esi
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 0x442ed0
mov ecx, dword [esp + 0xc]
sub ecx, esi
mov ebp, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
cmp dword [esp + 0xc], 4
jae 0x442f10
jmp 0x442f6d
mov ecx, dword [esp + 0xc]
cmp dword [esp + 0xc], 4
jb 0x442f6d
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 0x442f10
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov ebx, dword [esp]
mov word [edi], 0
mov eax, dword [ebx + 0x10]
shr eax, 1
mov dword [esi], eax
test edx, edx
je 0x442f82
mov eax, dword [ebx + 4]
mov dword [edx], eax
test ebp, ebp
je 0x442fe4
cmp dword [esp + 0x40], 0
je 0x442fdb
mov eax, dword [ebp]
mov edx, dword [esp]
mov ecx, dword [edx + 0xc]
cmp eax, ecx
jb 0x442f9c
mov eax, ecx
mov esi, dword [edx + 8]
add esi, edx
mov ecx, eax
shr ecx, 2
mov edx, eax
and edx, 0xfffffffc
mov ebx, dword [esp + 0x40]
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
test al, 1
je 0x442fdb
and eax, 2
movzx ecx, byte [edx + eax]
mov byte [ebx + eax], cl
mov ebx, dword [esp]
mov eax, dword [ebx + 0xc]
mov dword [ebp], eax
push ebx
call fcn.0043bac0
add esp, 4
mov eax, dword [esp + 0x10]
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret