Function at 0x43d3a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebp, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
mov dword [eax], 0
mov ebx, dword [ecx + 0x138]
mov edi, dword [ecx + 0x13c]
mov esi, dword [ecx + 0x140]
mov eax, dword [ecx + 0x144]
mov dword [esp], eax
mov eax, ebx
or eax, edi
jne 0x43d3f0
mov eax, esi
and eax, 0xf
je 0x43d3f0
lea edx, [ecx + 0x168]
push edx
call fcn.0043c650
add esp, 4
lea ecx, [ebp - 0x11]
mov eax, 0xffffffec
cmp ecx, 0xfffffff3
jb 0x43d558
shld edi, ebx, 3
shld dword [esp], esi, 3
shl ebx, 3
shl esi, 3
mov eax, dword [esp + 0x24]
test byte [eax + 0x138], 0xf
je 0x43d434
lea edx, [eax + 0x168]
mov ecx, dword [esp + 0x24]
push edx
call fcn.0043c650
mov eax, dword [esp + 0x28]
add esp, 4
add eax, 0x148
push ebp
push eax
push dword [esp + 0x3c]
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, ebx
or ecx, esi
mov edx, edi
or edx, dword [esp]
xor eax, eax
or edx, ecx
je 0x43d558
mov eax, dword [esp]
bswap eax
bswap esi
mov ecx, dword [esp + 0x24]
xor dword [ecx + 0x168], eax
bswap edi
xor dword [ecx + 0x16c], esi
bswap ebx
xor dword [ecx + 0x170], edi
lea edi, [ecx + 0x168]
xor dword [ecx + 0x174], ebx
mov edx, edi
push edi
call fcn.0043c650
add esp, 4
xor edx, edx
mov ecx, ebp
mov esi, dword [esp + 0x34]
nop word [eax + eax]
mov eax, edx
mov edx, dword [edi + edx]
xor dword [esi + eax], edx
lea edx, [eax + 4]
add ecx, 0xfffffffc
add eax, 8
cmp eax, ebp
jbe 0x43d4a0
mov eax, ebp
sub eax, edx
jbe 0x43d556
cmp eax, 8
jb 0x43d4eb
mov dword [esp + 8], eax
lea eax, [esi + edx]
mov ebx, esi
mov esi, dword [esp + 0x24]
add esi, ebp
add esi, 0x168
cmp eax, esi
jae 0x43d560
lea eax, [ebx + ebp]
lea esi, [edi + edx]
cmp esi, eax
jae 0x43d560
mov ecx, edx
mov edx, ebp
sub edx, ecx
mov eax, ecx
not eax
add eax, ebp
mov esi, dword [esp + 0x34]
and edx, 3
je 0x43d50b
movzx ebx, byte [edi + ecx]
xor byte [esi + ecx], bl
inc ecx
dec edx
jne 0x43d500
cmp eax, 3
jb 0x43d556
mov edx, dword [esp + 0x24]
nop word cs:[eax + eax]
movzx eax, byte [edx + ecx + 0x168]
xor byte [esi + ecx], al
movzx eax, byte [edx + ecx + 0x169]
xor byte [esi + ecx + 1], al
movzx eax, byte [edx + ecx + 0x16a]
xor byte [esi + ecx + 2], al
movzx eax, byte [edx + ecx + 0x16b]
xor byte [esi + ecx + 3], al
add ecx, 4
cmp ebp, ecx
jne 0x43d520
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
xor esi, esi
mov eax, 0
mov ebx, dword [esp + 8]
cmp ebx, 0x20
jb 0x43d5db
mov eax, ebx
and eax, 0xffffffe0
mov dword [esp + 4], eax
and ebx, 0xffffffe0
mov dword [esp], ebx
xor ebx, ebx
nop word cs:[eax + eax]
mov eax, dword [esp + 0x34]
add eax, ebx
movups xmm0, xmmword [edx + eax]
movups xmm1, xmmword [edx + eax + 0x10]
lea ebp, [edi + ebx]
movups xmm2, xmmword [edx + ebp]
xorps xmm2, xmm0
movups xmm0, xmmword [edx + ebp + 0x10]
xorps xmm0, xmm1
movups xmmword [edx + eax], xmm2
movups xmmword [edx + eax + 0x10], xmm0
add ebx, 0x20
cmp dword [esp], ebx
jne 0x43d590
xor eax, eax
mov ebx, dword [esp + 8]
cmp ebx, dword [esp + 4]
mov ebp, dword [esp + 0x38]
je 0x43d558
test bl, 0x18
mov eax, dword [esp + 4]
je 0x43d63b
and ebx, 0xfffffff8
and ecx, 0xfffffff8
add ecx, edx
mov dword [esp + 0xc], ebx
sub ebx, eax
mov dword [esp], ebx
mov ebx, eax
add eax, edi
mov dword [esp + 4], eax
add ebx, dword [esp + 0x34]
mov eax, ebx
nop word [eax + eax]
lea ebp, [eax + esi]
movsd xmm0, qword [edx + ebp]
mov ebx, dword [esp + 4]
add ebx, esi
movsd xmm1, qword [edx + ebx]
xorps xmm1, xmm0
movlps qword [edx + ebp], xmm1
add esi, 8
cmp dword [esp], esi
jne 0x43d600
xor eax, eax
mov edx, dword [esp + 0xc]
cmp dword [esp + 8], edx
mov ebp, dword [esp + 0x38]
jne 0x43d4ed
jmp 0x43d558
and ecx, 0xffffffe0
add ecx, edx
jmp 0x43d4ed