Function at 0x43e280
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov dword [esp + 0x10], 0x62656467
mov dword [esp + 0x14], 0
mov dword [esp + 0x17], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xa
ja 0x43e307
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax + ecx]
add eax, 0x11
and eax, ecx
add eax, eax
sub edx, eax
add edx, 0xeb249111
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xc]
add al, 0x89
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
mov eax, dword [esp]
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
mov dword [esp], eax
mov eax, dword [esp]
cmp eax, 0xb
jb 0x43e2c0
mov esi, dword [esp + 0x10]
mov eax, dword [0x449a0c]
test eax, eax
je 0x43e35c
xor ecx, ecx
mov edx, dword [0x449a10]
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x2286b4e
je 0x43e330
inc ecx
cmp eax, ecx
jne 0x43e320
jmp 0x43e35c
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x43e35c
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x449a14]
push eax
call fcn.0043a960
add esp, 0x24
mov esi, eax
cmp esi, 0xc0000023
jne 0x43e5c3
push dword [esp + 8]
call fcn.00438de0
add esp, 4
mov ebx, eax
mov eax, dword [esp + 8]
mov dword [esp + 0x10], 0x62656467
mov dword [esp + 0x14], 0
mov dword [esp + 0x17], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0xa
ja 0x43e3f8
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x10]
lea esi, [ecx + edx]
add ecx, 0x11
and ecx, edx
add ecx, ecx
sub esi, ecx
add esi, 0xeb249111
mov dword [esp + 0xc], esi
mov ecx, dword [esp + 0xc]
add cl, 0x89
mov edx, dword [esp]
mov byte [esp + edx + 0x10], cl
mov ecx, dword [esp]
mov edx, ecx
and edx, 1
xor ecx, 1
lea ecx, [ecx + edx*2]
mov dword [esp], ecx
mov ecx, dword [esp]
cmp ecx, 0xb
jb 0x43e3b0
mov esi, dword [esp + 0x10]
mov ecx, dword [0x449a0c]
test ecx, ecx
je 0x43e44e
mov edi, esi
xor edx, edx
mov esi, dword [0x449a10]
cmp dword [esi + edx*8], 0x2286b4e
je 0x43e422
inc edx
cmp ecx, edx
jne 0x43e410
mov esi, edi
jmp 0x43e44e
mov ecx, dword [esi + edx*8 + 4]
mov esi, edi
cmp ecx, edi
je 0x43e44e
lea edx, [esp + 8]
push edx
push eax
push ebx
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x449a14]
push ecx
call fcn.0043a960
add esp, 0x24
mov esi, eax
test esi, esi
js 0x43e5ba
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x14]
test edi, edi
mov dword [esp + 0x24], esi
je 0x43e53c
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x43e535
mov eax, dword [ebx + 0x10]
shr eax, 1
mov edi, dword [edi]
cmp edi, eax
jb 0x43e480
mov edi, eax
test edi, edi
je 0x43e529
mov dword [esp + 4], ebx
mov esi, ebx
add esi, 0x14
mov eax, edi
and eax, 3
mov dword [esp + 0x28], edi
je 0x43e4b8
nop
nop
nop
nop
dec edi
movzx ecx, word [esi]
xor ebx, ebx
test cx, cx
setne bl
lea esi, [esi + ebx*2]
mov word [edx], cx
add edx, 2
dec eax
jne 0x43e4a0
cmp dword [esp + 0x28], 4
mov ebx, dword [esp + 4]
mov ecx, dword [ebp + 0x18]
jb 0x43e529
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, word [esi]
xor ecx, ecx
test ax, ax
setne cl
mov word [edx], ax
lea eax, [esi + ecx*2]
movzx ecx, word [esi + ecx*2]
xor ebx, ebx
test cx, cx
setne bl
mov word [edx + 2], cx
lea ecx, [eax + ebx*2]
movzx eax, word [eax + ebx*2]
xor ebx, ebx
test ax, ax
setne bl
mov word [edx + 4], ax
lea eax, [ecx + ebx*2]
movzx ecx, word [ecx + ebx*2]
xor ebx, ebx
test cx, cx
setne bl
lea esi, [eax + ebx*2]
mov word [edx + 6], cx
add edx, 8
add edi, 0xfffffffc
jne 0x43e4d0
mov ebx, dword [esp + 4]
mov ecx, dword [ebp + 0x18]
mov word [edx], 0
mov esi, dword [esp + 0x24]
mov edi, dword [ebp + 0x14]
mov eax, dword [ebx + 0x10]
shr eax, 1
mov dword [edi], eax
mov edi, dword [ebp + 0x20]
test ecx, ecx
je 0x43e548
mov eax, dword [ebx + 4]
mov dword [ecx], eax
test edi, edi
je 0x43e5ba
cmp dword [ebp + 0x1c], 0
je 0x43e5b1
mov eax, dword [edi]
mov ecx, dword [ebx + 0xc]
cmp eax, ecx
jb 0x43e55d
mov eax, ecx
mov edx, dword [ebx + 8]
add edx, ebx
mov ecx, eax
shr ecx, 2
mov esi, eax
and esi, 0xfffffffc
add esi, edx
mov edi, dword [ebp + 0x1c]
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov ecx, eax
xor ecx, 3
mov edx, eax
or edx, 0xfffffffc
and edx, ecx
add edx, dword [ebp + 0x1c]
mov ecx, eax
shr ecx, 1
and ecx, 1
mov dword [esp + 4], ebx
mov ebx, esi
mov edi, edx
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
mov ebx, dword [esp + 4]
test al, 1
mov edi, dword [ebp + 0x20]
je 0x43e5b1
and eax, 2
movzx ecx, byte [esi + eax]
mov byte [edx + eax], cl
mov eax, dword [ebx + 0xc]
mov dword [edi], eax
mov esi, dword [esp + 0x24]
push ebx
call fcn.00438ea0
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret