Function at 0x43ed10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ebe4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [0x4b4ffc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp + 8], 0
push edi
test eax, eax
je 0x43eeb6
cmp eax, 6
ja 0x43ed5f
jb 0x43eeb6
cmp dword [0x4b5000], 2
ja 0x43ed5f
jb 0x43eeb6
cmp dword [esi + 0x14], 8
jb 0x43ed67
mov esi, dword [esi]
call fcn.0042cc00
movaps xmm0, xmmword [0x4a8ae0]
mov ebx, eax
movups xmmword [ebp - 0x36], xmm0
mov dword [ebp - 0x26], 0x484f5452
xor ecx, ecx
mov word [ebp - 0x22], 0x41
mov al, byte [ebp - 0x36]
xor byte [ebp + ecx - 0x35], al
inc ecx
cmp ecx, 0x14
jb 0x43ed88
push 0xc
mov byte [ebp - 0x21], 0
call fcn.0046ad4e
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
mov edx, 0x15
mov ecx, dword [0x4b4f24]
mov dword [edi], 0
mov byte [edi + 8], 1
mov dword [edi + 4], 0x15
call fcn.00424500
mov dword [edi], eax
test eax, eax
je 0x43ede6
push dword [edi + 4]
lea ecx, [ebp - 0x35]
push ecx
push eax
call fcn.0046c880
add esp, 0xc
push edi
mov ecx, ebx
mov dword [ebp - 4], 0xffffffff
call fcn.00433fa0
test eax, eax
je 0x43ee00
push esi
lea ecx, [ebp - 0x20]
push ecx
call eax
call fcn.0042cc00
movaps xmm0, xmmword [0x4a8620]
mov edi, eax
movups xmmword [ebp - 0x36], xmm0
mov dword [ebp - 0x26], 0xa0d1610
xor ecx, ecx
mov word [ebp - 0x22], 3
mov al, byte [ebp - 0x36]
xor byte [ebp + ecx - 0x35], al
inc ecx
cmp ecx, 0x14
jb 0x43ee21
push 0xc
mov byte [ebp - 0x21], 0
call fcn.0046ad4e
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 1
mov edx, 0x15
mov ecx, dword [0x4b4f24]
mov dword [esi], 0
mov byte [esi + 8], 1
mov dword [esi + 4], 0x15
call fcn.00424500
mov dword [esi], eax
test eax, eax
je 0x43ee7f
push dword [esi + 4]
lea ecx, [ebp - 0x35]
push ecx
push eax
call fcn.0046c880
add esp, 0xc
push esi
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call fcn.00433fa0
test eax, eax
je 0x43eea0
lea ecx, [ebp + 8]
push ecx
push 0
push 1
lea ecx, [ebp - 0x20]
push ecx
call eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x43eec4
mov ecx, dword [esi]
mov edx, ecx
jmp 0x43eec6
mov edx, esi
mov eax, dword [esi + 0x10]
mov edi, ecx
lea eax, [edx + eax*2]
mov dword [ebp - 0x14], eax
cmp ecx, eax
je 0x43efd4
mov eax, dword fs:[0x2c]
mov ebx, dword [eax]
mov eax, dword [0x4b4fe8]
cmp eax, dword [ebx + 4]
jg 0x43efe9
movaps xmm0, xmmword [0x4a8b10]
xor ecx, ecx
movups xmmword [ebp - 0x36], xmm0
mov dword [ebp - 0x26], 0x737a5177
mov word [ebp - 0x22], 0x60
nop dword [eax]
mov al, byte [ebp - 0x36]
xor byte [ebp + ecx - 0x35], al
inc ecx
cmp ecx, 0x14
jb 0x43ef10
push 0xc
mov byte [ebp - 0x21], 0
call fcn.0046ad4e
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 5
mov edx, 0x15
mov ecx, dword [0x4b4f24]
mov dword [esi], 0
mov byte [esi + 8], 1
mov dword [esi + 4], 0x15
call fcn.00424500
mov dword [esi], eax
test eax, eax
je 0x43ef6e
push dword [esi + 4]
lea ecx, [ebp - 0x35]
push ecx
push eax
call fcn.0046c880
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
xor ecx, ecx
mov al, byte [ebp - 0x36]
xor byte [ebp + ecx - 0x35], al
inc ecx
cmp ecx, 0x14
jb 0x43ef77
push esi
mov ecx, 0x4b4fb0
call fcn.00433fa0
mov ecx, eax
test ecx, ecx
je 0x43efa0
movzx eax, word [edi]
push eax
call ecx
movzx eax, ax
jmp 0x43efa2
xor eax, eax
mov ecx, dword [ebp + 8]
add edi, 2
movzx eax, ax
imul eax, eax, 0x1003f
add ecx, eax
mov dword [ebp + 8], ecx
cmp edi, dword [ebp - 0x14]
jne 0x43eee1
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x4b4fe8
call fcn.0046b2ca
add esp, 4
cmp dword [0x4b4fe8], 0xffffffff
jne 0x43eef2
mov dword [ebp - 4], 2
push 0x24
mov dword [ebp - 0x18], 0x4b4fb0
mov dword [0x4b4fb0], 0
mov dword [0x4b4fb4], 0
mov dword [0x4b4fb8], 0
call fcn.0046ad4e
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [0x4b4fb4], eax
mov dword [0x4b4fbc], 0
mov dword [0x4b4fc0], 0
mov dword [0x4b4fc4], 0
mov byte [ebp - 4], 4
mov ecx, 0x4b4fbc
push eax
push 0x10
mov dword [0x4b4fc8], 7
mov dword [0x4b4fcc], 8
mov dword [0x4b4fb0], 0x3f800000
call fcn.0042bcb0
push 0x4b4fd0
call 0x60fc30
ret