Function at 0x43db10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x20]
sub esp, 0x1c
movzx ecx, byte [eax]
push ebx
lea ebx, [eax + 1]
mov edx, ebx
push esi
push edi
movzx eax, byte [edx]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edx + 2]
shl eax, 0x18
or ecx, eax
movzx eax, byte [edx + 4]
shl eax, 8
cmp dword [ebp + 0x24], 0
je 0x43dd5d
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 8], ecx
movzx ecx, byte [edx + 3]
or ecx, eax
mov dword [ebp + 0x24], ebx
movzx eax, byte [edx + 5]
mov dword [ebp - 4], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [ebp - 4]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp + 0x10]
shl ecx, 0x10
or edx, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
cmp eax, 8
jb 0x43dc4e
mov ebx, dword [ebp - 8]
shr eax, 3
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 1]
movzx edx, byte [esi]
movzx ecx, byte [esi + 4]
push dword [ebp + 0x1c]
shl eax, 8
or edx, eax
movzx eax, byte [esi + 2]
push dword [ebp + 0x18]
shl eax, 0x10
push dword [ebp + 0x14]
or edx, eax
movzx eax, byte [esi + 3]
shl eax, 0x18
or edx, eax
movzx eax, byte [esi + 5]
shl eax, 8
xor edx, ebx
or ecx, eax
mov dword [ebp - 0x1c], edx
movzx eax, byte [esi + 6]
shl eax, 0x10
or ecx, eax
movzx eax, byte [esi + 7]
shl eax, 0x18
add esi, 8
or ecx, eax
lea eax, [ebp - 0x1c]
xor ecx, dword [ebp - 4]
push eax
mov dword [ebp - 0x18], ecx
call fcn.004401f0
mov ebx, dword [ebp - 0x1c]
add esp, 0x10
mov edx, dword [ebp - 0x18]
mov eax, ebx
shr eax, 8
mov byte [edi], bl
mov byte [edi + 1], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 2], al
mov eax, ebx
shr eax, 0x18
mov byte [edi + 3], al
mov eax, edx
shr eax, 8
mov byte [edi + 4], dl
mov byte [edi + 5], al
mov eax, edx
shr eax, 0x10
mov byte [edi + 6], al
mov eax, edx
shr eax, 0x18
mov byte [edi + 7], al
add edi, 8
mov eax, dword [ebp - 0xc]
sub eax, 8
mov dword [ebp - 4], edx
sub dword [ebp - 0x10], 1
mov dword [ebp - 0xc], eax
jne 0x43db94
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 0x24]
test eax, eax
je 0x43dd20
mov ebx, dword [ebp - 0xc]
add esi, eax
dec ebx
xor eax, eax
xor ecx, ecx
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ebx
cmp ebx, 7
ja case.default.0x43dc6b
jmp dword [ebx*4 + 0x43df6c]
movzx ecx, byte [esi - 1]
dec esi
shl ecx, 0x18
movzx eax, byte [esi - 1]
dec esi
shl eax, 0x10
or ecx, eax
movzx eax, byte [esi - 1]
dec esi
shl eax, 8
or ecx, eax
movzx eax, byte [esi - 1]
dec esi
or ecx, eax
movzx eax, byte [esi - 1]
dec esi
shl eax, 0x18
mov dword [ebp - 4], eax
movzx eax, byte [esi - 1]
dec esi
shl eax, 0x10
or dword [ebp - 4], eax
movzx eax, byte [esi - 1]
dec esi
shl eax, 8
or dword [ebp - 4], eax
movzx eax, byte [esi - 1]
or dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push dword [ebp + 0x1c]
xor eax, dword [ebp - 8]
xor ecx, edx
push dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push dword [ebp + 0x14]
mov dword [ebp - 0x18], ecx
push eax
call fcn.004401f0
mov ecx, dword [ebp - 0x1c]
add esp, 0x10
mov edx, dword [ebp - 0x18]
mov eax, ecx
shr eax, 8
mov byte [edi], cl
mov byte [edi + 1], al
mov eax, ecx
mov ebx, dword [ebp + 0x24]
shr eax, 0x10
mov byte [edi + 2], al
mov eax, ecx
shr eax, 0x18
mov byte [edi + 3], al
mov eax, edx
shr eax, 8
mov byte [edi + 4], dl
mov byte [edi + 5], al
mov eax, edx
shr eax, 0x10
mov byte [edi + 6], al
mov eax, edx
shr eax, 0x18
mov byte [edi + 7], al
jmp 0x43dd23
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0x20]
pop edi
pop esi
mov byte [eax], cl
mov eax, ecx
shr eax, 8
mov byte [ebx], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx + 1], al
mov eax, edx
shr ecx, 0x18
mov byte [ebx + 2], cl
mov byte [ebx + 3], dl
shr eax, 8
mov byte [ebx + 4], al
mov eax, edx
shr eax, 0x10
mov byte [ebx + 5], al
shr edx, 0x18
mov byte [ebx + 6], dl
pop ebx
mov esp, ebp
pop ebp
ret
movzx edi, byte [edx + 3]
mov esi, dword [ebp + 0xc]
or edi, eax
movzx eax, byte [edx + 5]
mov dword [ebp + 0x24], ecx
movzx ecx, byte [edx + 6]
shl ecx, 8
or ecx, eax
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 0x10]
shl ecx, 0x10
or edi, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edi
cmp eax, 8
jb 0x43de5e
mov ecx, dword [ebp + 8]
shr eax, 3
mov dword [ebp - 0x10], eax
nop dword [eax]
movzx eax, byte [ecx + 1]
movzx ebx, byte [ecx]
movzx edi, byte [ecx + 4]
push dword [ebp + 0x1c]
shl eax, 8
or ebx, eax
movzx eax, byte [ecx + 2]
push dword [ebp + 0x18]
shl eax, 0x10
push dword [ebp + 0x14]
or ebx, eax
movzx eax, byte [ecx + 3]
shl eax, 0x18
or ebx, eax
movzx eax, byte [ecx + 5]
shl eax, 8
or edi, eax
mov dword [ebp - 0x1c], ebx
movzx eax, byte [ecx + 6]
shl eax, 0x10
or edi, eax
movzx eax, byte [ecx + 7]
shl eax, 0x18
add ecx, 8
or edi, eax
mov dword [ebp - 4], ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], edi
push eax
call fcn.0043da00
mov ecx, dword [ebp - 0x1c]
add esp, 0x10
xor ecx, dword [ebp + 0x24]
mov edx, dword [ebp - 0x18]
mov eax, ecx
xor edx, dword [ebp - 0xc]
sub dword [ebp - 8], 8
mov byte [esi], cl
shr eax, 8
mov byte [esi + 1], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 2], al
mov eax, edx
shr ecx, 0x18
mov byte [esi + 3], cl
mov ecx, dword [ebp - 4]
shr eax, 8
mov byte [esi + 4], dl
mov byte [esi + 5], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 6], al
mov eax, ebx
shr edx, 0x18
mov byte [esi + 7], dl
add esi, 8
sub dword [ebp - 0x10], 1
mov dword [ebp + 0x24], eax
mov dword [ebp - 0xc], edi
jne 0x43dda0
mov ebx, dword [ebp - 0x14]
mov edx, ecx
jmp 0x43de64
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x24]
cmp dword [ebp - 8], 0
je 0x43df2e
movzx eax, byte [edx + 1]
movzx ecx, byte [edx]
push dword [ebp + 0x1c]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 2]
push dword [ebp + 0x18]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edx + 3]
push dword [ebp + 0x14]
shl eax, 0x18
or ecx, eax
movzx eax, byte [edx + 5]
mov dword [ebp - 0x10], ecx
movzx ecx, byte [edx + 4]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 6]
mov dword [ebp - 0xc], ecx
movzx ecx, byte [edx + 7]
mov edx, dword [ebp - 0xc]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp - 0x10]
shl ecx, 0x10
mov dword [ebp - 0x1c], eax
or edx, ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], edx
push eax
mov dword [ebp - 0x18], edx
call fcn.0043da00
mov eax, dword [ebp - 8]
add esp, 0x10
mov ecx, dword [ebp - 0x1c]
add esi, eax
mov edx, dword [ebp - 0x18]
dec eax
xor ecx, dword [ebp + 0x24]
xor edx, edi
cmp eax, 7
ja case.default.0x43deeb
jmp dword [eax*4 + 0x43df8c]
dec esi
mov eax, edx
shr eax, 0x18
mov byte [esi], al
dec esi
mov eax, edx
shr eax, 0x10
mov byte [esi], al
dec esi
mov eax, edx
shr eax, 8
mov byte [esi], al
dec esi
mov byte [esi], dl
dec esi
mov eax, ecx
shr eax, 0x18
mov byte [esi], al
dec esi
mov eax, ecx
shr eax, 0x10
mov byte [esi], al
dec esi
mov eax, ecx
shr eax, 8
mov byte [esi], al
mov byte [esi - 1], cl
mov eax, dword [ebp - 0x10]
mov dword [ebp + 0x24], eax
mov edx, dword [ebp + 0x20]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov byte [edx], al
mov edx, dword [ebp + 0x24]
shr eax, 8
mov byte [ebx], al
mov eax, edx
shr eax, 0x10
mov byte [ebx + 1], al
mov eax, ecx
shr edx, 0x18
mov byte [ebx + 2], dl
mov byte [ebx + 3], cl
shr eax, 8
mov byte [ebx + 4], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx + 5], al
shr ecx, 0x18
mov byte [ebx + 6], cl
pop ebx
mov esp, ebp
pop ebp
ret