Function at 0x43eb50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
cmp byte [0x6f9298], 0
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x2c], esi
jne 0x43eb70
call fcn.00437d80
cmp byte [0x6f929a], 0
je 0x43eb99
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 0
push 0x10
push eax
push ecx
push edx
mov ecx, esi
call fcn.0043f8f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [esi + 0x118]
mov eax, dword [ebp + 8]
mov edx, dword [esi + 4]
mov ebx, dword [esi + 0x1c]
lea ecx, [eax + 4]
mov eax, dword [eax]
xor eax, dword [esi]
mov edi, ecx
xor edx, dword [edi]
mov edi, dword [esi + 8]
xor edi, dword [ecx + 4]
add ecx, 4
mov dword [esp + 0x14], edi
mov edi, dword [esi + 0xc]
xor edi, dword [ecx + 4]
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x18]
add esi, 0x20
cmp byte [0x6f9298], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], ecx
jne 0x43ec00
call fcn.00437d80
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
xor edi, edi
xor ecx, ecx
jmp 0x43ec14
mov edi, dword [esp + 0x24]
and edi, dword [ecx + 0x6f8a80]
add ecx, dword [0x6b0198]
mov dword [esp + 0x24], edi
cmp ecx, 0x800
jb 0x43ec10
mov ecx, edi
and ecx, dword [0x6f9278]
or dword [esp + 0x14], ecx
or eax, ecx
or edx, ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x20]
or ecx, dword [esp + 0x24]
movzx edi, cl
xor ebx, dword [edi*8 + 0x6f8a84]
shr ecx, 8
mov dword [esp + 0x20], ecx
movzx ecx, cl
mov ecx, dword [ecx*8 + 0x6f8a81]
xor dword [esp + 0x10], ecx
movzx ecx, byte [esp + 0x14]
mov ecx, dword [ecx*8 + 0x6f8a84]
xor dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x14]
shr dword [esp + 0x20], 8
movzx edi, byte [esp + 0x20]
shr ecx, 8
mov dword [esp + 0x14], ecx
movzx ecx, cl
mov ecx, dword [ecx*8 + 0x6f8a81]
xor ecx, dword [edi*8 + 0x6f8a82]
mov edi, dword [esp + 0x18]
xor edi, ecx
shr dword [esp + 0x14], 8
movzx ecx, dl
xor edi, dword [ecx*8 + 0x6f8a84]
shr edx, 8
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x20]
shr edi, 8
mov edi, dword [edi*8 + 0x6f8a83]
movzx ecx, dl
xor edi, dword [ecx*8 + 0x6f8a81]
movzx ecx, byte [esp + 0x14]
xor edi, dword [ecx*8 + 0x6f8a82]
mov ecx, dword [esp + 0x1c]
xor ecx, edi
movzx edi, al
xor ecx, dword [edi*8 + 0x6f8a84]
mov edi, dword [esp + 0x14]
shr eax, 8
mov dword [esp + 0x1c], ecx
movzx ecx, al
shr edi, 8
mov edi, dword [edi*8 + 0x6f8a83]
xor edi, dword [ecx*8 + 0x6f8a81]
shr edx, 8
movzx ecx, dl
xor edi, dword [ecx*8 + 0x6f8a82]
shr eax, 8
movzx ecx, al
shr edx, 8
mov edx, dword [edx*8 + 0x6f8a83]
xor edx, dword [ecx*8 + 0x6f8a82]
mov ecx, dword [esp + 0x2c]
xor dword [esp + 0x10], edx
shr eax, 8
mov eax, dword [eax*8 + 0x6f8a83]
xor dword [esp + 0x18], eax
mov eax, dword [ecx + 0xc]
shr eax, 1
xor ebx, edi
dec eax
mov dword [esp + 0x20], eax
movzx edx, bl
mov eax, dword [edx*8 + 0x6f8a83]
shr ebx, 8
movzx ecx, bl
mov edi, dword [ecx*8 + 0x6f8a82]
movzx ecx, byte [esp + 0x10]
xor edi, dword [esi + 4]
shr ebx, 8
xor eax, dword [esi]
movzx edx, bl
shr ebx, 8
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx*8 + 0x6f8a84]
mov ebx, dword [esp + 0x2c]
xor ecx, dword [ebx*8 + 0x6f8a83]
mov ebx, dword [esp + 0x10]
shr ebx, 8
mov dword [esp + 0x10], ebx
movzx ebx, bl
xor eax, dword [ebx*8 + 0x6f8a82]
mov ebx, dword [esp + 0x10]
mov edx, dword [edx*8 + 0x6f8a81]
xor edx, dword [esi + 8]
shr ebx, 8
xor ecx, dword [esi + 0xc]
mov dword [esp + 0x10], ebx
movzx ebx, bl
xor edi, dword [ebx*8 + 0x6f8a81]
movzx ebx, byte [esp + 0x18]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x10]
shr edi, 8
mov edi, dword [edi*8 + 0x6f8a84]
xor edi, dword [ebx*8 + 0x6f8a83]
mov ebx, dword [esp + 0x18]
xor edx, edi
shr ebx, 8
movzx edi, bl
xor ecx, dword [edi*8 + 0x6f8a82]
shr ebx, 8
movzx edi, bl
xor eax, dword [edi*8 + 0x6f8a81]
movzx edi, byte [esp + 0x1c]
shr ebx, 8
mov ebx, dword [ebx*8 + 0x6f8a84]
xor ebx, dword [edi*8 + 0x6f8a83]
xor dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x1c]
shr ebx, 8
movzx edi, bl
xor edx, dword [edi*8 + 0x6f8a82]
shr ebx, 8
movzx edi, bl
xor ecx, dword [edi*8 + 0x6f8a81]
shr ebx, 8
xor eax, dword [ebx*8 + 0x6f8a84]
movzx edi, cl
mov edi, dword [edi*8 + 0x6f8a83]
xor edi, dword [esi + 0x10]
shr ecx, 8
mov dword [esp + 0x1c], edi
movzx edi, cl
mov edi, dword [edi*8 + 0x6f8a82]
xor edi, dword [esi + 0x14]
shr ecx, 8
mov dword [esp + 0x18], edi
movzx ebx, dl
mov edi, ecx
shr edi, 8
mov edi, dword [edi*8 + 0x6f8a84]
xor edi, dword [ebx*8 + 0x6f8a83]
shr edx, 8
xor edi, dword [esi + 0x1c]
mov dword [esp + 0x14], edx
movzx edx, dl
mov edx, dword [edx*8 + 0x6f8a82]
xor dword [esp + 0x1c], edx
mov ebx, edi
mov edi, dword [esp + 0x14]
shr edi, 8
mov dword [esp + 0x14], edi
movzx edx, byte [esp + 0x24]
shr edi, 8
mov edi, dword [edi*8 + 0x6f8a84]
xor edi, dword [edx*8 + 0x6f8a83]
movzx ecx, cl
xor edi, dword [ecx*8 + 0x6f8a81]
mov ecx, dword [esp + 0x24]
xor edi, dword [esi + 0x18]
shr ecx, 8
movzx edx, cl
xor ebx, dword [edx*8 + 0x6f8a82]
shr ecx, 8
mov dword [esp + 0x10], edi
movzx edi, al
mov edx, ecx
shr edx, 8
mov edx, dword [edx*8 + 0x6f8a84]
xor edx, dword [edi*8 + 0x6f8a83]
movzx edi, byte [esp + 0x14]
xor edx, dword [edi*8 + 0x6f8a81]
shr eax, 8
xor dword [esp + 0x18], edx
movzx edx, al
mov edx, dword [edx*8 + 0x6f8a82]
xor dword [esp + 0x10], edx
shr eax, 8
movzx edx, al
xor ebx, dword [edx*8 + 0x6f8a81]
shr eax, 8
mov edx, dword [eax*8 + 0x6f8a84]
movzx ecx, cl
xor edx, dword [ecx*8 + 0x6f8a81]
add esi, 0x20
xor dword [esp + 0x1c], edx
sub dword [esp + 0x20], 1
jne 0x43ed52
mov eax, dword [esp + 0x10]
movzx ecx, al
movzx edx, byte [ecx*8 + 0x6f8a81]
shr eax, 8
movzx ecx, al
shr eax, 8
mov byte [esp + 0x3f], dl
movzx edx, byte [ecx*8 + 0x6f8a81]
movzx ecx, al
shr eax, 8
movzx eax, byte [eax*8 + 0x6f8a81]
mov byte [esp + 0x38], al
mov eax, dword [esp + 0x18]
mov byte [esp + 0x32], dl
movzx edx, byte [ecx*8 + 0x6f8a81]
movzx ecx, al
shr eax, 8
mov byte [esp + 0x35], dl
movzx edx, byte [ecx*8 + 0x6f8a81]
movzx ecx, al
shr eax, 8
mov byte [esp + 0x3b], dl
movzx edx, byte [ecx*8 + 0x6f8a81]
movzx ecx, al
shr eax, 8
movzx eax, byte [eax*8 + 0x6f8a81]
mov byte [esp + 0x34], al
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x3e], dl
movzx edx, byte [ecx*8 + 0x6f8a81]
movzx ecx, al
shr eax, 8
mov byte [esp + 0x31], dl
movzx edx, byte [ecx*8 + 0x6f8a81]
movzx ecx, al
shr eax, 8
mov byte [esp + 0x37], dl
movzx edx, byte [ecx*8 + 0x6f8a81]
movzx ecx, al
shr eax, 8
movzx eax, byte [eax*8 + 0x6f8a81]
mov byte [esp + 0x3a], dl
movzx edx, byte [ecx*8 + 0x6f8a81]
movzx ecx, bl
shr ebx, 8
mov byte [esp + 0x30], al
movzx eax, bl
mov byte [esp + 0x3d], dl
movzx edx, byte [ecx*8 + 0x6f8a81]
movzx ecx, byte [eax*8 + 0x6f8a81]
shr ebx, 8
mov byte [esp + 0x33], dl
movzx edx, bl
movzx eax, byte [edx*8 + 0x6f8a81]
mov byte [esp + 0x36], cl
shr ebx, 8
movzx ecx, byte [ebx*8 + 0x6f8a81]
mov byte [esp + 0x3c], cl
mov ecx, dword [esi]
xor ecx, dword [esp + 0x30]
mov byte [esp + 0x39], al
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x43f076
mov edx, dword [eax]
jmp 0x43f078
xor edx, edx
xor edx, ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], edx
lea edx, [ecx + 4]
test eax, eax
je 0x43f089
add eax, 4
mov edi, dword [esi + 4]
xor edi, dword [esp + 0x34]
test eax, eax
je 0x43f098
mov ecx, dword [eax]
jmp 0x43f09a
xor ecx, ecx
xor ecx, edi
mov dword [edx], ecx
add edx, 4
test eax, eax
je 0x43f0a8
add eax, 4
mov edi, dword [esi + 8]
xor edi, dword [esp + 0x38]
test eax, eax
je 0x43f0b7
mov ecx, dword [eax]
jmp 0x43f0b9
xor ecx, ecx
xor ecx, edi
mov dword [edx], ecx
add edx, 4
test eax, eax
je 0x43f0c7
add eax, 4
mov esi, dword [esi + 0xc]
xor esi, dword [esp + 0x3c]
test eax, eax
je 0x43f0e1
mov eax, dword [eax]
xor eax, esi
mov dword [edx], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
pop edi
xor eax, esi
pop esi
mov dword [edx], eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc