Function at 0x43bb20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov dword [esp + 0x10], ecx
cmp dword [ecx + 8], 0
je 0x43bbe6
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
test ecx, ecx
je 0x43bbe6
mov dword [esp], 0x9c9d9a9b
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 3
ja 0x43bbac
mov edx, dword [esp + 4]
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax]
lea esi, [edx + edx]
and esi, 0x7b3f7e34
mov edi, edx
not edi
or edi, 0x3d9fbf1a
add edi, edx
sub edx, esi
lea edx, [edx + edi*2]
add edx, 0x3d9fbf1c
xor edx, eax
mov dword [esp + 8], edx
mov eax, dword [esp + 8]
add al, 0x7e
mov edx, dword [esp + 4]
mov byte [esp + edx], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 4
jb 0x43bb60
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov eax, dword [esp]
mov edi, dword [0x44e374]
test edi, edi
je 0x43bc67
xor esi, esi
mov edx, dword [0x44e378]
nop
nop
nop
nop
nop
cmp dword [edx + esi*8], 0xc766965c
je 0x43bc47
inc esi
cmp edi, esi
jne 0x43bbd0
mov esi, dword [ebp + 0x10]
jmp 0x43bc67
mov dword [esp + 8], 0xb7f60900
mov word [esp + 0xc], 0
mov byte [esp + 0xe], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x43bc3e
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
add eax, 0xb6f2ee7e
xor eax, ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 0x8a
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x43bc10
mov eax, dword [esp + 8]
jmp 0x43bd92
mov edx, dword [edx + esi*8 + 4]
cmp edx, eax
mov esi, dword [ebp + 0x10]
je 0x43bc67
push dword [ebp + 8]
push ecx
push 2
push dword [0x44e37c]
push edx
call fcn.0043e4b0
add esp, 0x14
cmp ebx, 1
mov ecx, esi
sbb ecx, 0
jl 0x43bd81
cmp eax, 0xc000010a
jne 0x43bd81
mov edi, esi
mov esi, ebx
and esi, 0xffffd8f0
mov eax, esi
xor eax, 0xffffd8f0
mov ecx, edi
not ecx
mov edx, ebx
and edx, 0x270f
imul ecx, edx
mul edx
mov dword [esp + 0x18], eax
add edx, ecx
mov ecx, edx
or ebx, 0xffffd8f0
mov eax, ebx
mul esi
imul edi, ebx
add edx, edi
sub edx, esi
add eax, dword [esp + 0x18]
adc edx, ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov dword [esp + 0x14], 0x9c9d9a9b
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x43bd39
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x14]
lea esi, [ecx + ecx]
and esi, 0x7b3f7e34
mov edi, ecx
not edi
or edi, 0x3d9fbf1a
add edi, ecx
sub ecx, esi
lea ecx, [ecx + edi*2]
add ecx, 0x3d9fbf1c
xor ecx, eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 4]
add al, 0x7e
mov ecx, dword [esp]
mov byte [esp + ecx + 0x14], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x43bcf0
mov eax, dword [esp + 0x14]
mov esi, dword [0x44e374]
test esi, esi
je 0x43bd81
xor edi, edi
mov ecx, dword [0x44e378]
nop
cmp dword [ecx + edi*8], 0x7e28bda7
je 0x43bd60
inc edi
cmp esi, edi
jne 0x43bd50
jmp 0x43bd81
mov ecx, dword [ecx + edi*8 + 4]
cmp ecx, eax
je 0x43bd81
lea eax, [esp + 8]
push eax
push 0
push edx
push 3
push dword [0x44e37c]
push ecx
call fcn.0043e4b0
add esp, 0x18
test eax, eax
js 0x43bd92
mov ecx, dword [esp + 0x10]
mov esi, eax
call fcn.0043ba50
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc