Function at 0x43cec0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, 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 0x43cee0
add ecx, 0xfffffffe
and ecx, 0xfffe
mov word [esp + 0x2c], cx
add ecx, 2
mov word [esp + 0x2e], cx
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0xa050407
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 8
ja 0x43cf63
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x10]
add eax, 0xdc030fd5
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x2d
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 9
jb 0x43cf30
mov ebx, dword [esp + 0x10]
mov eax, dword [0x4489e0]
test eax, eax
je 0x43cfbe
xor ecx, ecx
mov edx, dword [0x4489e4]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x1201837f
je 0x43cf90
inc ecx
cmp eax, ecx
jne 0x43cf80
jmp 0x43cfbe
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x43cfbe
lea ecx, [esp + 0x28]
lea edx, [esp + 0x2c]
push ecx
push 0
push 0
push 2
push edx
push dword [ebp + 8]
push 6
push dword [0x4489e8]
push eax
call fcn.00439450
add esp, 0x24
mov ebx, eax
mov dword [esp + 0x10], 0x7b3839d3
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1b], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xe
ja 0x43d02f
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax + 0xd7]
add eax, ecx
and edx, ecx
add edx, edx
sub eax, edx
add eax, 0xd6f6a2d7
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x1f
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xf
jb 0x43cff0
cmp ebx, dword [esp + 0x10]
jne 0x43d1ad
push dword [esp + 0x28]
call fcn.00437740
add esp, 4
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], 0xa050407
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 8
ja 0x43d0b5
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]
add ecx, 0xdc030fd5
xor ecx, edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
add cl, 0x2d
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 9
jb 0x43d080
mov ebx, dword [esp + 0x10]
mov ecx, dword [0x4489e0]
test ecx, ecx
je 0x43d101
mov dword [esp + 0x24], eax
mov esi, edi
xor edx, edx
mov edi, dword [0x4489e4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x1201837f
je 0x43d1b7
mov eax, edx
and eax, 1
xor edx, 1
lea edx, [edx + eax*2]
cmp edx, ecx
jb 0x43d0e0
mov edi, esi
mov esi, dword [ebp + 0x18]
mov edx, dword [esp + 8]
test ebx, ebx
js 0x43d1a4
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x43d119
mov eax, dword [edx + 4]
mov dword [ecx], eax
test esi, esi
je 0x43d1a4
test edi, edi
je 0x43d19b
mov edx, dword [esi]
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 8]
cmp edx, eax
jb 0x43d134
mov edx, eax
mov dword [esp + 0x38], edx
lea eax, [ecx + 0xc]
mov ecx, edx
shr ecx, 2
mov esi, edi
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, edx
and eax, 0xfffffffc
add esi, eax
mov ecx, dword [esp + 8]
lea edi, [ecx + eax]
add edi, 0xc
mov eax, edx
and eax, 3
mov ecx, eax
shr ecx, 1
mov dword [esp + 0x34], edi
mov dword [esp + 0x24], edi
mov edi, esi
mov edx, dword [esp + 0x24]
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov edx, dword [esp + 0x38]
mov edi, esi
mov ecx, edx
not ecx
or ecx, 0xfffffffe
cmp ecx, 0xffffffff
mov esi, dword [ebp + 0x18]
je 0x43d19b
add eax, ecx
and edx, 2
mov ecx, dword [esp + 0x34]
movzx ecx, byte [ecx + edx]
mov byte [edi + eax + 1], cl
mov edx, dword [esp + 8]
mov eax, dword [edx + 8]
mov dword [esi], eax
push edx
call fcn.00437830
add esp, 4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, ebx
mov edi, esi
mov esi, dword [ebp + 0x18]
mov edx, dword [esp + 8]
je 0x43d105
lea eax, [esp + 0x28]
lea edx, [esp + 0x2c]
push eax
push dword [esp + 0x28]
push dword [esp + 0x10]
push 2
push edx
push dword [ebp + 8]
push 6
push dword [0x4489e8]
push ecx
call fcn.00439450
mov edx, dword [esp + 0x2c]
add esp, 0x24
mov ebx, eax
jmp 0x43d105