Function at 0x43df50
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 + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xa
ja 0x43dfdd
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
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 + 4]
mov byte [esp + ecx + 0x10], al
mov eax, dword [esp + 4]
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
cmp eax, 0xb
jb 0x43df90
mov esi, dword [esp + 0x10]
mov eax, dword [0x449a0c]
test eax, eax
je 0x43e039
xor ecx, ecx
mov edx, dword [0x449a10]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xc58dd7f7
je 0x43e010
inc ecx
cmp eax, ecx
jne 0x43e000
jmp 0x43e039
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x43e039
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 2
push dword [ebp + 8]
push 5
push dword [0x449a14]
push eax
call fcn.0043a960
add esp, 0x20
mov esi, eax
cmp esi, 0xc0000023
jne 0x43e270
push dword [esp + 8]
call fcn.00438de0
add esp, 4
mov edi, eax
mov eax, dword [esp + 8]
mov dword [esp + 0x10], 0x62656467
mov dword [esp + 0x14], 0
mov dword [esp + 0x17], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0xa
ja 0x43e0ce
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
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 + 4]
mov byte [esp + edx + 0x10], cl
mov ecx, dword [esp + 4]
mov edx, ecx
and edx, 1
xor ecx, 1
lea ecx, [ecx + edx*2]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 4]
cmp ecx, 0xb
jb 0x43e080
mov esi, dword [esp + 0x10]
mov ecx, dword [0x449a0c]
test ecx, ecx
je 0x43e12b
mov ebx, esi
xor edx, edx
mov esi, dword [0x449a10]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xc58dd7f7
je 0x43e102
inc edx
cmp ecx, edx
jne 0x43e0f0
mov esi, ebx
jmp 0x43e12b
mov ecx, dword [esi + edx*8 + 4]
mov esi, ebx
cmp ecx, ebx
je 0x43e12b
lea edx, [esp + 8]
push edx
push eax
push edi
push 2
push dword [ebp + 8]
push 5
push dword [0x449a14]
push ecx
call fcn.0043a960
add esp, 0x20
mov esi, eax
test esi, esi
js 0x43e267
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x43e21c
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x43e215
mov dword [esp + 0x20], edi
mov edi, dword [edi + 0x10]
shr edi, 1
mov eax, dword [ecx]
cmp eax, edi
jb 0x43e15d
mov eax, edi
test eax, eax
mov dword [esp + 0x28], esi
je 0x43e208
mov esi, dword [esp + 0x20]
add esi, 0x2c
mov edi, eax
and eax, 3
mov dword [esp + 0x24], edi
je 0x43e198
nop
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 0x43e180
cmp dword [esp + 0x24], 4
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
jb 0x43e208
nop
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 0x43e1b0
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov word [edx], 0
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
mov eax, dword [edi + 0x10]
shr eax, 1
mov dword [ecx], eax
mov ecx, dword [ebp + 0x18]
test ebx, ebx
je 0x43e228
mov eax, dword [edi + 0x14]
mov dword [ebx], eax
mov eax, dword [ebp + 0x1c]
test ecx, ecx
je 0x43e236
mov edx, dword [edi + 0x18]
shr edx, 1
mov dword [ecx], edx
mov ecx, dword [ebp + 0x20]
test eax, eax
je 0x43e244
mov edx, dword [edi + 0x1c]
shr edx, 1
mov dword [eax], edx
mov eax, dword [ebp + 0x24]
test ecx, ecx
je 0x43e250
mov edx, dword [edi + 0x20]
mov dword [ecx], edx
mov ecx, dword [ebp + 0x28]
test eax, eax
je 0x43e25e
mov edx, dword [edi + 0x24]
shr edx, 1
mov dword [eax], edx
test ecx, ecx
je 0x43e267
mov eax, dword [edi + 0x28]
mov dword [ecx], eax
push edi
call fcn.00438ea0
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret