Function at 0x43dbd0
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], 0x82858487
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xf
ja 0x43dc58
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax + 0xc1]
add eax, ecx
and edx, ecx
add edx, edx
sub eax, edx
add eax, 0x2c7950c1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov ecx, eax
xor ecx, 0xb8
and eax, 0x38
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x10
jb 0x43dc10
mov esi, dword [esp + 0x10]
mov eax, dword [0x449d18]
test eax, eax
je 0x43dcac
xor ecx, ecx
mov edx, dword [0x449d1c]
nop
nop
nop
cmp dword [edx + ecx*8], 0x77defcd
je 0x43dc80
inc ecx
cmp eax, ecx
jne 0x43dc70
jmp 0x43dcac
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x43dcac
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x449d20]
push eax
call fcn.0043ab10
add esp, 0x24
mov esi, eax
cmp esi, 0xc0000023
jne 0x43deb2
push dword [esp + 8]
call fcn.00438aa0
add esp, 4
mov edi, eax
mov eax, dword [esp + 8]
mov dword [esp + 0x10], 0x82858487
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0xf
ja 0x43dd49
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x10]
lea esi, [ecx + 0xc1]
add ecx, edx
and esi, edx
add esi, esi
sub ecx, esi
add ecx, 0x2c7950c1
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
mov edx, ecx
xor edx, 0xb8
and ecx, 0x38
lea ecx, [edx + ecx*2]
inc cl
mov edx, dword [esp]
mov byte [esp + edx + 0x10], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x10
jb 0x43dd00
mov ebx, dword [ebp + 0x14]
mov esi, dword [esp + 0x10]
mov ecx, dword [0x449d18]
test ecx, ecx
je 0x43ddb4
mov ebx, esi
xor edx, edx
mov esi, dword [0x449d1c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x77defcd
je 0x43dd85
inc edx
cmp ecx, edx
jne 0x43dd70
mov esi, ebx
mov ebx, dword [ebp + 0x14]
jmp 0x43ddb4
mov ecx, dword [esi + edx*8 + 4]
mov esi, ebx
cmp ecx, ebx
mov ebx, dword [ebp + 0x14]
je 0x43ddb4
lea edx, [esp + 8]
push edx
push eax
push edi
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x449d20]
push ecx
call fcn.0043ab10
add esp, 0x24
mov esi, eax
test ebx, ebx
je 0x43dea9
test esi, esi
js 0x43dea9
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x43dea2
mov ecx, dword [edi + 0xc]
shr ecx, 1
mov edx, dword [ebx]
cmp edx, ecx
jb 0x43dddc
mov edx, ecx
test edx, edx
je 0x43de9d
mov dword [esp + 4], edi
mov ecx, edi
add ecx, 0x10
mov edi, edx
and edi, 3
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edx
je 0x43de33
xor esi, esi
nop
nop
movzx ebx, word [ecx]
xor edx, edx
test bx, bx
setne dl
lea ecx, [ecx + edx*2]
mov word [eax], bx
add eax, 2
inc esi
cmp edi, esi
jne 0x43de00
mov edx, dword [esp + 0x28]
sub edx, esi
mov edi, dword [esp + 4]
mov esi, dword [esp + 0x24]
mov ebx, dword [ebp + 0x14]
cmp dword [esp + 0x28], 4
jae 0x43de40
jmp 0x43de9d
mov edi, dword [esp + 4]
cmp dword [esp + 0x28], 4
jb 0x43de9d
nop
nop
movzx esi, word [ecx]
xor ebx, ebx
test si, si
setne bl
mov word [eax], si
lea esi, [ecx + ebx*2]
movzx ecx, word [ecx + ebx*2]
xor ebx, ebx
test cx, cx
setne bl
mov word [eax + 2], cx
lea ecx, [esi + ebx*2]
movzx esi, word [esi + ebx*2]
xor ebx, ebx
test si, si
setne bl
mov word [eax + 4], si
lea esi, [ecx + ebx*2]
movzx edi, word [ecx + ebx*2]
xor ecx, ecx
test di, di
setne cl
lea ecx, [esi + ecx*2]
mov word [eax + 6], di
add eax, 8
add edx, 0xfffffffc
jne 0x43de40
mov edi, dword [esp + 4]
mov esi, dword [esp + 0x24]
mov ebx, dword [ebp + 0x14]
mov word [eax], 0
mov eax, dword [edi + 0xc]
shr eax, 1
mov dword [ebx], eax
push edi
call fcn.00438bf0
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret