Function at 0x43dc60
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 0x43dced
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 0x43dca0
mov esi, dword [esp + 0x10]
mov eax, dword [0x449a0c]
test eax, eax
je 0x43dd4c
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], 0x77defcd
je 0x43dd20
inc ecx
cmp eax, ecx
jne 0x43dd10
jmp 0x43dd4c
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x43dd4c
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
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 0x43df42
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 0x43ddee
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
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 0x43dda0
mov ebx, dword [ebp + 0x14]
mov esi, dword [esp + 0x10]
mov ecx, dword [0x449a0c]
test ecx, ecx
je 0x43de54
mov ebx, esi
xor edx, edx
mov esi, dword [0x449a10]
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x77defcd
je 0x43de25
inc edx
cmp ecx, edx
jne 0x43de10
mov esi, ebx
mov ebx, dword [ebp + 0x14]
jmp 0x43de54
mov ecx, dword [esi + edx*8 + 4]
mov esi, ebx
cmp ecx, ebx
mov ebx, dword [ebp + 0x14]
je 0x43de54
lea edx, [esp + 8]
push edx
push eax
push edi
push 0
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 ebx, ebx
je 0x43df39
test esi, esi
js 0x43df39
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x43df32
mov ecx, dword [edi + 0xc]
shr ecx, 1
mov edx, dword [ebx]
cmp edx, ecx
jb 0x43de7c
mov edx, ecx
test edx, edx
mov dword [esp + 0x28], edi
je 0x43df29
mov ecx, edx
mov edx, edi
add edx, 0x10
mov ebx, ecx
and ebx, 3
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ecx
mov edi, ecx
je 0x43deb8
dec edi
movzx esi, word [edx]
xor ecx, ecx
test si, si
setne cl
lea edx, [edx + ecx*2]
mov word [eax], si
add eax, 2
dec ebx
jne 0x43dea0
cmp dword [esp + 0x24], 4
mov esi, dword [esp + 0x20]
mov ebx, dword [ebp + 0x14]
jb 0x43df29
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, word [edx]
xor ebx, ebx
test cx, cx
setne bl
mov word [eax], cx
lea ecx, [edx + ebx*2]
movzx edx, word [edx + ebx*2]
xor ebx, ebx
test dx, dx
setne bl
mov word [eax + 2], dx
lea edx, [ecx + ebx*2]
movzx ecx, word [ecx + ebx*2]
xor ebx, ebx
test cx, cx
setne bl
mov word [eax + 4], cx
lea ecx, [edx + ebx*2]
movzx esi, word [edx + ebx*2]
xor edx, edx
test si, si
setne dl
lea edx, [ecx + edx*2]
mov word [eax + 6], si
add eax, 8
add edi, 0xfffffffc
jne 0x43ded0
mov esi, dword [esp + 0x20]
mov ebx, dword [ebp + 0x14]
mov word [eax], 0
mov edi, dword [esp + 0x28]
mov eax, dword [edi + 0xc]
shr eax, 1
mov dword [ebx], 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