Function at 0x43a970
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 0x18], 0
je 0x43a984
mov dword [esp + 0x18], 0x439cd0
jmp 0x43aca0
mov dword [esp + 0x18], 0x439780
jmp 0x43a9a0
mov eax, 0x58
call fcn.004224d0
mov eax, dword [0x45604c]
xor eax, esp
mov dword [esp + 0x54], eax
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x70]
push ebx
mov ebx, dword [esp + 0x60]
push esi
mov esi, dword [esp + 0x68]
push edi
mov edi, dword [esp + 0x70]
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
test edi, edi
je 0x43ac7f
push ebp
cmp ebx, esi
je 0x43aa51
mov ebp, edx
cmp edi, 0x10
jb 0x43aad2
mov eax, edi
shr eax, 4
mov dword [esp + 0x10], eax
push ecx
push esi
push ebx
call dword [esp + 0x30]
mov eax, dword [ebp]
add esp, 0xc
xor dword [esi], eax
sub edi, 0x10
mov eax, dword [ebp + 4]
xor dword [esi + 4], eax
mov eax, dword [ebp + 8]
xor dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov ebp, ebx
xor dword [esi + 0xc], eax
add ebx, 0x10
mov ecx, dword [esp + 0x20]
add esi, 0x10
sub dword [esp + 0x10], 1
jne 0x43aa01
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], ebx
cmp edx, ebp
je 0x43aac6
movups xmm0, xmmword [ebp]
movups xmmword [edx], xmm0
jmp 0x43aac6
cmp edi, 0x10
jb 0x43aad2
mov ebp, edi
shr ebp, 4
nop dword [eax + eax]
push ecx
lea ecx, [esp + 0x58]
push ecx
push ebx
call eax
mov edx, dword [esp + 0x38]
add esp, 0xc
mov ecx, dword [ebx]
sub edi, 0x10
mov eax, dword [edx]
xor eax, dword [esp + 0x54]
mov dword [esi], eax
mov eax, dword [edx + 4]
xor eax, dword [esp + 0x58]
mov dword [edx], ecx
mov ecx, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [edx + 8]
xor eax, dword [esp + 0x5c]
mov dword [edx + 4], ecx
mov ecx, dword [ebx + 8]
mov dword [esi + 8], eax
mov eax, dword [edx + 0xc]
xor eax, dword [esp + 0x60]
mov dword [edx + 8], ecx
mov ecx, dword [ebx + 0xc]
add ebx, 0x10
mov dword [esi + 0xc], eax
add esi, 0x10
mov eax, dword [esp + 0x24]
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x20]
sub ebp, 1
jne 0x43aa60
mov dword [esp + 0x14], ebx
test edi, edi
je 0x43ac7e
mov ecx, dword [esp + 0x20]
lea eax, [edx + 1]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x54]
sub eax, edx
mov dword [esp + 0x40], eax
mov eax, 1
sub eax, edx
mov dword [esp + 0x44], eax
lea eax, [esp + 0x55]
sub eax, edx
mov dword [esp + 0x48], eax
mov eax, 2
sub eax, edx
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x56]
sub eax, edx
mov dword [esp + 0x50], eax
lea eax, [esp + 0x54]
sub eax, ebx
mov dword [esp + 0x10], eax
mov eax, esi
sub eax, edx
mov dword [esp + 0x1c], eax
lea eax, [edx + 2]
mov dword [esp + 0x34], eax
push ecx
lea eax, [esp + 0x58]
push eax
push ebx
call dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov edx, ebx
add eax, dword [esp + 0x40]
add esp, 0xc
xor ebp, ebp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
sub edx, esi
mov dword [esp + 0x30], edx
mov ecx, ebx
mov edx, esi
mov dword [esp + 0x28], ecx
not edx
mov dword [esp + 0x3c], edx
nop dword [eax]
cmp ebp, edi
jae 0x43ac19
mov dl, byte [ecx]
mov ebx, dword [esp + 0x10]
mov cl, byte [ecx + ebx]
xor cl, byte [eax - 1]
mov ebx, dword [esp + 0x18]
mov byte [ebx - 2], cl
mov ecx, dword [esp + 0x3c]
add ecx, ebx
mov byte [eax - 1], dl
cmp ecx, edi
jae 0x43ac18
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
add edx, eax
mov bl, byte [edx + ecx]
mov ecx, dword [esp + 0x40]
mov cl, byte [ecx + eax]
xor cl, byte [eax]
mov byte [edx], cl
mov ecx, dword [esp + 0x44]
add ecx, eax
mov byte [eax], bl
cmp ecx, edi
jae 0x43ac13
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov dl, byte [ebx + ecx]
mov ecx, dword [esp + 0x48]
mov cl, byte [ecx + eax]
xor cl, byte [eax + 1]
mov byte [ebx], cl
mov ecx, dword [esp + 0x4c]
add ecx, eax
mov byte [eax + 1], dl
cmp ecx, edi
jae 0x43ac0e
mov ecx, dword [esp + 0x28]
add ebp, 4
mov dl, byte [ecx + 3]
mov ecx, dword [esp + 0x50]
mov cl, byte [ecx + eax]
xor cl, byte [eax + 2]
mov byte [ebx + 1], cl
add ebx, 4
mov ecx, dword [esp + 0x28]
mov byte [eax + 2], dl
add ecx, 4
add eax, 4
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], ebx
cmp ebp, 0x10
jb 0x43ab60
jmp 0x43ac19
add ebp, 3
jmp 0x43ac19
add ebp, 2
jmp 0x43ac19
inc ebp
cmp edi, 0x10
jbe 0x43ac56
mov ebx, dword [esp + 0x14]
add esi, 0x10
add dword [esp + 0x1c], 0x10
add ebx, 0x10
sub dword [esp + 0x10], 0x10
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], ebx
sub edi, 0x10
jne 0x43ab26
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.00422285
add esp, 0x58
ret
cmp ebp, 0x10
jae 0x43ac7e
mov eax, dword [esp + 0x2c]
mov edx, 0x10
mov ebx, dword [esp + 0x14]
sub ebx, eax
sub edx, ebp
lea ecx, [eax + ebp]
nop
mov al, byte [ebx + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub edx, 1
jne 0x43ac70
pop ebp
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00422285
add esp, 0x58
ret
mov eax, 0x1c
call fcn.004224d0
push ebp
mov ebp, dword [esp + 0x34]
push esi
mov esi, dword [esp + 0x30]
test esi, esi
je 0x43ae5a
push ebx
mov ebx, dword [esp + 0x30]
push edi
cmp esi, 0x10
jb 0x43ad39
mov eax, esi
shr eax, 4
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
nop dword [eax + eax]
sub ebp, dword [esp + 0x10]
mov edi, ebx
sub edi, dword [esp + 0x10]
mov edx, 4
nop
mov ecx, dword [eax + ebp]
lea eax, [eax + 4]
xor ecx, dword [eax - 4]
mov dword [edi + eax - 4], ecx
sub edx, 1
jne 0x43acf0
push dword [esp + 0x3c]
push ebx
push ebx
call dword [esp + 0x50]
mov eax, dword [esp + 0x1c]
mov ebp, ebx
sub esi, 0x10
add eax, 0x10
add esp, 0xc
mov dword [esp + 0x10], eax
add ebx, 0x10
mov ecx, esi
sub dword [esp + 0x38], 1
jne 0x43ace0
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x43ae49
jmp 0x43ad41
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov esi, ebx
mov dword [esp + 0x14], ebp
sub dword [esp + 0x14], eax
lea ecx, [eax + 1]
sub esi, eax
lea edi, [ebx + 2]
mov dword [esp + 0x20], esi
xor edx, edx
mov esi, 1
sub esi, eax
mov dword [esp + 0x24], esi
mov esi, 2
sub esi, eax
mov eax, ebp
sub eax, ebx
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x38]
mov dword [esp + 0x18], eax
mov eax, ebx
not eax
mov dword [esp + 0x1c], eax
cmp edx, esi
jae 0x43adf8
mov al, byte [ecx - 1]
xor al, byte [edx + ebp]
mov byte [edi - 2], al
mov eax, dword [esp + 0x1c]
add eax, edi
cmp eax, esi
jae 0x43adf2
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
mov al, byte [ecx + eax]
xor al, byte [ecx]
mov byte [ecx + esi], al
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x38]
add eax, ecx
cmp eax, esi
jae 0x43aded
mov eax, dword [esp + 0x18]
mov al, byte [eax + edi]
xor al, byte [ecx + 1]
mov byte [edi], al
mov eax, dword [esp + 0x28]
add eax, ecx
cmp eax, esi
jae 0x43ade8
mov al, byte [ecx + 2]
add ecx, 4
xor al, byte [edx + ebp + 3]
add edx, 4
mov byte [edi + 1], al
add edi, 4
cmp edx, 0x10
jb 0x43ad83
jmp 0x43ae18
add edx, 3
jmp 0x43adf3
add edx, 2
jmp 0x43adf3
inc edx
cmp edx, 0x10
jae 0x43ae18
mov esi, dword [esp + 0x18]
lea ecx, [edx + ebx]
mov edi, 0x10
sub edi, edx
mov al, byte [ecx + esi]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub edi, 1
jne 0x43ae06
mov esi, dword [esp + 0x38]
push dword [esp + 0x3c]
push ebx
push ebx
call dword [esp + 0x50]
add esp, 0xc
mov ebp, ebx
cmp esi, 0x10
jbe 0x43ae49
mov eax, dword [esp + 0x10]
sub esi, 0x10
add eax, 0x10
mov dword [esp + 0x38], esi
add ebx, 0x10
mov dword [esp + 0x10], eax
test esi, esi
jne 0x43ad41
mov eax, dword [esp + 0x40]
pop edi
pop ebx
cmp eax, ebp
je 0x43ae5a
movups xmm0, xmmword [ebp]
movups xmmword [eax], xmm0
pop esi
pop ebp
add esp, 0x1c
ret