Function at 0x43a860
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 + 0xc], ecx
cmp dword [ecx + 8], 0
je 0x43a940
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x43a940
mov dword [esp + 8], eax
mov esi, dword [ebp + 0xc]
mov dword [esp], 0x7c7d7a7b
mov word [esp + 4], 0
mov byte [esp + 6], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + eax]
lea ecx, [edi + edi]
not ecx
add ecx, edi
mov edx, edi
and edx, 5
mov ebx, ecx
and ebx, 0xfa
or ebx, edx
lea edx, [eax + 0xea]
xor ebx, edi
xor ebx, 0xfa
not edi
or edi, ebx
mov ebx, edi
not ebx
or ebx, edx
add ebx, edi
mov edi, 0xfe
sub edi, ebx
or ecx, edx
and ecx, edi
mov dl, 0x6d
sub dl, cl
mov byte [esp + eax], dl
mov ecx, eax
and ecx, 1
or eax, 0xd8742c21
add eax, ecx
add eax, 0x278bd3e0
cmp eax, 7
jb 0x43a8b0
mov eax, dword [esp]
mov edx, dword [0x44da9c]
test edx, edx
je 0x43a9b9
xor edi, edi
mov ebx, dword [0x44daa0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x2dedf0b8
je 0x43a999
inc edi
cmp edx, edi
jne 0x43a930
jmp 0x43a9b9
mov dword [esp], 0x733231c8
mov word [esp + 4], 0
mov byte [esp + 6], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea ecx, [eax + 0xc]
mov edx, 0xb3
sub edx, eax
and edx, 0x81
and ecx, 0x1e
or ecx, edx
xor cl, byte [esp + eax]
xor cl, 0xc1
add cl, 0x84
mov byte [esp + eax], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 7
jb 0x43a960
mov eax, dword [esp]
jmp 0x43ab02
mov edx, dword [ebx + edi*8 + 4]
cmp edx, eax
je 0x43a9b9
push dword [ebp + 8]
push dword [esp + 0xc]
push 2
push edx
push dword [0x44daa4]
call fcn.0043e1f0
add esp, 0x14
cmp esi, 1
mov ecx, dword [ebp + 0x10]
sbb ecx, 0
jl 0x43aaf1
cmp eax, 0xc000010a
jne 0x43aaf1
mov ebx, esi
and ebx, 0xffffd8f0
mov eax, ebx
xor eax, 0xffffd8f0
mov edi, esi
mov esi, dword [ebp + 0x10]
mov ecx, esi
not ecx
mov edx, edi
and edx, 0x270f
imul ecx, edx
mul edx
mov dword [esp + 8], eax
add edx, ecx
mov ecx, edx
or edi, 0xffffd8f0
mov eax, edi
mul ebx
imul esi, edi
add edx, esi
sub edx, ebx
add eax, dword [esp + 8]
adc edx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
mov dword [esp], 0x7c7d7a7b
mov word [esp + 4], 0
mov byte [esp + 6], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + eax]
lea ebx, [esi + esi]
not ebx
add ebx, esi
mov ecx, esi
and ecx, 5
mov edi, ebx
and edi, 0xfa
or edi, ecx
lea ecx, [eax + 0xea]
xor edi, esi
xor edi, 0xfa
not esi
or esi, edi
mov edi, esi
not edi
or edi, ecx
add edi, esi
mov esi, 0xfe
sub esi, edi
or ebx, ecx
and ebx, esi
mov cl, 0x6d
sub cl, bl
mov byte [esp + eax], cl
mov ecx, eax
and ecx, 1
or eax, 0xd8742c21
add eax, ecx
add eax, 0x278bd3e0
cmp eax, 7
jb 0x43aa40
mov eax, dword [esp]
mov ecx, dword [0x44da9c]
test ecx, ecx
je 0x43aaf1
xor esi, esi
mov edi, dword [0x44daa0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0x4e66b5a3
je 0x43aad0
inc esi
cmp ecx, esi
jne 0x43aac0
jmp 0x43aaf1
mov ecx, dword [edi + esi*8 + 4]
cmp ecx, eax
je 0x43aaf1
lea eax, [esp + 0x10]
push eax
push 0
push edx
push 3
push ecx
push dword [0x44daa4]
call fcn.0043e1f0
add esp, 0x18
test eax, eax
js 0x43ab02
mov ecx, dword [esp + 0xc]
mov esi, eax
call fcn.0043a770
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc