Function at 0x43aa90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, ecx
mov eax, dword [ecx + 4]
test eax, eax
je 0x43aab2
cmp eax, 2
je 0x43ab2b
jmp 0x43ac6e
push 0xbbf966b4
push dword [0x44cf84]
call fcn.00440270
add esp, 8
test eax, eax
je 0x43aaef
mov ecx, dword [esi]
test ecx, ecx
je 0x43ab1f
mov dword [esp], 0
mov edx, esp
push edx
push ecx
call eax
test eax, eax
je 0x43aafb
cmp dword [esp], 0
je 0x43aafb
mov dword [esi + 4], 3
jmp 0x43ab1f
mov dword [esi + 4], 1
jmp 0x43ac6e
lea eax, [esp + 0x40]
push eax
call fcn.00440a80
add esp, 4
test al, al
je 0x43ab1f
mov eax, dword [esp + 0x40]
mov ecx, 2
cmp eax, 3
je 0x43ab1c
mov ecx, eax
mov dword [esi + 4], ecx
mov eax, dword [esi + 4]
cmp eax, 2
jne 0x43ac6e
mov dword [esp], 0x3adf3dda
mov dword [esp + 4], 0x290b3b29
mov dword [esp + 8], 0x32323739
mov dword [esp + 0xc], 0x3ec73925
mov dword [esp + 0x10], 0x16282a25
mov byte [esp + 0x14], 0x9c
mov word [esp + 0x15], 0
mov byte [esp + 0x17], 0
mov eax, 0x22
mov ecx, 0xc59cb6dd
nop
nop
nop
movzx edi, byte [esp + eax - 0x22]
lea ebx, [ecx + 0x3a634940]
and ebx, 0x14
mov edx, eax
and edx, 0x6b
or edx, ebx
mov ebx, ecx
or ebx, edi
xor edx, 0xeb
and edx, edi
lea edi, [ebx + ebx]
not edi
add edi, ebx
or edi, edx
mov edx, edi
mov ebx, edi
and ebx, 0x55
xor edi, 0x54
lea ebx, [edi + ebx*2]
not edx
and edx, 1
or ebx, 1
add ebx, edx
mov byte [esp + eax - 0x22], bl
inc eax
dec ecx
cmp eax, 0x3a
jne 0x43ab70
mov edi, esp
lea eax, [esp + 0x70]
push edi
push eax
call fcn.0043f180
add esp, 8
mov eax, dword [esi]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0x30
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
lea eax, [esp + 0x40]
push 6
push eax
push dword [esp + 0x7c]
push dword [esp + 0x7c]
call fcn.0043f250
mov ecx, dword [esp]
mov edx, dword [esp + 4]
mov esi, dword [ebp + 0x10]
mov dword [esi + 4], edx
mov dword [esi], ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov esi, dword [ebp + 0x14]
mov dword [esi], edx
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0x18]
mov dword [edx], ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 0x1c]
mov dword [edx], ecx
jmp 0x43ad20
mov dword [esp + 0x40], 0x9796997c
mov dword [esp + 0x44], 0
xor eax, eax
mov ecx, eax
add cl, 0x66
xor cl, byte [esp + eax + 0x40]
add cl, 2
mov byte [esp + eax + 0x40], cl
inc eax
cmp eax, 8
jne 0x43ac80
mov ebx, dword [esp + 0x40]
mov edi, dword [esi]
mov dword [esp], 0xc0c7c6c5
mov dword [esp + 4], 0
xor eax, eax
nop
nop
nop
movzx ecx, byte [esp + eax]
lea edx, [eax + 0x51]
and edx, ecx
add ecx, eax
add ecx, 0x51
add edx, edx
sub ecx, edx
add cl, 0x6b
mov byte [esp + eax], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 8
jb 0x43acb0
mov eax, dword [esp]
mov ecx, dword [0x44cf90]
test ecx, ecx
je 0x43acfe
xor edx, edx
mov esi, dword [0x44cf94]
nop
nop
nop
cmp dword [esi + edx*8], 0xba50defc
je 0x43ad2a
inc edx
cmp ecx, edx
jne 0x43acf0
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
mov dword [edx + 4], 0
mov ecx, dword [ebp + 0x14]
mov dword [ecx], ebx
mov dword [ecx + 4], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], edi
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], edi
mov edx, dword [esi + edx*8 + 4]
cmp edx, eax
je 0x43acfe
mov eax, esp
push 0
push dword [esp + 0x3c]
push eax
push 0
push dword [ebp + 8]
push dword [esp + 0x50]
push 6
push edx
push dword [0x44cf98]
call fcn.0043d020
add esp, 0x24
mov ecx, dword [esp]
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
jmp 0x43acfe