Function at 0x43e5d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov ebx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + ecx], 0
lea ecx, [ecx + 2]
jne 0x43e5f0
add ecx, 0xfffffffe
and ecx, 0xfffe
mov word [esp + 0x20], cx
add ecx, 2
mov word [esp + 0x22], cx
mov dword [esp + 0x24], eax
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 0x43e687
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 0x43e640
mov esi, dword [esp + 0x10]
mov eax, dword [0x449a0c]
test eax, eax
je 0x43e6de
xor ecx, ecx
mov edx, dword [0x449a10]
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x36e97270
je 0x43e6b0
inc ecx
cmp eax, ecx
jne 0x43e6a0
jmp 0x43e6de
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x43e6de
lea ecx, [esp + 8]
lea edx, [esp + 0x20]
push ecx
push 0
push 0
push 2
push edx
push dword [ebp + 8]
push 6
push dword [0x449a14]
push eax
call fcn.0043a960
add esp, 0x24
mov esi, eax
cmp esi, 0xc0000023
jne 0x43e87d
push dword [esp + 8]
call fcn.00438de0
add esp, 4
mov dword [esp + 4], 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 0x43e778
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 0x43e730
mov esi, dword [esp + 0x10]
mov ecx, dword [0x449a0c]
test ecx, ecx
je 0x43e7a9
mov ebx, edi
xor edx, edx
mov edi, dword [0x449a10]
cmp dword [edi + edx*8], 0x36e97270
je 0x43e7af
inc edx
cmp ecx, edx
jne 0x43e790
mov edi, ebx
mov edx, dword [esp + 4]
mov ebx, dword [ebp + 0x18]
jmp 0x43e7eb
mov edx, dword [esp + 4]
jmp 0x43e7eb
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, esi
mov edi, ebx
mov edx, dword [esp + 4]
mov ebx, dword [ebp + 0x18]
je 0x43e7eb
lea edx, [esp + 8]
lea esi, [esp + 0x20]
push edx
push eax
push dword [esp + 0xc]
push 2
push esi
push dword [ebp + 8]
push 6
push dword [0x449a14]
push ecx
call fcn.0043a960
mov edx, dword [esp + 0x28]
add esp, 0x24
mov esi, eax
test esi, esi
js 0x43e874
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x43e7ff
mov eax, dword [edx + 4]
mov dword [ecx], eax
test ebx, ebx
je 0x43e874
test edi, edi
je 0x43e86b
mov edx, dword [ebx]
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 8]
cmp edx, eax
jb 0x43e816
mov edx, eax
lea eax, [ecx + 0xc]
mov ecx, edx
shr ecx, 2
mov ebx, edi
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov ecx, edx
xor ecx, 3
mov eax, edx
or eax, 0xfffffffc
and eax, ecx
add eax, ebx
mov ecx, edx
and ecx, 0xfffffffc
mov edi, dword [esp + 4]
lea ebx, [edi + ecx]
add ebx, 0xc
mov ecx, edx
shr ecx, 1
and ecx, 1
mov dword [esp + 0x28], ebx
mov edi, eax
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
test dl, 1
mov ebx, dword [ebp + 0x18]
je 0x43e86b
and edx, 2
mov ecx, dword [esp + 0x28]
movzx ecx, byte [ecx + edx]
mov byte [eax + edx], cl
mov edx, dword [esp + 4]
mov eax, dword [edx + 8]
mov dword [ebx], eax
push edx
call fcn.00438ea0
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret