Function at 0x43f1c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x4a100c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x34], edx
mov esi, ecx
mov edx, dword [eax + 0x100]
mov edi, edx
shl edi, 4
add edi, eax
test byte [eax + 0x104], 2
jne 0x43f202
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047179f
mov esp, ebp
pop ebp
ret
movzx eax, byte [esi + 2]
movzx ecx, byte [esi + 7]
shl ecx, 8
push ebx
movzx ebx, byte [esi + 3]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 1]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 6]
or ecx, eax
xor ebx, dword [edi]
movzx eax, byte [esi + 5]
shl ecx, 8
or ecx, eax
mov dword [ebp - 0x24], ebx
movzx eax, byte [esi + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xa]
xor ecx, dword [edi + 4]
mov dword [ebp - 0x20], ecx
movzx ecx, byte [esi + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xe]
xor ecx, dword [edi + 8]
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [esi + 0xf]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xc]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 0x24]
xor ecx, dword [edi + 0xc]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], ecx
lea ecx, [edx - 1]
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x43f3a8
nop dword [eax]
mov ecx, dword [eax + 0xc]
sub edi, 0x10
movzx edx, byte [eax + 0xa]
shr ecx, 8
movzx ecx, cl
mov esi, dword [ecx*4 + 0x481508]
xor esi, dword [edx*4 + 0x481908]
movzx ecx, byte [eax + 7]
xor esi, dword [ecx*4 + 0x481d08]
movzx ecx, bl
xor esi, dword [ecx*4 + 0x481108]
mov ecx, dword [ebp - 0x28]
mov ebx, esi
xor ebx, dword [edi]
mov dword [ecx], ebx
mov ecx, dword [eax]
movzx edx, byte [eax + 0xe]
shr ecx, 8
movzx ecx, cl
mov esi, dword [ecx*4 + 0x481508]
xor esi, dword [edx*4 + 0x481908]
movzx ecx, byte [eax + 0xb]
xor esi, dword [ecx*4 + 0x481d08]
movzx ecx, byte [eax + 4]
xor esi, dword [ecx*4 + 0x481108]
xor esi, dword [edi + 4]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 4], esi
mov ecx, dword [eax + 4]
movzx edx, byte [eax + 0xf]
shr ecx, 8
movzx ecx, cl
mov esi, dword [ecx*4 + 0x481508]
xor esi, dword [edx*4 + 0x481d08]
movzx ecx, byte [eax + 2]
xor esi, dword [ecx*4 + 0x481908]
movzx ecx, byte [eax + 8]
xor esi, dword [ecx*4 + 0x481108]
xor esi, dword [edi + 8]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 8], esi
mov ecx, dword [eax + 8]
movzx edx, byte [eax + 6]
shr ecx, 8
movzx ecx, cl
mov esi, dword [ecx*4 + 0x481508]
movzx ecx, byte [eax + 3]
xor esi, dword [edx*4 + 0x481908]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
xor esi, dword [ecx*4 + 0x481d08]
movzx ecx, byte [eax + 0xc]
mov eax, edx
xor esi, dword [ecx*4 + 0x481108]
xor esi, dword [edi + 0xc]
sub dword [ebp - 0x2c], 1
mov dword [edx + 0xc], esi
jne 0x43f2b0
mov edx, dword [ebp - 0x10]
sub edi, 0x10
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 8]
mov eax, edi
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 0xc]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x480508]
xor ecx, dword [eax*4 + 0x480908]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x480d08]
movzx eax, bl
xor ecx, dword [eax*4 + str.R_tj068_]
mov eax, dword [ebp - 0x28]
xor ecx, dword [eax]
mov eax, ebx
shr eax, 8
mov dword [ebp - 0x30], ecx
movzx ecx, al
mov eax, edi
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x480508]
xor ecx, dword [eax*4 + 0x480908]
mov eax, dword [ebp - 0xc]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x480d08]
movzx eax, dl
xor ecx, dword [eax*4 + str.R_tj068_]
mov eax, dword [ebp - 0x28]
xor ecx, dword [eax + 4]
mov eax, ebx
shr eax, 0x10
mov dword [ebp - 0x38], ecx
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
shr edx, 0x10
mov ecx, dword [ecx*4 + 0x480908]
shr ebx, 0x18
xor ecx, dword [eax*4 + 0x480508]
mov eax, edi
shr eax, 0x18
mov edi, dword [ebp - 0x28]
xor ecx, dword [eax*4 + 0x480d08]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x2c]
movzx eax, cl
shr ecx, 8
movzx ecx, cl
xor esi, dword [eax*4 + str.R_tj068_]
xor esi, dword [edi + 8]
mov ecx, dword [ecx*4 + 0x480508]
movzx eax, dl
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], esi
xor ecx, dword [eax*4 + 0x480908]
mov eax, dword [ebp - 8]
xor ecx, dword [ebx*4 + 0x480d08]
mov ebx, dword [ebp - 0x34]
movzx eax, al
xor ecx, dword [eax*4 + str.R_tj068_]
mov eax, edx
xor ecx, dword [edi + 0xc]
shr eax, 8
mov byte [ebx + 1], al
mov eax, edx
mov byte [ebx], dl
shr eax, 0x10
shr edx, 0x18
mov byte [ebx + 3], dl
mov edx, dword [ebp - 0x38]
mov byte [ebx + 2], al
mov byte [ebx + 4], dl
mov eax, edx
mov byte [ebx + 0xc], cl
shr eax, 8
mov byte [ebx + 5], al
mov eax, edx
shr eax, 0x10
mov byte [ebx + 6], al
shr edx, 0x18
mov byte [ebx + 7], dl
mov edx, esi
mov eax, edx
mov byte [ebx + 8], dl
shr eax, 8
mov byte [ebx + 9], al
mov eax, edx
shr eax, 0x10
mov byte [ebx + 0xa], al
mov eax, ecx
shr eax, 8
mov byte [ebx + 0xd], al
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
shr edx, 0x18
mov byte [ebx + 0xf], cl
mov ecx, dword [ebp - 4]
mov byte [ebx + 0xe], al
xor ecx, ebp
mov byte [ebx + 0xb], dl
mov eax, 1
pop ebx
pop edi
pop esi
call fcn.0047179f
mov esp, ebp
pop ebp
ret