Function at 0x43ced1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
mov dword [ebp - 0xc], ecx
movzx eax, word [ebx + 0x2e]
mov edx, dword [ebx + 0x40]
add edx, eax
mov dword [ebp - 0x10], edi
movzx eax, word [ebx + 0x2c]
add edx, eax
lea eax, [edi + 0x14c]
push 0
pop esi
mov dword [ebp - 0x14], eax
mov dword [eax], esi
lea eax, [edi + 0x144]
mov dword [ebp + 8], esi
mov dword [ebp - 4], eax
mov dword [eax], esi
mov dword [edi + 0x148], edx
je 0x43d14f
shl edx, 3
call fcn.004154f3
mov edi, dword [ebp - 0x14]
mov dword [edi], eax
test eax, eax
jne 0x43cf35
or eax, 0xffffffff
jmp 0x43d151
mov edx, dword [ebp + 0xc]
test edx, edx
js 0x43cf94
movzx eax, word [ebx + 0x2c]
add eax, edx
imul edi, eax, 0x14
add edi, dword [ebx + 0x24]
cmp dword [edi + 4], esi
jle 0x43cf70
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 4]
push edx
push edi
mov ecx, dword [eax]
lea eax, [ecx + 1]
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
lea edx, [eax + ecx*8]
mov ecx, dword [ebp - 0xc]
call fcn.0043ce7a
pop ecx
pop ecx
xor esi, esi
mov edx, dword [edi + 8]
test edx, edx
jns 0x43cf3c
mov eax, dword [ebp - 0x10]
lea ecx, [ebx + 0x2c]
mov dword [ebp - 8], ecx
lea edi, [eax + 0x144]
mov dword [ebp - 0x1c], edi
lea edi, [eax + 0x14c]
mov eax, dword [ebp - 4]
jmp 0x43cfa4
lea eax, [ebx + 0x2c]
xor esi, esi
mov ecx, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edi
cmp edx, 0xfffffffe
je 0x43d06c
xor edx, edx
mov dword [ebp - 0x18], esi
cmp dx, word [ebx + 0x2c]
jae 0x43d00d
mov dword [ebp - 0x1c], esi
mov edi, dword [eax]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov esi, dword [eax]
lea eax, [edi + 1]
mov dword [ecx], eax
mov edx, dword [ebx + 0x24]
add edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov byte [esi + edi*8], 3
mov word [esi + edi*8 + 2], ax
mov edx, dword [edx]
call fcn.0041642d
mov ecx, dword [ebp - 0x18]
add dword [ebp - 0x1c], 0x14
inc ecx
mov dword [esi + edi*8 + 4], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], ecx
movzx eax, word [eax]
cmp ecx, eax
mov eax, dword [ebp - 4]
jl 0x43cfbe
lea ecx, [ebx + 0x2c]
xor esi, esi
mov dword [ebp - 8], ecx
xor eax, eax
mov edi, esi
cmp ax, word [ebx + 0x2e]
jae 0x43d0c0
movzx eax, word [ecx]
add eax, edi
imul edx, eax, 0x14
add edx, dword [ebx + 0x24]
cmp dword [edx + 4], esi
jne 0x43d061
cmp dword [edx], 0x59
je 0x43d061
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
push edi
push edx
mov ecx, dword [eax + 0x144]
lea eax, [ecx + 1]
mov dword [esi + 0x144], eax
mov eax, esi
mov eax, dword [eax + 0x14c]
lea edx, [eax + ecx*8]
mov ecx, dword [ebp - 0xc]
call fcn.0043ce7a
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
xor esi, esi
movzx eax, word [ebx + 0x2e]
inc edi
cmp edi, eax
jl 0x43d01b
jmp 0x43d0c0
xor eax, eax
mov edi, esi
cmp ax, word [ebx + 0x2e]
jae 0x43d0c0
movzx eax, word [ecx]
add eax, edi
imul edx, eax, 0x14
add edx, dword [ebx + 0x24]
cmp dword [edx + 4], esi
jne 0x43d0b7
mov ecx, edx
call fcn.0043ca8e
test eax, eax
je 0x43d0b4
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x1c]
push edi
push edx
mov ecx, dword [eax]
lea eax, [ecx + 1]
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
lea edx, [eax + ecx*8]
mov ecx, dword [ebp - 0xc]
call fcn.0043ce7a
pop ecx
pop ecx
xor esi, esi
mov ecx, dword [ebp - 8]
movzx eax, word [ebx + 0x2e]
inc edi
cmp edi, eax
jl 0x43d076
cmp dword [ebx + 0x40], esi
jle 0x43d14f
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x28]
mov edi, dword [ecx + 0x144]
mov esi, dword [ecx + 0x14c]
lea eax, [edi + 1]
mov dword [ecx + 0x144], eax
mov al, byte [esi + edi*8]
mov ecx, dword [ebp + 8]
and al, 0xfe
mov byte [esi + edi*8], al
mov cl, byte [edx + ecx*8]
xor cl, al
and cl, 2
xor cl, al
mov eax, dword [ebp + 8]
mov byte [esi + edi*8], cl
mov al, byte [edx + eax*8]
xor al, cl
and al, 4
xor al, cl
mov ecx, dword [ebp + 8]
mov byte [esi + edi*8], al
mov cl, byte [edx + ecx*8]
xor cl, al
and cl, 8
xor cl, al
mov eax, dword [ebp + 8]
mov byte [esi + edi*8], cl
xor cl, byte [edx + eax*8]
and cl, 0xf
xor cl, byte [edx + eax*8]
mov byte [esi + edi*8], cl
mov ecx, dword [ebp - 0xc]
mov word [esi + edi*8 + 2], ax
mov edx, dword [edx + eax*8 + 4]
call fcn.0041642d
mov dword [esi + edi*8 + 4], eax
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
cmp eax, dword [ebx + 0x40]
jl 0x43d0c9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret